|January 27, 2015, 01:56||
SU2 shape_optimization.py parallel run using pbspro job scheduler
Join Date: Jan 2015
Posts: 11Rep Power: 4
I need to run shape_optimization.py on cluster using pbspro job scheduler.
I am interested in running the SU2 problem in parallel. For a flow solving problem using SU2_CFD, I am able to do using the following pbspro script file,
(# indicates the comments, #PBS are read by pbspro)
#! /bin/csh #######PBS -l walltime=48:00:00 #PBS -N nca6 #PBS -q workq #PBS -l select=1:ncpus=2:mpiprocs=2 #PBS -l place=scatter:excl #PBS -V # Go to the directory from which you submitted the job # to split the domain # mpirun -n 2 /local/bin/SU2_PRT inv_NACA0012.cfg cd $PBS_O_WORKDIR cat $PBS_NODEFILE > pbsnodes mpirun --machinefile pbsnodes -n 02 /local/bin/SU2_CFD inv_NACA0012.cfg > /dev/null # finally.. # scp restart_flow.dat solution_flow.dat # SU2_SOL inv_NACA0012.cfg
shape_optimization.py -f rotating_NACA0012.cfg -n 4
So I want to create a similar script file so that I can submit shape_optimization.py on cluster. Which I am not able to do and need help with.
Would be grateful for any help you can provide.
Thanks in Advance!
|May 19, 2015, 16:35||
Join Date: Jun 2013
Posts: 259Rep Power: 6
I think this thread includes a lot of notes on using PBS with SU2
|May 19, 2015, 18:06||
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271Rep Power: 7
I might also add that you can directly modify the command line call for parallel runs (to add machine files or change the mpiexec call directly) in the file interface.py that will be located in the $YOUR_SU2_INSTALL/SU2/run/ directory.
Hope this helps,
|Thread||Thread Starter||Forum||Replies||Last Post|
|mpirun, best parameters||pablodecastillo||Hardware||18||November 10, 2016 13:36|
|Case running in serial, but Parallel run gives error||atmcfd||OpenFOAM Running, Solving & CFD||18||March 26, 2016 13:40|
|parallel computation with SU2 V3.email@example.com||SU2||1||June 24, 2014 20:46|
|Problem on Parallel Run Setup||Hamidur Rahman||CFX||0||September 23, 2007 17:11|
|Windows 64-bit, Distributed Parallel Run Issues...||Erich||CFX||3||March 28, 2006 16:36|