24小时热门版块排行榜    

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

zhangfq7112

银虫 (正式写手)

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

求Linux Cluster下ADF 2007递交任务的脚本及所涉及的细节,赠金币50!
回复此楼
已阅   回复此楼   关注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的回帖
查看全部 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(金币+1,VIP+0):谢谢
5楼2008-04-01 19:57:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 278求调剂 +6 烟火先于春 2026-03-17 6/300 2026-03-21 01:57 by JourneyLucky
[考研] 085700资源与环境308求调剂 +12 墨墨漠 2026-03-18 13/650 2026-03-21 01:42 by JourneyLucky
[考研] 一志愿武理材料305分求调剂 +6 想上岸的鲤鱼 2026-03-18 7/350 2026-03-21 01:03 by JourneyLucky
[考研] 一志愿重庆大学085700资源与环境专硕,总分308求调剂 +3 墨墨漠 2026-03-18 3/150 2026-03-21 00:39 by JourneyLucky
[考研] 323求调剂 +3 洼小桶 2026-03-18 3/150 2026-03-20 22:54 by JourneyLucky
[考研] 324求调剂 +5 lucky呀呀呀鸭 2026-03-20 5/250 2026-03-20 22:30 by 促天成
[考研] 一志愿苏州大学材料求调剂,总分315(英一) +5 sbdksD 2026-03-19 5/250 2026-03-20 22:10 by luoyongfeng
[考研] 290求调剂 +7 ^O^乜 2026-03-19 7/350 2026-03-20 21:43 by JourneyLucky
[考研] 北科281学硕材料求调剂 +5 tcxiaoxx 2026-03-20 5/250 2026-03-20 21:35 by laoshidan
[考研] 一志愿西南交通 专硕 材料355 本科双非 求调剂 +5 西南交通专材355 2026-03-19 5/250 2026-03-20 21:10 by JourneyLucky
[考研] 求调剂 +3 eation27 2026-03-20 3/150 2026-03-20 19:32 by JourneyLucky
[考研] 298-一志愿中国农业大学-求调剂 +9 手机用户 2026-03-17 9/450 2026-03-20 14:24 by 无懈可击111
[考研] 一志愿西安交通大学材料工程专业 282分求调剂 +5 枫桥ZL 2026-03-18 7/350 2026-03-19 14:52 by 功夫疯狂
[考研] 0703化学 305求调剂 +4 FY_yy 2026-03-14 4/200 2026-03-19 05:54 by anny19840123
[考研] 293求调剂 +11 zjl的号 2026-03-16 16/800 2026-03-18 08:10 by zhukairuo
[考研] 301求调剂 +4 A_JiXing 2026-03-16 4/200 2026-03-17 17:32 by ruiyingmiao
[考研] 290求调剂 +3 p asserby. 2026-03-15 4/200 2026-03-17 16:35 by wangkm
[论文投稿] 有没有大佬发小论文能带我个二作 +3 增锐漏人 2026-03-17 4/200 2026-03-17 09:26 by xs74101122
[考研] 321求调剂 +5 大米饭! 2026-03-15 5/250 2026-03-16 16:33 by houyaoxu
[考研] 求老师收留调剂 +4 jiang姜66 2026-03-14 5/250 2026-03-15 20:11 by Winj1e
信息提示
请填处理意见