| 查看: 1981 | 回复: 3 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
[求助]
mpirun并行运行问题
|
||
|
我在集群上运行一个软件,本意要求它一次同时运行两个任务,但是每次它都只是运行一个任务,软件的作者解释是如下,不知有没有大侠能否指点一下迷津.先行谢谢了. It appears that both mpi processes launched, but for some reason they launched independently of each other. This means that neither process was aware of the other process, so both processes were doing the same things. Both processes opened Test.inp and then tried to create this directory: /home/Test/Gaussian/bestSavedStructures One process succeded, and the other failed. The one that failed printed "Couldn't create log files directory." in the .e file and immediately stopped. The other kept going and made it to iteration 10, which was the predetermined stopping point. There didn't seem to be any problems with the disk which is very good. If you can figure out how to get the processes to see each other, you'll have a working program. Upon launch, each process prints it's rank (or index) and the total number of processes. This is what was printed during this run: This is MPI process with rank 0. Total MPI processes: 1 This is MPI process with rank 0. Total MPI processes: 1 This is what it should have printed: This is MPI process with rank 0. Total MPI processes: 2 This is MPI process with rank 1. Total MPI processes: 2 Please replace '-np 2' in pso.pbs with another option. You might try '-hostfile nodes.txt' or '-cpus-per-rank 1'. Or look at other options listed at http://www.open-mpi.org/doc/v1.4/man1/mpirun.1.php . Hope that helps! |
» 猜你喜欢
莆田学院环境与生物工程学院资源与环境专硕(环境工程方向) 开放调剂招生
已经有14人回复
浙江海洋大学石油化工与环境学院招收工科调剂生(学硕、专硕均可,线上面试)
已经有0人回复
物理化学论文润色/翻译怎么收费?
已经有231人回复
浙江海洋大学石油化工学院接收工科调剂(学硕、专硕均可,近期线上面试)
已经有10人回复
浙江海洋大学石油与天然气工程专业接收工科调剂(13日早上截止,线上面试)
已经有0人回复
考研调剂~湖南工程学院材料与化工学院
已经有0人回复
黑龙江科技大学 化学工程 招收调剂
已经有1人回复
新加坡国立大学毛献文课题组招聘3 名博士后
已经有0人回复
江苏科技大学/江苏大学施伟东教授团队全年招收博士生,可与香港香港城市大学联合培养
已经有19人回复
铍球购买
已经有4人回复
二区期刊Molecules征稿,欢迎投稿
已经有16人回复
» 本主题相关价值贴推荐,对您同样有帮助:
lammps并行安装最后一步make serial出错
已经有17人回复
abinit安装出错
已经有4人回复
关于autogrid 运行的问题
已经有7人回复
VASP5.2版本并行安装时出问题了,已经到最后一步了
已经有28人回复
vasp并行运算出现问题:mpivars.sh: No such file or directory
已经有3人回复
ArcGIS10.1运行问题
已经有3人回复
LAMMPS并行计算的问题(cpu——time关系)
已经有17人回复
vasp 集群并行出错
已经有7人回复
采用PBS脚本第一次提交任务,算了1步就被杀死,有错误提示但不知道原因?
已经有19人回复
MOLCAS并行计算安装方法
已经有5人回复
VASP并行计算出错
已经有9人回复
关于NAMD mpi并行问题
已经有4人回复
vasp并行出错,急于求助!!!
已经有13人回复
vasp 并行运算出错
已经有7人回复
【求助】运行并行版的DL_POLY的时候,出现的问题
已经有8人回复
【求助】mpi vasp问题
已经有32人回复
【求助】vasp运行问题
已经有7人回复
【求助】Lammps 多机并行的问题
已经有11人回复
【求助】MS4.3/4.4多核处理器并行运算的问题
已经有24人回复

virtualzx
木虫 (著名写手)
- QC强帖: 2
- 应助: 263 (大学生)
- 金币: 7161.3
- 红花: 54
- 帖子: 1605
- 在线: 317.6小时
- 虫号: 2069080
- 注册: 2012-10-18
- 性别: GG
- 专业: 理论和计算化学
3楼2012-10-30 03:53:15

2楼2012-10-29 20:32:28
|
#!/bin/bash #PBS -N TestJob #PBS -l nodes=2:ppn=8,walltime=0:30:00 #PBS -l mem=4GB export LD_LIBRARY_PATH=/home/fan_group/openmpi/lib:$LD_LIBRARY_PATH echo PBS_O_WORKDIR=$PBS_O_WORKDIR echo PBS_ENVIRONMENT=$PBS_ENVIRONMENT echo PBS_NODEFILE=$PBS_NODEFILE echo cat $PBS_NODEFILE cat $PBS_NODEFILE echo $PBS_NODEFILE echo HOSTNAME=`/bin/hostname` # Create the nodes.txt file # The next line writes one node per line and allows duplicate nodes # Use this if you want one Gaussian job per processor. # cp $PBS_NODEFILE /home/fan_group/lzhl/pso/Test/Gaussian/nodes.txt # The next line writes one node per line and does NOT allow duplicate nodes. # Use this if you want one Gaussian job per node with each job runing in parallel on multiple processors. cat $PBS_NODEFILE | uniq > /home/fan_group/lzhl/pso/Test/Gaussian/nodes.txt cd /home/fan_group/pso1.5.2 /opt/openmpi/bin/mpirun -np 2 ./pso -walltime 0:30:00 /home/fan_group/lzhl/pso/Test/Gaussian/Test.inp |

4楼2012-11-05 10:30:44













回复此楼