CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > SU2 Installation

SU2 parallel running error,help~~~

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 27, 2013, 09:23
Question SU2 parallel running error,help~~~
  #1
New Member
 
wubin
Join Date: Mar 2013
Posts: 9
Rep Power: 4
nuaawubin is on a distinguished road
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
nuaawubin is offline   Reply With Quote

Old   January 11, 2014, 22:11
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Stanford, CA
Posts: 301
Rep Power: 5
fpalacios is on a distinguished road
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
fpalacios is offline   Reply With Quote

Old   January 12, 2014, 00:42
Default
  #3
New Member
 
wubin
Join Date: Mar 2013
Posts: 9
Rep Power: 4
nuaawubin is on a distinguished road
Quote:
Originally Posted by fpalacios View Post
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 :
未命名.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!
nuaawubin is offline   Reply With Quote

Old   January 23, 2014, 01:25
Default
  #4
New Member
 
Victor Major
Join Date: Jan 2012
Posts: 10
Rep Power: 5
vmajor is on a distinguished road
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.
vmajor is offline   Reply With Quote

Old   January 28, 2014, 16:55
Default
  #5
Member
 
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 6
rktchip is on a distinguished road
SU2 is not supported for parallel on windows at the moment. You should be able to run it serially though
rktchip is offline   Reply With Quote

Old   January 30, 2014, 18:18
Default
  #6
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 91
Rep Power: 6
Tommy Chen is on a distinguished road
Quote:
Originally Posted by nuaawubin View Post
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 .
Tommy Chen is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
running OpenFoam in parallel vishwa OpenFOAM 21 Today 02:07
Issues with running in parallel OF-2.2.0 kalyangoparaju OpenFOAM 0 June 21, 2013 12:41
Problems running in parallel - missing controlDict Argen OpenFOAM Running, Solving & CFD 4 June 7, 2012 03:50
error while running in parallel using openmpi on local mc 6 processors suryawanshi_nitin OpenFOAM 5 May 21, 2012 14:13
Running mapFields with Parallel Source and Parallel Target RDanks OpenFOAM Mesh Utilities 2 June 6, 2011 07:56


All times are GMT -4. The time now is 14:19.