CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

SU2 python scipt runs in parallel but repeats the simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2018, 18:42
Default SU2 python scipt runs in parallel but repeats the simulation
New Member
Join Date: Mar 2018
Posts: 3
Rep Power: 4
topheruk29 is on a distinguished road
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 =
config.NUMBER_PART = 4 # 0 for serial
config.NZONES = 1

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 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

Last edited by topheruk29; August 10, 2018 at 20:45.
topheruk29 is offline   Reply With Quote

Old   August 13, 2018, 18:01
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 10
hlk is on a distinguished road
Thanks for your interest in SU2
I'm glad to hear you got your problem working.
hlk is offline   Reply With Quote


mpi, parallel, python, su2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing SU2 v5 for Parallel Computations McAero SU2 Installation 4 December 10, 2017 17:02
First Step Parallel Simulation and HPC FlyBob91 OpenFOAM Running, Solving & CFD 3 July 14, 2017 09:05
Executing simulation in parallel. orte_init failed vidyadhar OpenFOAM Running, Solving & CFD 2 June 30, 2017 00:13
Python for postprocessing output of SU2 juanbaus SU2 2 May 1, 2017 23:59
SU2 parallel installation error JAlbert SU2 Installation 2 November 19, 2013 02:43

All times are GMT -4. The time now is 15:08.