使用Sun Grid Engine以并行mpi运行netlogo

时间:2015-10-17 23:27:19

标签: bash mpi netlogo sungridengine

#!/bin/bash
#$ -N new
#$ -q all.q
#$ -pe mpi 30
unset SGE_ROOT
/opt/mpi/1.8.1/bin/mpirun -np $NSLOTS -hostfile $TMPDIR/machines /home/abhishekb/netlogo/netlogo-5.2.0/netlogo-headless.sh \
    --model /home/abhishekb/scale_med/try4.nlogo \
    --experiment experiment1 \
    --table /home/abhishekb/Trash/anything.csv  

错误:

The: Command not found.
queuing: Command not found.
time-to-exit: Command not found.
Badly placed ()'s.

输出:

Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
--------------------------------------------------------------------------
A hostfile was provided that contains at least one node not
present in the allocation:

  hostfile:  /tmp/8396.1.all.q/machines
  node:      compute-0-1
If you are operating in a resource-managed environment, then only
nodes that are in the allocation can be used in the hostfile. You
may find relative node syntax to be a useful alternative to
specifying absolute node names see the orte_hosts man page for
further information.
--------------------------------------------------------------------------

PE文件:

rm: cannot remove `/tmp/8396.1.all.q/rsh': No such file or directory

早些时候,我曾经在下面运行:

#!/bin/bash
#$ -N new
#$ -q all.q
#$ -pe mpi 30
/home/abhishekb/netlogo/netlogo-5.2.0/netlogo-headless.sh \
    --model /home/abhishekb/std_low/try4.nlogo \
    --experiment experiment1 \
    --table /home/abhishekb/Trash/anything.csv \
    --threads 30

它只处理一个核心(在HPC端检查)虽然它抓住了30

编辑:

提交工作的文件: http://it.iiitd.edu.in/HPC_final_doc.pdf请参阅第4页和第5节第10节“工作提交步骤。

qsub <filename.sh>

提交的职位

0 个答案:

没有答案