Main menu

Navigation

How to modify the options of mpirun

1 post / 0 new
weit08@...
How to modify the options of mpirun

Hi, eveybody

Can you tell me how to modify the options of mpirun in the script of test.jazz.run?

I used the following:

cd $EXEROOT/all
paste ${PBS_NODEFILE} mpirun.pgfile1 > mpirun.pgfile
echo "`date` -- CSM EXECUTION BEGINS HERE"
#mpirun -pg mpirun.pgfile ./$COMPONENTS[1]
/home/chen/mpich-1.2.7p1/bin/mpirun -machinefile $PBS_NODEFILE -v -prefix "[%g]" -d $EXEROOT/all/pgfile1 \
-np $NTASKS[1] $COMPONENTS[1] : \
-np $NTASKS[2] $COMPONENTS[2] : \
-np $NTASKS[3] $COMPONENTS[3] : \
-np $NTASKS[4] $COMPONENTS[4] : \
-np $NTASKS[5] $COMPONENTS[5] &
wait
echo "`date` -- CSM EXECUTION HAS FINISHED"

But it will not work well. Could you help me ? Thanks a lot!

Who's new

  • 1658093099@...
  • mborreggine@...
  • kabirtam@...
  • suns@...
  • liangpeng0405@...