lihao@h213 ~ % cd /Users/lihao/Desktop/Sample_code_LIHAO/mesh/ParMmg lihao@h213 ParMmg % mpirun -np 1 /Users/lihao/TestPMMG/ParMmg/build/bin/parmmg ./sphere.mesh -sol ./sphere.sol -out sphere-out.mesh -mesh-size 200000 -niter 6 -nlayers 3 -hgradreq 3.0 -- PARMMG, Release 1.0.0 (2016) Copyright (c) Bx INP/INRIA, 2016- Jan 10 2020 13:07:53 -- MMG3D, Release 5.4.2 (Mar. 20, 2019) Copyright (c) Bdx INP/CNRS/Inria/UPMC, 2004- -- INPUT DATA: LOADING MESH ON RANK 0 AddressSanitizer:DEADLYSIGNAL ================================================================= ==4984==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fff6e3cb732 bp 0x7ffeea6f9560 sp 0x7ffeea6f9560 T0) ==4984==The signal is caused by a READ memory access. ==4984==Hint: address points to the zero page. #0 0x7fff6e3cb731 in _platform_strlen (libsystem_platform.dylib:x86_64+0x1731) #1 0x105b4d5f7 in wrap_strrchr (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b5f7) #2 0x10568d982 in MMG5_Get_filenameExt mmg.c:318 #3 0x105507317 in main (parmmg:x86_64+0x100002317) #4 0x7fff6e1cd2e4 in start (libdyld.dylib:x86_64+0x112e4) ==4984==Register values: rax = 0x00000001067e26d8 rbx = 0x0000000000000000 rcx = 0x0000000000000000 rdx = 0x0000000000000000 rdi = 0x0000000000000000 rsi = 0x000000000000002e rbp = 0x00007ffeea6f9560 rsp = 0x00007ffeea6f9560 r8 = 0x00007ffeea6f9e50 r9 = 0x0000000000000000 r10 = 0x00007fff98206578 r11 = 0x00007fff98206570 r12 = 0x00000001067e2688 r13 = 0x00001fffdd4df3d0 r14 = 0x000000000000002e r15 = 0x00001c1800016a19 AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (libsystem_platform.dylib:x86_64+0x1731) in _platform_strlen ==4984==ABORTING [h213:04984] *** Process received signal *** [h213:04984] Signal: Abort trap: 6 (6) [h213:04984] Signal code: (0) [h213:04984] *** End of error message *** -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 0 on node h213 exited on signal 6 (Abort trap: 6).