24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1315  |  回复: 9
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 zhangfq7112 的 50 个金币
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zhangfq7112

银虫 (正式写手)

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

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

y1ding

铁杆木虫 (著名写手)

5楼2008-04-01 19:57:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 10 个回答

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的回帖
普通表情 高级回复(可上传附件)
信息提示
请填处理意见