Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to modify the options of mpirun

weit08@lzu_cn

New Member
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"[/QUOTE]



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