[aspect-devel] floating point exception eror

Thieulot, C. (Cedric) c.thieulot at uu.nl
Tue Jun 9 05:00:55 PDT 2015


hi all,

back in Utrecht, we are trying to compile the latest ASPECT build on our cluster GAIA with a freshly installed compiler:

COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/GCC/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr/local/GCC --mandir=/usr/local/GCC/share/man --infodir=/usr/local/GCC/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,fortran,ada --disable-dssi --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 (GCC)

GAIA is a 1000 core cluster running Scientific Linux Release 6.4 (Carbon)
[thieulot at gaia build]$ uname -r
2.6.32-131.2.1.el6.x86_64

We have started last week from scratch in a new folder and succesfully installed p4est, trilinos-11.4.2 and deal.ii-8.3.pre .
We clone the master from ASPECT github , succesfully compile the code and try to run cookbook/convection_box.prm
Here’s the error message that is returned:

[thieulot at gaia build]$ ./aspect ../cookbooks/convection-box.prm
-----------------------------------------------------------------------------
-- This is ASPECT, the Advanced Solver for Problems in Earth's ConvecTion.
--     . version 1.4.pre
--     . running in DEBUG mode
--     . running with 1 MPI process
--     . using Trilinos
-----------------------------------------------------------------------------
[gaia:35538] *** Process received signal ***
[gaia:35538] Signal: Floating point exception (8)
[gaia:35538] Signal code: Invalid floating point operation (7)
[gaia:35538] Failing at address: 0x3f1ac41cb0
[gaia:35538] [ 0] /lib64/libpthread.so.0[0x3f1b00f710]
[gaia:35538] [ 1] /lib64/libc.so.6[0x3f1ac41cb0]
[gaia:35538] [ 2] /lib64/libc.so.6(__printf_fp+0x97e)[0x3f1ac4a53e]
[gaia:35538] [ 3] /lib64/libc.so.6(_IO_vfprintf+0x18d0)[0x3f1ac458a0]
[gaia:35538] [ 4] /lib64/libc.so.6(vsnprintf+0xa2)[0x3f1ac6f752]
[gaia:35538] [ 5] /usr/local/GCC/lib64/libstdc++.so.6(+0x88f2f)[0x7fffe391ff2f]
[gaia:35538] [ 6] /usr/local/GCC/lib64/libstdc++.so.6(_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE15_M_insert_floatIdEES3_S3_RSt8ios_baseccT_+0xaa)[0x7fffe3926eca]
[gaia:35538] [ 7] /usr/local/GCC/lib64/libstdc++.so.6(_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecd+0x10)[0x7fffe3927190]
[gaia:35538] [ 8] /usr/local/GCC/lib64/libstdc++.so.6(_ZNSo9_M_insertIdEERSoT_+0xc5)[0x7fffe3933b35]
[gaia:35538] [ 9] /home/aspect/deal.ii/deal.ii_2015-06-04-v11.4/dealii/build/lib/libdeal_II.g.so.8.3.pre(_ZNK6dealii8Patterns6Double11descriptionEv+0x238)[0x7ffff5e2ed46]
[gaia:35538] [10] /home/aspect/deal.ii/deal.ii_2015-06-04-v11.4/dealii/build/lib/libdeal_II.g.so.8.3.pre(_ZN6dealii16ParameterHandler13declare_entryERKSsS2_RKNS_8Patterns11PatternBaseES2_+0x625)[0x7ffff5e391ed]
[gaia:35538] [11] ./aspect(_ZN6aspect10ParametersILi2EE18declare_parametersERN6dealii16ParameterHandlerE+0x4e3)[0x8e2ad3]
[gaia:35538] [12] ./aspect(_ZN6aspect9SimulatorILi2EE18declare_parametersERN6dealii16ParameterHandlerE+0x9)[0x8e7e7d]
[gaia:35538] [13] ./aspect(main+0x440)[0x91a90c]
[gaia:35538] [14] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3f1ac1ed5d]
[gaia:35538] [15] ./aspect[0x60a949]
[gaia:35538] *** End of error message ***
Floating point exception (core dumped)

We have tried to run the code on all cookbooks and always get this kind of error.

We then proceeded to install the official release 1.3 and got it to compile and run seamlessly.
In light thereof, we started checking out all the merges that were done between v1.3 and last week, i.e.
the ones during the hackathon. We finally narrowed it down to …. (drum roll) … Merge 441 (yes Timo,
we are looking at you ;-)
For clarity, the merge before (459) works fine.

We have also set ASPECT_USE_FP_EXCEPTIONS=ON/OFF , to no avail.

Timo, would you please comment on what you think might be going on ?

Cheers,

Cedric/Menno/Anne



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20150609/10452f3a/attachment.html>


More information about the Aspect-devel mailing list