On Wed, 22 Jun 2016, 张江 wrote:

I run “make check” and find the error:

make[2]: Entering directory 
`/nfs/proj-tpeterka/jiang/code/libmesh-1.0.0-rc2/tests'
./unit_tests-devel
[compute:39297] *** Process received signal ***
[compute:39297] Signal: Segmentation fault (11)
[compute:39297] Signal code: Address not mapped (1)
[compute:39297] Failing at address: 0x44000098
[compute:39297] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) 
[0x2b7d42a43cb0]
[compute:39297] [ 1] /usr/lib/libmpi.so.0(MPI_Comm_size+0x5e) [0x2b7d40913fbe]
[compute:39297] [ 2] 
/nfs/jiang/code/libmesh-1.0.0-rc2/tests/.libs/unit_tests-devel(_ZN7libMesh8Parallel12Communicator6assignERKi+0x36)
 [0x4d6616]
[compute:39297] [ 3] 
/nfs/jiang/code/libmesh-1.0.0-rc2/.libs/libmesh_devel.so.0(_ZN7libMesh11LibMeshInitC1EiPKPKci+0xb31)
 [0x2b7d3f73b4e1]
[compute:39297] [ 4] 
/nfs/jiang/code/libmesh-1.0.0-rc2/tests/.libs/unit_tests-devel() [0x41d1fa]
[compute:39297] [ 5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) 
[0x2b7d433c376d]
[compute:39297] [ 6] 
/nfs/jiang/code/libmesh-1.0.0-rc2/tests/.libs/unit_tests-devel() [0x41f561]
[compute:39297] *** End of error message ***
./run_unit_tests.sh: line 5: 39297 Segmentation fault      (core dumped) 
$LIBMESH_RUN ./unit_tests-$method
FAIL: run_unit_tests.sh

Maybe it is caused by my MPI installation.

Well, it does seem to be dying the first time it really queries an MPI
communicator.

I seem to recall some old MPI implementations that *required* you to
run your application via their launcher if you were initializing their
library.  Try using

LIBMESH_RUN='mpirun -np 1' make check

or

LIBMESH_RUN='mpiexec -np 1' make check

and see if either of those work any better?
---
Roy
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to