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

Parallel SU2

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2013, 10:40
Default Parallel SU2
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
Dear developers,

I am having problems with the parallel usage of SU2.

Trying to run the OneraM6 tutorial, in parallel, I get this error:

Code:
zampini@pc-zampini:~/Documenti/PhD/SU2/TestCases/euler/oneram6$ parallel_computation.py -f inv_ONERAM6.cfg -p 2
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not access
or execute an executable:

Executable: /SU2Py/SU2_DDC
Node: pc-zampini

while attempting to start process rank 0.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not access
or execute an executable:

Executable: /SU2Py/SU2_CFD
Node: pc-zampini

while attempting to start process rank 0.
--------------------------------------------------------------------------
sh: /SU2Py/merge_solution.py: not found
zampini@pc-zampini:~/Documenti/PhD/SU2/TestCases/euler/oneram6$
Any idea about how to solve?

Thanks a lot,

Samuele
samiam1000 is offline   Reply With Quote

Old   February 4, 2013, 23:46
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
Could you please try to run SU2_DDC? Does it work?

SU2_DDC should generates the different grids that SU2_CFD uses when running in parallel. SU2_DDC is a serial code that requires metis, but you can compile it with MPI and run it with mpirun.


Cheers,
Francisco
fpalacios is offline   Reply With Quote

Old   February 7, 2013, 04:06
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
The command
Code:
SU2_DDC turb_ONERAM6.cfg
gives me the following output:
Code:
zampini@pc-zampini:~/Documenti/PhD/SU2/TestCases/rans/oneram6$ SU2_DDC turb_ONERAM6.cfg 

-------------------------------------------------------------------------
|                SU2 Suite (Domain Decomposition Code)                  |
-------------------------------------------------------------------------

------------------------ Physical case definition -----------------------
Input mesh file name: mesh_ONERAM6_turb_hexa.su2

-------------------------- Output information ---------------------------
Don't visualize the partitions. 

------------------- Config file boundary information --------------------
Navier-Stokes wall boundary marker(s): WING.
Far-field boundary marker(s): FARFIELD.
Symmetry plane boundary marker(s): SYMMETRY.

---------------------- Read grid file information -----------------------
Three dimensional problem.
43008 interior elements. 46417 points, and 0 ghost points.
3 surface markers.
2560 boundary elements in index 0 (Marker = FARFIELD).
1408 boundary elements in index 1 (Marker = WING).
2688 boundary elements in index 2 (Marker = SYMMETRY).

----------------------- Preprocessing computations ----------------------
Identifying vertices.

--------------------------- Read FFD information ------------------------
There is no FFD box definition. Just in case, review the .su2 file

------------------------- Exit Success (SU2_DDC) ------------------------

zampini@pc-zampini:~/Documenti/PhD/SU2/TestCases/rans/oneram6$
so it seems to work, right? The point is that I can not see any new files in the working directory: what's wrong with it?

Thanks a lot,
Samuele
samiam1000 is offline   Reply With Quote

Old   February 7, 2013, 05:23
Default
  #4
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
just played with DDC and figured out that you have to change the PARTITIONING STRATEGY setting in the CFG file. By default, it is set to 0 partitions.

Code:
% --------------------------- PARTITIONING STRATEGY ---------------------------%
%
% Number of partitions of the domain
NUMBER_PART= 4
%
% Write a tecplot/paraview file for each partition (NO, YES)
VISUALIZE_PART= YES
shirazbj is offline   Reply With Quote

Old   February 15, 2013, 20:07
Default
  #5
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Our recommendation is to use the parallel computation script. If not, as Cean pointed out, you should indicate the number of partitions in the config file.
fpalacios is offline   Reply With Quote

Old   February 16, 2013, 00:41
Default
  #6
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 342
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
I think you have not set the SU2_HOME and SU2_RUN variables. The python script is not able to find the executables. Also make sure you are using the latest code since the python scripts have been updated.
praveen is offline   Reply With Quote

Reply

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
Running in parallel Djub OpenFOAM Running, Solving & CFD 3 January 24, 2013 16:01
Welcome to the Stanford University Unstructured (SU2) forum! economon SU2 0 January 7, 2013 02:48
New SU2 Forum Opened at CFD Online pete Site News & Announcements 0 January 5, 2013 17:59
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 12:00


All times are GMT -4. The time now is 00:38.