|
[Sponsors] |
July 10, 2019, 09:40 |
Error using exp() when running in parallel
|
#1 |
New Member
Join Date: Dec 2016
Posts: 24
Rep Power: 9 |
Hi all,
I have written a solver which does some additional miscellaneous calculations not directly connected to the flow field. Normally, this works fine, but when I try to run the model in parallel, OpenFoam throws a gigantic error. I have isolated the error and it emanates from the "exp()" function which is used in several lines. I will not bother you with the entire error but it starts with the following lines: Code:
[0] #0[2] #0 [1] #0 Foam::error::printStack(Foam::Ostream&) Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&) at ??:? [0] #1 Foam::sigFpe::sigHandler(int) at ??:? [1] #1 Foam::sigFpe::sigHandler(int) at ??:? [2] #1 Foam::sigFpe::sigHandler(int) at ??:? [0] #2 ? at ??:? [1] #2 ? at ??:? [2] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" [0] #3 in "/lib/x86_64-linux-gnu/libc.so.6" [1] #3 in "/lib/x86_64-linux-gnu/libc.so.6" [2] #3 ??? in "/home/ruben/OpenFOAM/ruben-6/platforms/linux64GccDPInt32Opt/bin/multiGrainLDF" [0] #4 __libc_start_main in "/home/ruben/OpenFOAM/ruben-6/platforms/linux64GccDPInt32Opt/bin/multiGrainLDF" [1] #4 __libc_start_main in "/home/ruben/OpenFOAM/ruben-6/platforms/linux64GccDPInt32Opt/bin/multiGrainLDF" [2] #4 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [0] #5 in "/lib/x86_64-linux-gnu/libc.so.6" [1] #5 ? in "/lib/x86_64-linux-gnu/libc.so.6" [2] #5 ?? in "/home/ruben/OpenFOAM/ruben-6/platforms/linux64GccDPInt32Opt/bin/multiGrainLDF" [TFE251:21275] *** Process received signal *** [TFE251:21275] Signal: Floating point exception (8) [TFE251:21275] Signal code: (-6) [TFE251:21275] Failing at address: 0x3e90000531b Thanks in advance, |
|
July 17, 2019, 15:38 |
|
#2 |
New Member
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 12 |
can you post your code, maybe i can help you then.
kind regards Robin |
|
July 24, 2019, 12:20 |
|
#3 |
New Member
Join Date: Dec 2016
Posts: 24
Rep Power: 9 |
Hi Robin,
I changed nothing. The error is gone now... Oh the miracles of programming |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error running simpleFoam in parallel | Yuby | OpenFOAM Running, Solving & CFD | 14 | October 7, 2021 05:38 |
[Other] blueCFD-Core-2016 user compiled solvers not running in parallel | sbence | OpenFOAM Installation | 10 | December 5, 2018 09:44 |
Error running openfoam in parallel | fede32 | OpenFOAM Programming & Development | 5 | October 4, 2018 17:38 |
error while running in parallel using openmpi on local mc 6 processors | suryawanshi_nitin | OpenFOAM | 10 | February 22, 2017 22:33 |
Fluent 14.0 file not running in parallel mode in cluster | tejakalva | FLUENT | 0 | February 4, 2015 08:02 |