24小时热门版块排行榜    

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

zhangfq7112

银虫 (正式写手)

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

求Linux Cluster下ADF 2007递交任务的脚本及所涉及的细节,赠金币50!
回复此楼
已阅   回复此楼   关注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的回帖
查看全部 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):真有心 谢谢
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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +12 yangfz 2026-03-17 12/600 2026-03-21 03:30 by JourneyLucky
[考研] 化学求调剂 +4 临泽境llllll 2026-03-17 5/250 2026-03-21 02:23 by JourneyLucky
[考研] 271材料工程求调剂 +8 .6lL 2026-03-18 8/400 2026-03-21 00:58 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-18 3/150 2026-03-21 00:46 by JourneyLucky
[考研] 22408 344分 求调剂 一志愿 华电计算机技术 +4 solanXXX 2026-03-20 4/200 2026-03-20 23:49 by alg094825
[考研] 南京大学化学376求调剂 +3 hisfailed 2026-03-19 6/300 2026-03-20 23:43 by hisfailed
[考研] 295求调剂 +4 一志愿京区211 2026-03-18 6/300 2026-03-20 23:41 by JourneyLucky
[考研] 材料与化工 322求调剂 +4 然11 2026-03-19 4/200 2026-03-20 22:12 by luoyongfeng
[考研] 求调剂一志愿南京航空航天大学289分 +3 @taotao 2026-03-19 3/150 2026-03-20 21:34 by JourneyLucky
[考研] 316求调剂 +5 梁茜雯 2026-03-19 5/250 2026-03-20 21:26 by 你好你好666
[考研] 一志愿西南交通 专硕 材料355 本科双非 求调剂 +5 西南交通专材355 2026-03-19 5/250 2026-03-20 21:10 by JourneyLucky
[考研] 295材料求调剂,一志愿武汉理工085601专硕 +5 Charlieyq 2026-03-19 5/250 2026-03-20 20:35 by JourneyLucky
[考研] 能源材料化学课题组招收硕士研究生8-10名 +5 脱颖而出 2026-03-16 14/700 2026-03-20 09:30 by kkcoco25
[考研] 0703化学调剂 +10 妮妮ninicgb 2026-03-15 14/700 2026-03-19 22:59 by 学员8dgXkO
[考研] 生物学调剂招人!!! +3 山海天岚 2026-03-17 4/200 2026-03-19 21:34 by 怎么释怀
[考研] 0703化学调剂 +5 pupcoco 2026-03-17 8/400 2026-03-19 13:58 by houyaoxu
[考研] 本科郑州大学物理学院,一志愿华科070200学硕,346求调剂 +4 我不是一根葱 2026-03-18 4/200 2026-03-19 09:11 by 浮云166
[硕博家园] 湖北工业大学 生命科学与健康学院-课题组招收2026级食品/生物方向硕士 +3 1喜春8 2026-03-17 5/250 2026-03-17 17:18 by ber川cool子
[考研] 275求调剂 +4 太阳花天天开心 2026-03-16 4/200 2026-03-17 10:53 by 功夫疯狂
[考研] 26考研一志愿中国石油大学(华东)305分求调剂 +3 嘉年新程 2026-03-15 3/150 2026-03-15 13:58 by 哈哈哈哈嘿嘿嘿
信息提示
请填处理意见