|
[Sponsors] |
December 27, 2013, 09:23 |
SU2 parallel running error,help~~~
|
#1 |
New Member
wubin
Join Date: Mar 2013
Posts: 9
Rep Power: 13 |
i install a parallel version of SU2,and instal numpy,scipy,mpich2 and python 2.6.but when i enter "parallel_computation.py -f turb_ONERAM6.cfg -p 2",an error ocurred(as the attached picture).can anyone help me?
2013-12-27_211240.bmp |
|
January 11, 2014, 22:11 |
|
#2 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
It seems that the python does no recognize the os module... you can google "No module named os"... it seems that your python installation is not ok.
But you can always run SU2 directly. >mpirun -n 2 SU2_DDC turb_ONERAM6.cfg to divide the grid and then >mpirun -n 2 SU2_CFD turb_ONERAM6.cfg to run the code in parallel. Best, Francisco |
|
January 12, 2014, 00:42 |
|
#3 | |
New Member
wubin
Join Date: Mar 2013
Posts: 9
Rep Power: 13 |
Quote:
未命名.JPG though there is an error,it can run, i just wonder does it matter to get a right result ? ps: i did "mpirun -n 2 SU2_DDC xx.cfg",but it returned an error like"unknown option -n" best regards! |
||
January 23, 2014, 01:25 |
|
#4 |
New Member
Victor Major
Join Date: Jan 2012
Posts: 10
Rep Power: 14 |
I do not know what platform you are on, but the mpirun syntax is:
mpirun -np nn where nn is the number of processes. eg. mpirun -np 24 ./example input.cfg Note it is -np not -n. V. |
|
January 28, 2014, 16:55 |
|
#5 |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
SU2 is not supported for parallel on windows at the moment. You should be able to run it serially though
|
|
January 30, 2014, 18:18 |
|
#6 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Quote:
I think the SU2 on windows is not perfect for parallel computation. I think you should switch to Linux . |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error while running in parallel using openmpi on local mc 6 processors | suryawanshi_nitin | OpenFOAM | 10 | February 22, 2017 22:33 |
Running mapFields with Parallel Source and Parallel Target | RDanks | OpenFOAM Pre-Processing | 4 | August 2, 2016 06:24 |
running OpenFoam in parallel | vishwa | OpenFOAM Running, Solving & CFD | 22 | August 2, 2015 09:53 |
Issues with running in parallel OF-2.2.0 | kalyangoparaju | OpenFOAM | 0 | June 21, 2013 13:41 |
Problems running in parallel - missing controlDict | Argen | OpenFOAM Running, Solving & CFD | 4 | June 7, 2012 04:50 |