当前位置: 团队概况>>下载中心>>正文

 

撰写shell脚本编译及提交任务(集群)
2014-09-13 15:52  

 步骤如下

1. 打开shell

2.  vi  makesubmit.sh

3. 输入内容

         ifort -o outputname  source1.f90  source2.f90  source3.c  source.f  # compile the code, ouputname: define the output file name, source.*, put the name and the type oif the codes.

         qsub pbstemplate   # submit the task to the cluster, use the outputname in the pbstemplate file.

3. Esc, wq!  #返回及保存文件

 

运行shell脚本

1. chmod u+x makesubmit.sh    # 给予makesubmit.sh x权限,仅用一次,以后都不需要

2.   ./makesubmit.sh     #编译及自动提交任务

见示例

示例:test.tar.gz

关闭窗口

 师资队伍
· 王德真
· 孙继忠
· 王艳辉
· 王奇
· 桑超峰
· 戴舒宇
· 张佼
· 王真厚
组内动态

 

· 2026年第二十一届中国电推进学术研...
· PSI&APD研究团队2025年年度总结会顺...
· 国家磁约束核聚变能发展研究专项202...
· 美国物理学会会士郭后扬赴大连理工...
· 新加坡科技研究局研究员唐腾飞赴大...

地 址: 辽宁省大连市高新园区凌工路2号  电 话:0411-84707981 E-mail:sang@dlut.edu.cn

Copyright 2013-2025 大连理工大学 物理学院 PSI&APD科研团队版权所有