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

Parallel and Partition issue.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2014, 12:31
Unhappy Parallel and Partition issue.
  #1
Member
 
Antoni Alexander
Join Date: Nov 2009
Posts: 43
Rep Power: 17
zkdkeen is on a distinguished road
Dear SU2 users and developers,
I have just installed SU2 v3.2.0 on unbuntu. When I try to run parallel example, I found the SU2_PRT does nothing but only reading grid, twice. I think there should be a metis work during the grid partition, and several sub-grid files after the grid partition, but it does nothing and yields nothing. Why? Is there anything wrong with my installation? or other reason? Any answers will be appreciated. Here is the message.
Code:
$ mpirun -n 2 SU2_PRT inv_ONERAM6.cfg 
-------------------------------------------------------------------------
|    _____   _    _   ___                                               |
|   / ____| | |  | | |__ \    Web: su2.stanford.edu                     |
|  | (___   | |  | |    ) |   Twitter: @su2code                         |
|   \___ \  | |  | |   / /    Forum: www.cfd-online.com/Forums/su2/     |
|   ____) | | |__| |  / /_                                              |
|  |_____/   \____/  |____|   Suite (Grid Partitioning Code)            |
|                             Release 3.2.0 "eagle"                     |
-------------------------------------------------------------------------
| SU2, Copyright (C) 2012-2014 Aerospace Design Laboratory (ADL).       |
| SU2 is distributed in the hope that it will be useful,                |
| but WITHOUT ANY WARRANTY; without even the implied warranty of        |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
| Lesser General Public License (version 2.1) for more details.         |
-------------------------------------------------------------------------

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

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

------------------- Config file boundary information --------------------
Euler wall boundary marker(s): UPPER_SIDE, LOWER_SIDE, TIP.
Far-field boundary marker(s): XNORMAL_FACES, ZNORMAL_FACES, YNORMAL_FACE.
Symmetry plane boundary marker(s): SYMMETRY_FACE.

---------------------- Read grid file information -----------------------
Three dimensional problem.
582752 interior elements. 

-------------------------------------------------------------------------
|    _____   _    _   ___                                               |
|   / ____| | |  | | |__ \    Web: su2.stanford.edu                     |
|  | (___   | |  | |    ) |   Twitter: @su2code                         |
|   \___ \  | |  | |   / /    Forum: www.cfd-online.com/Forums/su2/     |
|   ____) | | |__| |  / /_                                              |
|  |_____/   \____/  |____|   Suite (Grid Partitioning Code)            |
|                             Release 3.2.0 "eagle"                     |
-------------------------------------------------------------------------
| SU2, Copyright (C) 2012-2014 Aerospace Design Laboratory (ADL).       |
| SU2 is distributed in the hope that it will be useful,                |
| but WITHOUT ANY WARRANTY; without even the implied warranty of        |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
| Lesser General Public License (version 2.1) for more details.         |
-------------------------------------------------------------------------

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

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

------------------- Config file boundary information --------------------
Euler wall boundary marker(s): UPPER_SIDE, LOWER_SIDE, TIP.
Far-field boundary marker(s): XNORMAL_FACES, ZNORMAL_FACES, YNORMAL_FACE.
Symmetry plane boundary marker(s): SYMMETRY_FACE.

---------------------- Read grid file information -----------------------
Three dimensional problem.
582752 interior elements. 
582752 tetrahedra.
108396 points.
582752 tetrahedra.
108396 points.
7 surface markers.
17284 boundary elements in index 0 (Marker = LOWER_SIDE).
7 surface markers.
17284 boundary elements in index 0 (Marker = LOWER_SIDE).
2597 boundary elements in index 1 (Marker = TIP).
16573 boundary elements in index 2 (Marker = UPPER_SIDE).
2597 boundary elements in index 1 (Marker = TIP).
16573 boundary elements in index 2 (Marker = UPPER_SIDE).
173 boundary elements in index 3 (Marker = XNORMAL_FACES).
142 boundary elements in index 4 (Marker = ZNORMAL_FACES).
153 boundary elements in index 5 (Marker = YNORMAL_FACE).
1834 boundary elements in index 6 (Marker = SYMMETRY_FACE).

Completed in 0.000001 seconds on 1 core.

------------------------- Exit Success (SU2_PRT) ------------------------

173 boundary elements in index 3 (Marker = XNORMAL_FACES).
142 boundary elements in index 4 (Marker = ZNORMAL_FACES).
153 boundary elements in index 5 (Marker = YNORMAL_FACE).
1834 boundary elements in index 6 (Marker = SYMMETRY_FACE).

Completed in 0.000000 seconds on 1 core.

------------------------- Exit Success (SU2_PRT) ------------------------
zkdkeen is offline   Reply With Quote

Old   June 20, 2014, 10:21
Default
  #2
Member
 
Join Date: Sep 2013
Posts: 43
Rep Power: 13
Combas is on a distinguished road
Hello,

I had some problems with the MPI libraries that I solved: you can have a look at this post (http://www.cfd-online.com/Forums/su2...t-4-times.html) where I explained my problem (and the solution).
Maybe, You get the same problem...

Laurent
Combas is offline   Reply With Quote

Old   June 26, 2014, 20:32
Default
  #3
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Quote:
Originally Posted by zkdkeen View Post
Dear SU2 users and developers,
I have just installed SU2 v3.2.0 on unbuntu. When I try to run parallel example, I found the SU2_PRT does nothing but only reading grid, twice. I think there should be a metis work during the grid partition, and several sub-grid files after the grid partition, but it does nothing and yields nothing. Why? Is there anything wrong with my installation? or other reason? Any answers will be appreciated. Here is the message.
I can't get an output either.

I looked at the src roughly. It sets size=1 at the beginning and all partition work is done within:

if (size > 1) {
all partition work
}

Sure, it will do nothing.

I think this 'size' means number of cpu cores as it is used at the end to print out finished on how many cores. So the if block may be changed to:

if (nZone > 1) {
all partition work. nZone is needed. Can do with one core or more cores.
}

But nZone=1 is also set at the begining.

I tried to set nZone=4 and/or add these lines in cfg file:

% --------------------------- PARTITIONING STRATEGY ---------------------------%
% Number of partitions of the domain
NUMBER_PART= 4

The program begin to "read grid file information" and then crashed.

Last edited by shirazbj; June 26, 2014 at 23:30.
shirazbj is offline   Reply With Quote

Old   July 7, 2014, 11:08
Default
  #4
Member
 
Antoni Alexander
Join Date: Nov 2009
Posts: 43
Rep Power: 17
zkdkeen is on a distinguished road
Quote:
Originally Posted by Combas View Post
Hello,

I had some problems with the MPI libraries that I solved: you can have a look at this post (http://www.cfd-online.com/Forums/su2...t-4-times.html) where I explained my problem (and the solution).
Maybe, You get the same problem...

Laurent
Yeah, it is parallel installing problem. After carefully reinstall openmpi, the problem was solved!
Thanks, Laurent!
zkdkeen 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
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 15:43
parallel issue: global face zone/patch ... matteoL OpenFOAM Running, Solving & CFD 2 June 16, 2010 07:22
Issue regarding creation of Partition file Jwala.R OpenFOAM 0 July 1, 2009 12:49
How to specify partition count for local parallel rohit CFX 2 October 17, 2008 04:48
basic rules for partition domain for parallel run phsieh2005 Main CFD Forum 19 September 18, 2006 10:34


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