|
[Sponsors] |
SU2 python scipt runs in parallel but repeats the simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2018, 19:42 |
SU2 python scipt runs in parallel but repeats the simulation
|
#1 |
New Member
topheruk
Join Date: Mar 2018
Posts: 5
Rep Power: 8 |
If I use the python library to call SU2 and run in parallel, the simulation runs to completion but then repeats the simulation x-number of times, where I think x is equal to the number of processors. Also the run times reported are for the number of processors specified. The issue can be repeated with the following python script:
config = SU2.io.Config(filename) config.NUMBER_PART = 4 # 0 for serial config.NZONES = 1 SU2.run.CFD(config) However, the simulation works in parallel as expected if I use the terminal commands: mpirun -n 4 SU2_CFD filename.cfg Any ideas? *UPDATE1*: issue partly resolved, the parallel_computation.py scipt in the SU2_PY directory ran the simulation in parallel without repeating. Still not sure why the above python script does not work, however. *UPDATE2*: issue fully resolved, I was calling SU2.eval.func('DRAG', config), SU2.eval.func('LIFT', config), and SU2.eval.func('MOMENT', config) in addition to SU2.run.CFD(config) Last edited by topheruk29; August 10, 2018 at 21:45. |
|
August 13, 2018, 19:01 |
|
#2 |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 |
Hello
Thanks for your interest in SU2 I'm glad to hear you got your problem working. |
|
Tags |
mpi, parallel, python, su2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing SU2 v5 for Parallel Computations | McAero | SU2 Installation | 4 | December 10, 2017 18:02 |
First Step Parallel Simulation and HPC | FlyBob91 | OpenFOAM Running, Solving & CFD | 3 | July 14, 2017 10:05 |
Executing simulation in parallel. orte_init failed | vidyadhar | OpenFOAM Running, Solving & CFD | 2 | June 30, 2017 01:13 |
Python for postprocessing output of SU2 | juanbaus | SU2 | 2 | May 2, 2017 00:59 |
SU2 parallel installation error | JAlbert | SU2 Installation | 2 | November 19, 2013 03:43 |