24小时热门版块排行榜    

查看: 1497  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 【考研调剂】化学专业 281分,一志愿四川大学,诚心求调剂 +7 吃吃吃才有意义 2026-03-19 7/350 2026-03-20 22:33 by JourneyLucky
[考研] 324求调剂 +5 lucky呀呀呀鸭 2026-03-20 5/250 2026-03-20 22:30 by 促天成
[考研] 287求调剂 +7 晨昏线与星海 2026-03-19 8/400 2026-03-20 22:19 by JourneyLucky
[考研] 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
[考研] 求调剂 +3 @taotao 2026-03-20 3/150 2026-03-20 19:35 by JourneyLucky
[考研] 材料与化工专硕调剂 +7 heming3743 2026-03-16 7/350 2026-03-20 19:31 by zhukairuo
[考研] 招收调剂硕士 +4 lidianxing 2026-03-19 12/600 2026-03-20 12:25 by lidianxing
[考研] 286分人工智能专业请求调剂愿意跨考! +3 lemonzzn 2026-03-17 4/200 2026-03-20 11:04 by lemonzzn
[考研] 271材料工程求调剂 +7 .6lL 2026-03-18 7/350 2026-03-20 09:10 by xingguangj
[考研] 一志愿中国海洋大学,生物学,301分,求调剂 +5 1孙悟空 2026-03-17 6/300 2026-03-19 23:46 by zcl123
[考研] 081700化工学硕调剂 +3 【1】 2026-03-16 3/150 2026-03-19 23:40 by edmund7
[考研] 320求调剂0856 +3 不想起名字112 2026-03-19 3/150 2026-03-19 22:53 by 学员8dgXkO
[考研] 梁成伟老师课题组欢迎你的加入 +9 一鸭鸭哟 2026-03-14 11/550 2026-03-19 17:22 by !本暗一次!
[考研] 085600材料与化工调剂 324分 +10 llllkkkhh 2026-03-18 12/600 2026-03-19 14:33 by llllkkkhh
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
[考研] 东南大学364求调剂 +5 JasonYuiui 2026-03-15 5/250 2026-03-16 21:28 by 木瓜膏
[考研] 304求调剂 +3 曼殊2266 2026-03-14 3/150 2026-03-16 16:39 by houyaoxu
[考研] 080500,材料学硕302分求调剂学校 +4 初识可乐 2026-03-14 5/250 2026-03-14 21:08 by peike
[考研] 本科南京大学一志愿川大药学327 +3 麦田耕者 2026-03-14 3/150 2026-03-14 20:04 by 外星文明
信息提示
请填处理意见