Infinite loop error message when an error occur in OF 2.1 installed in Mac OS X 10.9
Dear All,
I have successfully installed OF 2.1 in my new macbook pro, everything works fine, except one thing: when an error occurs in a parallel run the following error message is written on the screen: Code:
*** Process received signal *** How can I fix it? Any ideas? Thanks, Matteo |
Hi,
as there's no official (or reference) release for OS X, you have to describe how did you build the software. Post the case where the error happens for other people to confirm the behavior and maybe propose a fix. |
Thanks Alexey for the suggestion.
I have installed OF 2.1.1 on Mac OS X 10.9.5 with the following patches: - OpenFOAM-2.1.x-Mac-gcc46.patch - OpenFOAM-2.1.x-Mac_20121009.patch following step by step what is suggested in http://openfoamwiki.net/index.php/In...OpenFOAM_2.1.x So, if I type "gcc -v", I get: Code:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Code:
Using built-in specs. Code:
mpirun (Open MPI) 1.5.3 Tnx, Matteo |
Well, more or less. Now you have to wait till someone will bother to install 2.1.1 on OS X 10.9 using gcc46 from Macports and try to reproduce the error.
Btw does this infinite loop happens every time when error occurs in parallel run? I.e. person can just take random case from tutorial, correct settings for FPE to occur, and run the case in parallel. Or this infinite loop happens only with special solver? |
Ok, in my installation the procedure to get this infinite loop is the following:
- in the cavity test case set the viscosity "nu" equal to a negative value - if you run on it "icoFoam", after some solving loop you get the following error message: Code:
Segmentation fault: 11 Code:
*** Process received signal *** Anyone can experience this? Any idea on the reason of this behavior? Thanks, Matteo |
Hi,
I was able to reproduce the error. As a workaround I can propose Code:
$ export -n $FOAM_SIGFPE I'll post a patch here as soon as I figure out the reason for the error and make the patch. |
Great, it works!
I am looking forward getting your patch. Thanks a lot. M |
All times are GMT -4. The time now is 17:01. |