|
[Sponsors] |
SU2 shape_optimization.py parallel run using pbspro job scheduler |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2015, 01:56 |
SU2 shape_optimization.py parallel run using pbspro job scheduler
|
#1 |
New Member
Amit Kamboj
Join Date: Jan 2015
Posts: 11
Rep Power: 11 |
Hi!
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) Code:
#! /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 Code:
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, 17:35 |
|
#2 | |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 |
Quote:
I think this thread includes a lot of notes on using PBS with SU2 http://www.cfd-online.com/Forums/su2...using-pbs.html |
||
May 19, 2015, 19:06 |
|
#3 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
Hi,
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, Tom |
|
|
|
Similar Threads | ||||
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.2 | 454514566@qq.com | SU2 | 1 | June 24, 2014 21:46 |
Problem on Parallel Run Setup | Hamidur Rahman | CFX | 0 | September 23, 2007 18:11 |
Windows 64-bit, Distributed Parallel Run Issues... | Erich | CFX | 3 | March 28, 2006 17:36 |