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

problem with running in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2011, 05:06
Default problem with running in parallel
  #1
Member
 
supercommandodhruv
Join Date: Sep 2011
Posts: 57
Rep Power: 15
dhruv is on a distinguished road
Hello All,

I am having a problem with running a case in parallel. I am trying to run the case on 4 cores, with porousSimpleFoam as my solver. I am getting the following error. The case is getting decomposed, and also runs potentialFoam. But as soon as it starts the calculation, then, I get this error. I tried to run it not in parallel, and it works perfectly. I tried to check with one of my other case of porousSimpleFoam, and that works too, in parallel and in series. I don't understand the problem.

Quote:

1. Teil der Rechnung läuft ...
[1] #0 Foam::error:rintStack(Foam::Ostream&)[3] #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #2 in "/lib/libc.so.6"
[1] #3 Foam:rocessorPolyPatch::updateMesh(Foam::Pstream Buffers&) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #4 Foam:olyBoundaryMesh::updateMesh() in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #5 Foam:olyMesh:olyMesh(Foam::IOobject const&) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #6 Foam::fvMesh::fvMesh(Foam::IOobject const&) in "/opt/openfoam200/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[1] #7
[1] in "/opt/openfoam200/platforms/linux64GccDPOpt/bin/porousSimpleFoam"
[1] #8 __libc_start_main in "/lib/libc.so.6"
[1] #9
[1] in "/opt/openfoam200/platforms/linux64GccDPOpt/bin/porousSimpleFoam"
[PCDESZR100998:06609] *** Process received signal ***
[PCDESZR100998:06609] Signal: Segmentation fault (11)
[PCDESZR100998:06609] Signal code: (-6)
[PCDESZR100998:06609] Failing at address: 0x3eb000019d1
[PCDESZR100998:06609] [ 0] /lib/libc.so.6(+0x33af0) [0x7fd6bf9e2af0]
[PCDESZR100998:06609] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7fd6bf9e2a75]
[PCDESZR100998:06609] [ 2] /lib/libc.so.6(+0x33af0) [0x7fd6bf9e2af0]
[PCDESZR100998:06609] [ 3] /opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18processorPolyPatch10updat eMeshERNS_14PstreamBuffersE+0x2e6) [0x7fd6c09991e6]
[PCDESZR100998:06609] [ 4] /opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam16polyBoundaryMesh10updateM eshEv+0x2b1) [0x7fd6c09a0211]
[PCDESZR100998:06609] [ 5] /opt/openfoam200/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8polyMeshC2ERKNS_8IOobjectE +0x1042) [0x7fd6c09f10f2]
[PCDESZR100998:06609] [ 6] /opt/openfoam200/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam6fvMeshC1ERKNS_8IOobjec tE+0x19) [0x7fd6c15e5119]
[PCDESZR100998:06609] [ 7] porousSimpleFoam() [0x41c9e3]
[PCDESZR100998:06609] [ 8] /lib/libc.so.6(__libc_start_main+0xfd) [0x7fd6bf9cdc4d]
[PCDESZR100998:06609] [ 9] porousSimpleFoam() [0x41a269]
[PCDESZR100998:06609] *** End of error message ***
Does anyone have an idea???

Regards,
Dhruv.
dhruv is offline   Reply With Quote

Old   November 10, 2011, 11:33
Default More Information Needed
  #2
New Member
 
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16
danishdude is on a distinguished road
Can you give us the top part of the error message? Also, what command are you using to run in parallel?
danishdude is offline   Reply With Quote

Old   November 10, 2011, 20:20
Default
  #3
Member
 
任芸
Join Date: Jun 2009
Posts: 75
Rep Power: 17
renyun0511 is on a distinguished road
hi, Dhruv and danishdude,
I am with the same problem when I use MRFSimpleFoam (OpenFOAM-1.5-dev) in parallel running. The command and steps I adopted are:
http://www.cfd-online.com/Forums/ope...lel-error.html
Here is the information of this error:
Quote:
ibnode1:/public/home/test/ry/OpenFOAM/1.0 # mpirun -np 4 MRFSimpleFoam -parallel
Starting time loop
Creating ggi check
Time = 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0366575, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0436506, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0366069, No Iterations 2
[ibnode1:15759] *** Process received signal ***
[ibnode1:15759] Signal: Floating point exception (8)
[ibnode1:15759] Signal code: (-6)
[ibnode1:15759] Failing at address: 0x3d8f
[ibnode1:15759] [ 0] /lib64/libc.so.6(+0x329e0) [0x7fa88afa29e0]
[ibnode1:15759] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x7fa88afa2945]
[ibnode1:15759] [ 2] /public/software/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPDebug/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x aa) [0x7fa88c126760]
[ibnode1:15759] [ 3] /lib64/libc.so.6(+0x329e0) [0x7fa88afa29e0]
[ibnode1:15759] [ 4] /public/software/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPDebug/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRK NS_5UListIdEE+0x6b) [0x7fa88c06906c]
[ibnode1:15759] [ 5] MRFSimpleFoam(_ZN4Foam6divideINS_12fvPatchFieldEEE vRNS_10FieldFieldIT_dEERKdRKS4_+0x52) [0x459822]
[ibnode1:15759] [ 6] MRFSimpleFoam(_ZN4Foam6divideINS_12fvPatchFieldENS _7volMeshEEEvRNS_14GeometricFieldIdT_T0_EERKNS_11d imensionedIdEERKS6_+0x76) [0x4598ba]
[ibnode1:15759] [ 7] MRFSimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7vol MeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_ 11dimensionedIdEERKS8_+0x374) [0x45db48]
[ibnode1:15759] [ 8] MRFSimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7vol MeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKdRK S8_+0x38) [0x45dc26]
[ibnode1:15759] [ 9] MRFSimpleFoam() [0x43169e]
[ibnode1:15759] [10] /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fa88af8ebc6]
[ibnode1:15759] [11] MRFSimpleFoam() [0x42fa29]
[ibnode1:15759] *** End of error message ***
[ibnode1:15758] *** Process received signal ***
[ibnode1:15758] Signal: Floating point exception (8)
[ibnode1:15758] Signal code: (-6)
[ibnode1:15758] Failing at address: 0x3d8e
[ibnode1:15757] *** Process received signal ***
[ibnode1:15757] Signal: Floating point exception (8)
[ibnode1:15757] Signal code: (-6)
[ibnode1:15757] Failing at address: 0x3d8d
[ibnode1:15758] [ 0] /lib64/libc.so.6(+0x329e0) [0x7f874dde39e0]
[ibnode1:15758] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x7f874dde3945]
[ibnode1:15758] [ 2] /public/software/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPDebug/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x aa) [0x7f874ef67760]
[ibnode1:15758] [ 3] /lib64/libc.so.6(+0x329e0) [0x7f874dde39e0]
[ibnode1:15758] [ 4] /public/software/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPDebug/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRK NS_5UListIdEE+0x6b) [0x7f874eeaa06c]
[ibnode1:15758] [ 5] MRFSimpleFoam(_ZN4Foam6divideINS_12fvPatchFieldEEE vRNS_10FieldFieldIT_dEERKdRKS4_+0x52) [0x459822]
[ibnode1:15758] [ 6] MRFSimpleFoam(_ZN4Foam6divideINS_12fvPatchFieldENS _7volMeshEEEvRNS_14GeometricFieldIdT_T0_EERKNS_11d imensionedIdEERKS6_+0x76) [0x4598ba]
[ibnode1:15758] [ 7] MRFSimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7vol MeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_ 11dimensionedIdEERKS8_+0x374) [0x45db48]
[ibnode1:15758] [ 8] MRFSimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7vol MeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKdRK S8_+0x38) [0x45dc26]
[ibnode1:15758] [ 9] MRFSimpleFoam() [0x43169e]
[ibnode1:15758] [10] /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f874ddcfbc6]
[ibnode1:15758] [11] MRFSimpleFoam() [0x42fa29]
[ibnode1:15758] *** End of error message ***
[ibnode1:15757] [ 0] /lib64/libc.so.6(+0x329e0) [0x7fb116bd99e0]
[ibnode1:15757] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x7fb116bd9945]
[ibnode1:15757] [ 2] /public/software/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPDebug/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x aa) [0x7fb117d5d760]
[ibnode1:15757] [ 3] /lib64/libc.so.6(+0x329e0) [0x7fb116bd99e0]
[ibnode1:15757] [ 4] /public/software/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPDebug/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRK NS_5UListIdEE+0x6b) [0x7fb117ca006c]
[ibnode1:15757] [ 5] MRFSimpleFoam(_ZN4Foam6divideINS_12fvPatchFieldEEE vRNS_10FieldFieldIT_dEERKdRKS4_+0x52) [0x459822]
[ibnode1:15757] [ 6] MRFSimpleFoam(_ZN4Foam6divideINS_12fvPatchFieldENS _7volMeshEEEvRNS_14GeometricFieldIdT_T0_EERKNS_11d imensionedIdEERKS6_+0x76) [0x4598ba]
[ibnode1:15757] [ 7] MRFSimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7vol MeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_ 11dimensionedIdEERKS8_+0x374) [0x45db48]
[ibnode1:15757] [ 8] MRFSimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7vol MeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKdRK S8_+0x38) [0x45dc26]
[ibnode1:15757] [ 9] MRFSimpleFoam() [0x43169e]
[ibnode1:15757] [10] /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fb116bc5bc6]
[ibnode1:15757] [11] MRFSimpleFoam() [0x42fa29]
[ibnode1:15757] *** End of error message ***
[ibnode1:15753] [0,0,0] ORTE_ERROR_LOG: Timeout in file base/pls_base_orted_cmds.c at line 275
[ibnode1:15753] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 1166
[ibnode1:15753] [0,0,0] ORTE_ERROR_LOG: Timeout in file errmgr_hnp.c at line 90
mpirun noticed that job rank 2 with PID 15758 on node ibnode1 exited on signal 8 (Floating point exception).
1 additional process aborted (not shown)
[ibnode1:15753] [0,0,0] ORTE_ERROR_LOG: Timeout in file base/pls_base_orted_cmds.c at line 188
[ibnode1:15753] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 1198
--------------------------------------------------------------------------
mpirun was unable to cleanly terminate the daemons for this job. Returned value Timeout instead of ORTE_SUCCESS.
--------------------------------------------------------------------------
How can you solve this problem?

Yun Ren
regards,
Jiangsu University, China

Last edited by renyun0511; April 20, 2013 at 05:11.
renyun0511 is offline   Reply With Quote

Old   November 25, 2011, 06:06
Default
  #4
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18
idrama is on a distinguished road
I only can speculate, but the final residual of Ux etc. are a bit to coarse. Adjust the linear solver setting in order to obtain a better residual. Probably, this might solve your problem. I dosent seems to be mpi problem.

Cheers
idrama 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
Running mapFields with Parallel Source and Parallel Target RDanks OpenFOAM Pre-Processing 4 August 2, 2016 06:24
problem in the CFX12.1 parallel computation BalanceChen ANSYS 2 July 7, 2011 11:26
Problem running a parallel fluent job on local machine via mpd highhopes FLUENT 0 March 3, 2011 06:07
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
parallel mode - small problem? co2 FLUENT 2 June 2, 2004 00:47


All times are GMT -4. The time now is 23:45.