User Tools

Site Tools


howto:su2

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:su2 [2019/06/04 09:15]
ccrosby
howto:su2 [2020/05/21 14:00]
ccrosby [Sample PBS script]
Line 22: Line 22:
 module add chpc/​compmech/​SU2/​6.2-intel ​ module add chpc/​compmech/​SU2/​6.2-intel ​
 # Set the working directory environment variable explicitly. # Set the working directory environment variable explicitly.
-export PBS_JOBDIR=/export/home/user/SU2/TestCases/euler/oneram6+export PBS_JOBDIR=/​home/​username/lustre/su2Jobs/job01
 # Change to the job directory # Change to the job directory
 cd $PBS_JOBDIR cd $PBS_JOBDIR
Line 28: Line 28:
 ### Run the SU2_CFD solver ### Run the SU2_CFD solver
 ### For the gcc/mpich and PGI/mpich versions, use mpirun -iface ib0 .... ### For the gcc/mpich and PGI/mpich versions, use mpirun -iface ib0 ....
-mpirun -np $nproc ​-machinefile $PBS_NODEFILE ​SU2_CFD inv_ONERAM6_JST.cfg > SU2_CFD.out+mpirun -np $nproc SU2_CFD inv_ONERAM6_JST.cfg > SU2_CFD.out
 ### Check to see if the solution_flow.dat file exists. ​ If it does,  ### Check to see if the solution_flow.dat file exists. ​ If it does, 
 ###  use it to generate the necessary output files. ​ If it doesn'​t, ​ ###  use it to generate the necessary output files. ​ If it doesn'​t, ​
/var/www/wiki/data/pages/howto/su2.txt · Last modified: 2020/05/21 14:00 by ccrosby