| 查看: 1337 | 回复: 2 | ||
[求助]
Shell读取LS-DYNA文件进行计算已有1人参与
|
|
采用shell编写个PBS脚本,想实现与学校Linux系统的连接,从而调用LS-DYNA 计算。可是遇到了问题。我先查看了系统可以使用的LS-DYNA modulue,总共有5个,因为ls-dyna/971_R5_1_1_amd这个是默认的,所以我就调用这个 ls-dyna/971.R6.1.0 ls-dyna/971.R7.0.0 ls-dyna/971_R4_2_1_amd ls-dyna/971_R5_1_1_amd(default) ls-dyna/971_R5_1_1_intel 我调用这个默认的,如下: chuq@lyra04:~/explosive> module load ls-dyna Lyra: LS-Dyna (971) Build R5_1_1_amd module loaded. To use the lscasedriver utility, add the alias command below to your batch script and run the utility with the command, lscasedriver [-k] infile execute alias lscasedriver='python /pkg/suse11/lsdyna/971_R5_1_1_amd/lscasedriver.py' shell出现几行语句,意思是当我加载这个modulue时,需要加上lscasedriver等语句。我不知道怎么在我的脚本中加。 我这么加,对吗?我把这个脚本已经提交了,可是我们学校计算的人太多你,我的job还在排队,所以我还不知道这样到底对不对。但是很疑惑这两个语句的用法,尤其是 lscasedriver [-k] infile execute 这一句,哪位可以帮我解释一下。非常感谢。。。。 #!/bin/bash -l #PBS -N explosive002 #PBS -l walltime=10:00:00 #PBS -l select=1:ncpus=12:mpiprocs=12:mem=16gb:cputype=E5-2680v2 #PBS -j oe module load ls-dyna/971_R5_1_1_amd cd ~/try002 alias lscasedriver='python/pkg/suse11/lsdyna/971_R5_1_1_amd/lscasedriver.py' lscasedriver -k ep.k ls-dyna i=ep.k 谢谢各位啊。 |
» 猜你喜欢
氨基封端PDMS和HDI反应快速固化
已经有10人回复
博士读完未来一定会好吗
已经有37人回复
论文投稿求助
已经有4人回复
Applied Surface Science 这个期刊。有哪位虫友投过的能把word模板发给我参考一下嘛
已经有3人回复
投稿精细化工
已经有6人回复
之前让一硕士生水了7个发明专利,现在这7个获批发明专利的维护费可从哪儿支出哈?
已经有10人回复
博士申请都是内定的吗?
已经有9人回复
心脉受损
已经有8人回复
FMStation
至尊木虫 (知名作家)
- 应助: 591 (博士)
- 贵宾: 0.03
- 金币: 18097.2
- 红花: 97
- 帖子: 8891
- 在线: 1485.3小时
- 虫号: 2400059
- 注册: 2013-04-04
- 专业: 计算机应用技术
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
schuhi: 金币+50, ★★★★★最佳答案 2016-09-23 20:07:39
感谢参与,应助指数 +1
schuhi: 金币+50, ★★★★★最佳答案 2016-09-23 20:07:39
|
The argument to run LSCASEDRIVER is as simple as: prompt> lscasedrive -k main_input_file arguments_to_tell_the_dyna_commands INPUT Here “-k” option tells LSCASEDRIVE to output the parsed input files. INPUT is mandatory as this string, which can be positioned anywhere after the main input file is used by LSCASEDRIVE to substitute the individually created files based on the case ID. http://www.d3view.com/more-on-ls-casedriver/ |
2楼2016-09-23 17:44:45
|
Thank you so much. I have worked out this problem use another solver version (LS-DYNA/971.R7.0.0). I will try this version and find out the difference between these two. The PBS script with the LS-DYNA/971.R7.0.0 module is listed as below: #!/bin/bash -l #PBS -N explosive001 #PBS -l walltime=5:00:00 #PBS -j oe module load ls-dyna/971.R7.0.0 cd ~/try001 lsdyna_s i=25.k ncpu=1 Many thanks for your help. |
3楼2016-09-23 20:07:27













回复此楼