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

Error using exp() when running in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2019, 08:40
Default Error using exp() when running in parallel
  #1
New Member
 
Join Date: Dec 2016
Posts: 23
Rep Power: 9
Dozer_94 is on a distinguished road
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
Has anyone experienced this before?

Thanks in advance,
Dozer_94 is offline   Reply With Quote

Old   July 17, 2019, 14:38
Default
  #2
New Member
 
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 11
RobinZ is on a distinguished road
can you post your code, maybe i can help you then.


kind regards



Robin
RobinZ is offline   Reply With Quote

Old   July 24, 2019, 11:20
Default
  #3
New Member
 
Join Date: Dec 2016
Posts: 23
Rep Power: 9
Dozer_94 is on a distinguished road
Hi Robin,

I changed nothing. The error is gone now... Oh the miracles of programming
Dozer_94 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
Error running simpleFoam in parallel Yuby OpenFOAM Running, Solving & CFD 14 October 7, 2021 04:38
[Other] blueCFD-Core-2016 user compiled solvers not running in parallel sbence OpenFOAM Installation 10 December 5, 2018 08:44
Error running openfoam in parallel fede32 OpenFOAM Programming & Development 5 October 4, 2018 16:38
error while running in parallel using openmpi on local mc 6 processors suryawanshi_nitin OpenFOAM 10 February 22, 2017 21:33
Fluent 14.0 file not running in parallel mode in cluster tejakalva FLUENT 0 February 4, 2015 07:02


All times are GMT -4. The time now is 01:09.