Hello, I'm trying to install libmesh on a MacOS X 10.6.7, which has a gcc-4.2 compiler from Xcode 3.2.6. I had no trouble with compiling libmesh, but I got a seg fault error for the examples.
First, I source-compiled petsc with the following configuration option: export PETSC_DIR=$PWD ./config/configure.py --prefix=/usr/local/share/petsc/petsc-3.1-p8 --with-cc=gcc --with-cxx=g++ --with-fc=0 —download-c-blas-lapack=1 --download-mpich=1 make sudo make install PETSC_DIR=$PWD make PETSC_DIR=/usr/local/share/petsc/petsc-3.1-p8 test and test results were good. After petsc, I source-compiled an svn version of libmesh with the following configuration option: export METHOD=dbg ./configure PETSC_DIR=/usr/local/share/petsc/petsc-3.1-p8 --enable-petsc and had no errors during the compilation. However, when I tried to test libmesh with the examples, I got the following message: Makefile:69: .depend: No such file or directory Compiling C++ (in debug mode) ex0.C... Linking ex0-dbg... *************************************************************** * Running Example ./ex0-dbg *************************************************************** [maclaurin-one-o-seventy-one:63325] *** Process received signal *** [maclaurin-one-o-seventy-one:63325] Signal: Segmentation fault (11) [maclaurin-one-o-seventy-one:63325] Signal code: Address not mapped (1) [maclaurin-one-o-seventy-one:63325] Failing at address: 0x440000b0 [maclaurin-one-o-seventy-one:63325] [ 0] 2 libSystem.B.dylib 0x00007fff8143666a _sigtramp + 26 [maclaurin-one-o-seventy-one:63325] [ 1] 3 ??? 0x0000000000000000 0x0 + 0 [maclaurin-one-o-seventy-one:63325] [ 2] 4 libmesh.dylib 0x0000000100b87a41 _ZN7libMesh5_initERiRPPci + 1277 [maclaurin-one-o-seventy-one:63325] [ 3] 5 libmesh.dylib 0x0000000100b88e91 _ZN7libMesh11LibMeshInitC1ERiRPPci + 53 [maclaurin-one-o-seventy-one:63325] [ 4] 6 ex0-dbg 0x00000001000036c0 main + 53 [maclaurin-one-o-seventy-one:63325] [ 5] 7 ex0-dbg 0x0000000100002c2c start + 52 [maclaurin-one-o-seventy-one:63325] [ 6] 8 ??? 0x0000000000000001 0x0 + 1 [maclaurin-one-o-seventy-one:63325] *** End of error message *** make[2]: *** [run] Segmentation fault make[1]: *** [run] Error 1 make: *** [run_examples] Error 2 I'd appreciate it if someone could help me with this problem. Sincerely, K. Lee. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
