24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1308  |  回复: 9
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 zhangfq7112 的 50 个金币

zhangfq7112

银虫 (正式写手)

[交流] 【求助】,Linux Cluster下ADF 2007递交任务的脚本

求Linux Cluster下ADF 2007递交任务的脚本及所涉及的细节,赠金币50!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xujc1983

木虫 (著名写手)

苦逼青椒一枚

★ ★ ★
lei0736(金币+3,VIP+0):谢谢
不是很清楚cluster与多核linux服务器的区别,就说说8核服务器上的吧
假设在/home/用户名/1下有1.run、1.adf;/home/用户名/2下有2.run、2.adf这两个任务,我没有记错的话应该是这样的:
新建一个文件,输入:
/home/用户名/1/1.run >/home/用户名/1/1.out
/home/用户名/2/2.run >/home/用户名/2/2.out
然后保存为123.x,用chmod命令修改权限,使其可执行,然后在terminal里执行123.x就是了
2楼2008-04-01 19:32:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

y1ding

铁杆木虫 (著名写手)

★ ★
lei0736(金币+2,VIP+0):谢谢
引用回帖:
Originally posted by xujc1983 at 2008-4-1 19:32:
不是很清楚cluster与多核linux服务器的区别,就说说8核服务器上的吧
假设在/home/用户名/1下有1.run、1.adf;/home/用户名/2下有2.run、2.adf这两个任务,我没有记错的话应该是这样的:
新建一个文件,输入:
...

cluster下面要用pbs的,不能像你这样多核linux服务器的方式提交。
具体的脚本涉及cluster的系统和pbs的配置,lz应该咨询cluster的管理员
3楼2008-04-01 19:53:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

y1ding

铁杆木虫 (著名写手)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
lei0736(金币+2,VIP+0):真有心 谢谢
lei0736(金币+10,VIP+0):转移
ADF 2007.01

The Amsterdam Density Functional (ADF) package is software for first-principles electronic structure calculations. ADF is used by academic and industrial researchers worldwide in such diverse fields as pharmaco-chemistry and materials science. It is currently particularly popular in the research areas of:

.       Homogeneous and heterogeneous catalysis

.       Inorganic chemistry

.       Heavy element chemistry

.       Various types of spectroscopy

.       Biochemistry

For further details please check the official website for the software, www.scm.com.

ADF Availability@SERC:
SERC has recently upgraded ADF software from version 2005.01 to 2007.01. The software is installed on SGI-Altix3700 (hostname: altix) and five SUN AMD Opteron based machines (hostnames: sunlx1_3 to sunlx1_7). The software is node-locked to these machines and hence the user can use the software only on these machines.

Modules of ADF on SUN machines:

ADF version  2007.99

BAND version  2007.99

ADFGUI version 2007.99

BANDGUI version 2007.99

GUI version 2007.99

Utils version  2007.99

ADF on these machines can be used to generate the ADF input files using appropriate GUIs. ADF jobs that need to use only a single processor can be submitted on the machines using PBSPro software.

Module of ADF on SGI-Altix machine:

ADF version  2007.99

BAND version  2007.99

Utils version  2007.99

SGI-Altix only supports compute modules of ADF. Users can submit parallel ADF jobs on this machine using PBSPro software.

Procedure to use ADF SOFTWARE:
Environment settings on SGI-Altix machine:
(Example for csh/tcsh)

setenv ADFHOME /home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01
setenv ADFBIN /home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01/bin
setenv ADFRESOURCES /home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01/atomicdata
setenv SCMLICENSE /home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01/license.txt


Environment settings on SUN Opteron machines:

setenv ADFHOME /home/pkg/lic/chemistry/adf/linux-em64/adf2007.01
setenv ADFBIN /home/pkg/lic/chemistry/adf/linux-em64/adf2007.01/bin
setenv ADFRESOURCE /home/pkg/lic/chemistry/adf/linux-em64/adf2007.01/atomicdata
setenv SCMLICENSE /home/pkg/lic/chemistry/adf/linux-em64/adf2007.01/license.txt

One has to create a run file for using adf or band. Sample run scripts for band and adf are $ADFHOME/examples directory


       Using ADF on altix:

On altix users have to submit jobs to PBS job scheduler. Users have to create a script file to submit to PBS batch system. Below is an example script that can be used to submit an ADF job using 8 cpus.

-----------File myjob.sh-------------------------------------

#!/bin/sh

#PBS -l ncpus=8

ADFHOME=/home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01
ADFBIN=/home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01/bin
ADFRESOURCES=/home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01/atomicdata
SCMLICENSE=/home/pkg/lic/chemistry/adf/linux-ia64/adf2007.01/license.txt

nproc=8
cd //test

${ADFBIN}/adf  -n ${nproc}

-----------End of file myjob.sh-------------------------------



This myjob.sh job script may be submitted to pbs using qsub command. Please note that the shell variable "nproc" has to be set equal to the number of processors that adf is going to use and this has also got to be equal to the "ncpus" PBS directive.

Using ADF on sunlx machines:

On the sunlx machines adf jobs can use only one cpu and are to be submitted through PBS. You may run adfGUI/bandGUI interactively on sunlx1_3 to sunlx1_7 machines locally.

Below is an example script that can be used to submit an ADF job that is expected to consume approximately 16 hours of cpu-time.

-----------File myjob.sh-------------------------------------

#!/bin/sh

#PBS -l cput=16:00:00


#PBS -l select=1:ADF=True

ADFHOME=/home/pkg/lic/chemistry/adf/linux-em64/adf2007.01
ADFBIN=/home/pkg/lic/chemistry/adf/linux-em64/adf2007.01/bin
ADFRESOURCES=/home/pkg/lic/chemistry/adf/linux-em64/adf2007.01/atomicdata
SCMLICENSE=/home/pkg/lic/chemistry/adf/linux-em64/adf2007.01/license.txt

nproc=1
cd //test

${ADFBIN}/adf  -n ${nproc}

-----------End of file myjob.sh-------------------------------

This myjob.sh job script may be submitted to pbs using qsub command. Please note that the shell variable "nproc" has to be set equal to the one for these machines.

For any problems or help please contact HelpDesk@SERC by E-mail or phone (#444 within SERC).
4楼2008-04-01 19:56:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

y1ding

铁杆木虫 (著名写手)


lei0736(金币+1,VIP+0):谢谢
5楼2008-04-01 19:57:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

y1ding

铁杆木虫 (著名写手)


lei0736(金币+1,VIP+0):谢谢
Laboratory for Molecular Simulation- [ 翻译此页 BETA ]Running ADF and ADF-BAND on cosmos. To run the newest version of ADF/ADF-BAND on cosmos, you will need to add the following lines to your pbs job file: ...
www.chem.tamu.edu/LMS/adf.html - 12k - 网页快照 - 类似网页
6楼2008-04-01 19:58:29
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangfq7112

银虫 (正式写手)

谢谢!

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
lei0736(金币-10,VIP+0):转移
以上xujc1983和 y1ding提供的我都 有,不是 完 整脚本。我 这里评不了分,有请版主给ylding转移10金币!
7楼2008-04-04 10:58:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

suntao1982

木虫 (著名写手)

小木虫


lei0736(金币+1,VIP+0):谢谢 版主的E文好漂亮啊 呵呵
./wenjianming > & OK &
women zhwli shi zheyang de
做中国人的化学!!!!
8楼2008-04-04 20:52:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangfq7112

银虫 (正式写手)

suntao1982是在骂我吧! 本人智商是比较低,对Linux刚入门,还得努力才是!对了,有空闲能否帮我调试一下,必有重谢。
9楼2008-04-05 18:26:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

realac

铜虫 (小有名气)

引用回帖:
Originally posted by zhangfq7112 at 2008-2-1 11:39:
求Linux Cluster下ADF 2007递交任务的脚本及所涉及的细节,赠金币50!

先说一下,你的队列系统是什么
10楼2008-04-25 15:02:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 zhangfq7112 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见