PBS管理系统--torque(4)
[注]:脚本文件中的 mpirun_rsh 命令行中的节点列表文件要用环境变量表 示
$PBS_NODEFILE,这个环境变量表示由 pbs 自动分配给作业的节点列表; 节点数为命令行中指定的进程数。 格式如下:
mpirun_rsh –np 进程数 –hostfile $PBS_NODEFILE 可执行程序名 命令详解如下:
Getting Status on the System, Queues, and Jobs Command Short Description list information about queues and jobs Tutorial Using qstat HTML and PS HTML and PS Using qstat Using qstat HTML and PS HTML and PS Using qstat Using qstat Manual Page qstat man page qstat qstat -q list all queues on system qstat man page qstat -Q list queue limits for all queues qstat man page qstat -a list all jobs on system qstat man page qstat -au list all jobs owned by user userid userid qstat man page qstat -s list all jobs with status comments list all running jobs qstat man page qstat -r qstat man page qstat -f list all information known about jobid specified job qstat -Qf list all information known about queue specified queue qstat man page qstat man page
qstat -B List summary information about the PBS server Submitting a Job HTML and PS qstat man page qsub jobscript submit jobscript to PBS Using qsub Using qsub Using qsub qsub man page qsub -I submit an interactive-batch job qsub man page qsub -q queue submit job directly to a specified queue qsub man page Using the Graphical User Interface (GUI) xpbs
Graphical User Interface to PBS commands Using xpbs xpbs man page 链接 http://blog.chinaunix.net/u1/34200/showart_1880946.html
(五)GM 并行作业提交 PBS 脚本
PBS 模板脚本文件路径为:/export/home/pbs/mpich-gm.pbs.pbs
按照如下示例文件,建立 pbs 作业提交脚本,修改红色的部分即可。
#LJRS -S /bin/bash
#LJRS -o script.out
#LJRS -j oe
#LJRS -q dpool
#LJRS -l nodes=8:ppn=1 (nodes:计算节点数,ppn:计算节点 CPU 数)
#LJRS -l walltime=48:00:00 (用户估计的最大计算时间,超时系统会自 动中断作业)
limit -s unlimited
TMPFILE=`whoami`_mpich_gm.tmp
sed 's/c/g/g' $LJRS_NODEFILE > /tmp/$TMPFILE GM_NODEFILE=/tmp/$TMPFILE
echo Working directory is $LJRS_O_WORKDIR
cd $LJRS_O_WORKDIR
echo Runing on host `hostname` echo Starting Time is `date` echo Directory is `pwd`
echo This jobs runs on the following processors:
echo `cat $GM_NODEFILE` NPROCS=`wc -l < $GM_NODEFILE`
echo This job has allocated $NPROCS nodes
## User Parallel Program ###########
mpirun -v -machinefile $GM_NODEFILE -np $NPROCS ~/my_parallel.exe > out (修改为用户的并行作业执行命令)
####################################
rm -f /tmp/$TMPFILE
链接 http://cftcc.iccas.ac.cn/show.aspx?id=25&cid=12
echo Ending Time is `date`
…… 此处隐藏:355字,全部文档内容请下载后查看。喜欢就下载吧 ……相关推荐:
- [实用模板]第八章:法国“新浪潮”与“左岸派”
- [实用模板]2021年北京上半年临床医学检验技师生物
- [实用模板]SAP GUI 7.10客户端安装配置文档
- [实用模板]2001年临床执业医师资格考试综合笔试试
- [实用模板]36机场工作实用英语词汇总结
- [实用模板](一)社会保险稽核通知书
- [实用模板]安全教育主题班会材料
- [实用模板]濉溪县春季呼吸道传染病防控应急演练方
- [实用模板]长沙房地产市场周报(1.30-2.3)
- [实用模板]六年级数学上册典中点 - 图文
- [实用模板]C程序设计(红皮书)习题官方参考答案
- [实用模板]中国证监会第一届创业板发行审核委员会
- [实用模板]桥梁工程复习题
- [实用模板]2011学而思数学及答案
- [实用模板]初中病句修改专项练习
- [实用模板]监理学习知识1 - 图文
- [实用模板]小机灵杯四年级试题
- [实用模板]国贸专业毕业论文模板
- [实用模板]教育学概论考试练习题-判断题4
- [实用模板]2015届高考英语一轮复习精品资料(译林
- 00Nkmhe_市场营销学工商管理_电子商务_
- 事业单位考试法律常识
- 诚信教育实施方案
- 吉大小天鹅食品安全检测箱方案(高中低
- 房地产销售培训资料
- 高一地理必修1复习提纲
- 新概念英语第二册lesson_1_练习题
- 证券公司内部培训资料
- 小学英语时间介词专项练习
- 新世纪英语专业综合教程(第二版)第1册U
- 【新课标】浙教版最新2018年八年级数学
- 工程建设管理纲要
- 外研版 必修一Module 4 A Social Surve
- Adobe认证考试 AE复习资料
- 基于H.264AVC与AVS标准的帧内预测技术
- 《食品检验机构资质认定管理办法》(质
- ABB变频器培训课件
- (完整版)小学说明文阅读练习题及答案
- 深思洛克(SenseLock) 深思IV,深思4,深
- 弟子规全文带拼音




