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

SU2 parallel running error,help~~~

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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: Long Beach, CA
Posts: 404
Rep Power: 15
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: 13
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: 14
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: 15
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: 96
Rep Power: 15
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


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


All times are GMT -4. The time now is 16:39.