Dear All,
I've been trying to figure this out for a while, but I could not make this combination of things work on my system.
/usr/bin/clang++
Trilinos 11.0.3
deal.II
Anytime I try to compile any example using this combination I get the following:
./step-1
Segmentation fault: 11
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xffffffffffffffe8
0x000000010ec71150 in global constructors keyed to a ()
This has been happening for a while now, and it happens also if I run Trilinos examples alone, so I guess it is related with a little mess made by Trilinos 11.0.3. Online this has been reported as a compiler bug triggered in some rare cases, but I could not really follow the explanations.
If I disable Trilinos and recompile deal.II, everything works fine with deal.II. I'm now trying another native compiler which is installed by XCode command line tools:
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc
I'm not sure if this is present in all installations of XCode, but if this work, we should advise people not to use clang when compiling Trilinos+Deal.II under Mac.
L.
--
Luca Heltai <
luca....@gmail.com>
http://people.sissa.it/~heltai/
Scuola Internazionale Superiore di Studi Avanzati
Phone: +39 040 3787 449, Office: 622
--
There are no answers, only cross references