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

decomposePar does not work

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fabian_roesler

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2015, 03:01
Smile decomposePar does not work
  #1
New Member
 
Priya Somasundaran
Join Date: Oct 2015
Posts: 6
Rep Power: 10
Priya Somasundaran is on a distinguished road
I am trying to run a model with 14596 cells with 3 node and one processor each using parellel computing. My parallel computing was tested and is working fine when I tested for the pitZDaily example from the tutorial.
But when I am trying to decompose the model with 14596 cells I get the following error
################################################
Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod hierarchical

Finished decomposition in 8.27 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
Aborted (core dumped)
################################################## #

I am using the same decomposeParDict which I used to decompose the pitZDaily case
###############################################
numberOfSubdomains 3;

method hierarchical;


simpleCoeffs
{
n (3 1 1);
delta 0.001;
}
hierarchicalCoeffs
{
n (3 1 1);
delta 0.001;
order xyz;
}

################################################## ###########

Any help would be much appreciated .
Priya Somasundaran is offline   Reply With Quote

Old   October 26, 2015, 04:46
Default
  #2
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Hi

Is it a 2D case? Cause decomposePar doesn't like decomposing in the empty direction.
You could also try the decomposing method scotch.

Code:
numberOfSubdomains 3;

method scotch;
Priya Somasundaran likes this.
fabian_roesler is offline   Reply With Quote

Old   October 26, 2015, 22:41
Default CFD decomposePar
  #3
New Member
 
Priya Somasundaran
Join Date: Oct 2015
Posts: 6
Rep Power: 10
Priya Somasundaran is on a distinguished road
Hi,
Thanks fro responding. It is a 3D buildings mesh. And contrary to what I wrote there are 6331789 cells distributed in each of the processors. I have 3 nodes with one processor each with master having 32 GB of memory and the slaves 16 each.
I tried to use scotch distribution method also , but but a smiliar memory error. Now I am trying to run the distributionPar using MPIRUN so that i can distibute the mesh parallel. But failed.

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.4.0-f0842aea0e77
Exec : redistributePar -parallel
Date : Oct 26 2015
Time : 17:58:48
Host : "Geoscience-PC"
PID : 10202
Case : /quest_cluster/home/quest/OpenFOAM/quest-2.4.0/run/simulation
nProcs : 3
Slaves :
2
(
"Quest-2.14289"
"Quest-1.28844"
)

Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
--> FOAM Warning :
From function redistributePar
in file redistributePar.C at line 444
Detected floating point exception trapping (FOAM_SIGFPE). This might give
problems when mapping fields. Switch it off in case of problems.
Create time

Using mesh subdirectory "polyMesh"

Found points in "/quest_cluster/home/quest/OpenFOAM/quest-2.4.0/run/simulation/processor0/constant/polyMesh"

Per processor mesh availability : 3{1}
Boundary definition OK.
Before distribution:

Processor 0
Number of cells = 6331789
Number of processor patches = 0
Number of processor faces = 0
Number of boundary faces = 1366151

Processor 1
Number of cells = 6331789
Number of processor patches = 0
Number of processor faces = 0
Number of boundary faces = 1366151

Processor 2
Number of cells = 6331789
Number of processor patches = 0
Number of processor faces = 0
Number of boundary faces = 1366151

Number of processor faces = 0
Max number of cells = 6331789 (0% above average 6.33179e+06)
Max number of processor patches = 0 (-100% above average 1)
Max number of faces between processors = 0 (-100% above average 1)

Selecting decompositionMethod hierarchical
Writing wanted cell distribution to volScalarField decomposition for postprocessing purposes.

Merge tolerance : 1e-06
Write tolerance : 1e-06
Overall meshes bounding box : (16700 34600 0) (18000 36000 500)
Relative tolerance : 1e-06
Absolute matching distance : 0.00197484

new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
[Quest-1:28844] *** Process received signal ***
[Quest-1:28844] Signal: Aborted (6)
[Quest-1:28844] Signal code: (-6)
[Quest-1:28844] *** End of error message ***
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
[Quest-2:14289] *** Process received signal ***
[Quest-2:14289] Signal: Aborted (6)
[Quest-2:14289] Signal code: (-6)
[Quest-2:14289] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 28844 on node 192.168.1.107 exited on signal 6 (Aborted).


################################################## ######################

Any clues ? AM I still short of memory ?
Priya Somasundaran is offline   Reply With Quote

Old   October 27, 2015, 01:57
Default
  #4
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Well, 7M Cells should be possible on 32 GB memory. Parallel decomposition is not possible. You have to decompose single core on your master node.
You could top your memory usage while decomposing.
Have you tried running single core on the master node?

Cheers

Fabian

Last edited by fabian_roesler; November 3, 2015 at 03:33.
fabian_roesler 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
[mesh manipulation] Some questions on blockMesh, decomposePar and renumberMesh Leech OpenFOAM Meshing & Mesh Conversion 19 April 5, 2019 19:21
How to run decomposePar with parMetis? xiaow_g OpenFOAM Pre-Processing 16 July 8, 2017 13:37
How to run decomposePar with parMetis? xiaow_g OpenFOAM Running, Solving & CFD 1 March 27, 2012 03:39
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 08:29.