User Tools

Site Tools


howto:mfix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:mfix [2017/09/11 13:58]
agill
howto:mfix [2017/09/11 14:00]
agill
Line 43: Line 43:
 Below is an example of a simple PBS submit script for an mfix job. Below is an example of a simple PBS submit script for an mfix job.
  
-<​file ​mfix_sub.pbs>+<​file ​bash mfix.qsub>
   #!/bin/sh   #!/bin/sh
   #PBS -P projectid   #PBS -P projectid
Line 53: Line 53:
   #PBS -m abe   #PBS -m abe
   #PBS -M username@email.co.za   #PBS -M username@email.co.za
-</​file>  ​ 
   module add gcc/5.1.0 chpc/​openmpi/​gcc/​65/​1.8.8-gcc5.1.0   module add gcc/5.1.0 chpc/​openmpi/​gcc/​65/​1.8.8-gcc5.1.0
   cd ${PBS_O_WORKDIR}   cd ${PBS_O_WORKDIR}
Line 59: Line 58:
   nproc=`cat $PBS_NODEFILE | wc -l`   nproc=`cat $PBS_NODEFILE | wc -l`
   mpirun -np $nproc -machinefile $PBS_NODEFILE $exe -parallel >"​coarse.log"​ 2>&1   mpirun -np $nproc -machinefile $PBS_NODEFILE $exe -parallel >"​coarse.log"​ 2>&1
 +</​file>  ​
 Remember to edit or add the following line to your mfix.dat file: Remember to edit or add the following line to your mfix.dat file:
  
/var/www/wiki/data/pages/howto/mfix.txt · Last modified: 2017/09/11 14:00 by agill