CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Self implemented code is not running in parallel (http://www.cfd-online.com/Forums/openfoam-solving/58379-self-implemented-code-not-running-parallel.html)

michi November 5, 2008 17:01

Dear openFOAM users! I am wor
 
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

alberto November 5, 2008 18:20

What is the error when it stop
 
What is the error when it stops?

A.

michi November 6, 2008 06:09

The error is the following:
 
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


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