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

Self implemented code is not running in parallel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2008, 16:01
Default Dear openFOAM users! I am wor
  #1
New Member
 
Michael Wurst
Join Date: Mar 2009
Location: Munich, Germany
Posts: 6
Rep Power: 17
michi is on a distinguished road
Dear openFOAM users!
I am working with OpenFOAM for 4 months now. I implemented some new code in the interfoam solver. The additional code is running on a single processor but now I want to run some cases in parallel. However the test case stops during the first time step. I tried to figure out where the problem is and I could isolate the code part where the solver stopped:


forAll(gamma, cellI)
{
if (gamma[cellI]<0.01 || interfaceIdent[cellI]==1.0)
{
tempVG = tempVG + mesh.V([cellI];
cG = cG + concentration[cellI];
}
else
{
tempVL = tempVL + mesh.V([cellI];
cL = cL + concentration[cellI];
}
}

tempVL and tempVG are scalars,
cL and CG are dimensionedScalars, all initialised with zero.
I also tried with the += "sign" and it did not work either.
It would be great if someone could help me or give me a hint where I could look about it in the code.
Thank you very much!

Michael Wurst
michi is offline   Reply With Quote

Old   November 5, 2008, 17:20
Default What is the error when it stop
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
What is the error when it stops?

A.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   November 6, 2008, 05:09
Default The error is the following:
  #3
New Member
 
Michael Wurst
Join Date: Mar 2009
Location: Munich, Germany
Posts: 6
Rep Power: 17
michi is on a distinguished road
The error is the following:


[nari:01196] *** Process received signal ***
[nari:01196] Signal: Floating point exception (8)
[nari:01196] Signal code: (-6)
[nari:01196] Failing at address: 0x3f1000004ac
[nari:01196] [ 0] /lib64/libc.so.6 [0x2b925e26cbd0]
[nari:01196] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b925e26cb45]
[nari:01196] [ 2] /lib64/libc.so.6 [0x2b925e26cbd0]
[nari:01196] [ 3] /home/mwurst/OpenFOAM/mwurst-1.4.1-dev/applications/bin/linux64GccDPOpt/massInte rFoam9(_ZN4FoamdvIdEENS_11dimensionedIT_EERKS3_RKN S1_IdEE+0x28) [0x466718]
[nari:01196] [ 4] /home/mwurst/OpenFOAM/mwurst-1.4.1-dev/applications/bin/linux64GccDPOpt/massInte rFoam9 [0x4296b0]
[nari:01196] [ 5] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b925e259b54]
[nari:01196] [ 6] /home/mwurst/OpenFOAM/mwurst-1.4.1-dev/applications/bin/linux64GccDPOpt/massInte rFoam9(_ZN4Foam11regIOobject14readIfModifiedEv+0x1 f9) [0x41e399]
[nari:01196] *** End of error message ***
[nari:01195] *** Process received signal ***
[nari:01195] Signal: Floating point exception (8)
[nari:01195] Signal code: (-6)
[nari:01195] Failing at address: 0x3f1000004ab
[nari:01195] [ 0] /lib64/libc.so.6 [0x2b1ef0839bd0]
[nari:01195] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b1ef0839b45]
[nari:01195] [ 2] /lib64/libc.so.6 [0x2b1ef0839bd0]
[nari:01195] [ 3] /home/mwurst/OpenFOAM/mwurst-1.4.1-dev/applications/bin/linux64GccDPOpt/massInte rFoam9(_ZN4FoamdvIdEENS_11dimensionedIT_EERKS3_RKN S1_IdEE+0x28) [0x466718]
[nari:01195] [ 4] /home/mwurst/OpenFOAM/mwurst-1.4.1-dev/applications/bin/linux64GccDPOpt/massInte rFoam9 [0x4296b0]
[nari:01195] [ 5] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b1ef0826b54]
[nari:01195] [ 6] /home/mwurst/OpenFOAM/mwurst-1.4.1-dev/applications/bin/linux64GccDPOpt/massInte rFoam9(_ZN4Foam11regIOobject14readIfModifiedEv+0x1 f9) [0x41e399]
[nari:01195] *** End of error message ***
[nari:01187] [0,0,0] ORTE_ERROR_LOG: Timeout in file base/pls_base_orted_cmds.c at line 275
[nari:01187] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 1166
[nari:01187] [0,0,0] ORTE_ERROR_LOG: Timeout in file errmgr_hnp.c at line 90
mpirun noticed that job rank 3 with PID 1196 on node nari exited on signal 8 (Floating point exception).
[nari:01187] [0,0,0] ORTE_ERROR_LOG: Timeout in file base/pls_base_orted_cmds.c at line 188
[nari:01187] [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.

Has anyone an idea what it means?
Thank you!
Michael Wurst
michi 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
Parallel running of Fluent Bhanu Gupta FLUENT 3 April 7, 2011 09:32
Running in parallel Rasmus Gjesing (Gjesing) OpenFOAM 35 March 31, 2011 18:21
Error while running in PARALLEL Ravi Duggirala FLUENT 4 August 3, 2010 10:01
Running interDyMFoam in parallel sega OpenFOAM Running, Solving & CFD 1 March 12, 2009 05:54
Problems on running cfx in parallel Nan CFX 1 March 29, 2006 04:10


All times are GMT -4. The time now is 05:57.