CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   SU2 (http://www.cfd-online.com/Forums/su2/)
-   -   Parallel SU2 (http://www.cfd-online.com/Forums/su2/112636-parallel-su2.html)

samiam1000 February 1, 2013 11:40

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

fpalacios February 5, 2013 00:46

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

samiam1000 February 7, 2013 05:06

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

shirazbj February 7, 2013 06:23

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


fpalacios February 15, 2013 21:07

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.

praveen February 16, 2013 01:41

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.


All times are GMT -4. The time now is 18:46.