CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   SU2 Installation (http://www.cfd-online.com/Forums/su2-installation/)
-   -   SU2 parallel running error,help~~~ (http://www.cfd-online.com/Forums/su2-installation/127953-su2-parallel-running-error-help.html)

nuaawubin December 27, 2013 09:23

SU2 parallel running error,help~~~
 
1 Attachment(s)
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?
Attachment 27583

fpalacios January 11, 2014 22:11

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

nuaawubin January 12, 2014 00:42

1 Attachment(s)
Quote:

Originally Posted by fpalacios (Post 469615)
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

thk for your reply,and i finally get the python environment done,and now i can run a case in parallel mode.but i get an error of SU2_DDC.exe,as the pic follows :
Attachment 27897
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!

vmajor January 23, 2014 01:25

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.

rktchip January 28, 2014 16:55

SU2 is not supported for parallel on windows at the moment. You should be able to run it serially though

Tommy Chen January 30, 2014 18:18

Quote:

Originally Posted by nuaawubin (Post 469639)
thk for your reply,and i finally get the python environment done,and now i can run a case in parallel mode.but i get an error of SU2_DDC.exe,as the pic follows :
Attachment 27897
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!

My friend from NUAA.

I think the SU2 on windows is not perfect for parallel computation.

I think you should switch to Linux .


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