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
=================================================================
==3532==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fff6e3cb732 bp 0x7ffee5b9b560 sp 0x7ffee5b9b560 T0)
==3532==The signal is caused by a READ memory access.
==3532==Hint: address points to the zero page.
    #0 0x7fff6e3cb731 in _platform_strlen (libsystem_platform.dylib:x86_64+0x1731)
    #1 0x10a6aa5f7 in wrap_strrchr (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1b5f7)
    #2 0x10a1eb982 in MMG5_Get_filenameExt mmg.c:318
    #3 0x10a065317 in main (parmmg:x86_64+0x100002317)
    #4 0x7fff6e1cd2e4 in start (libdyld.dylib:x86_64+0x112e4)

==3532==Register values:
rax = 0x000000010b33f6d8  rbx = 0x0000000000000000  rcx = 0x0000000000000000  rdx = 0x0000000000000000  
rdi = 0x0000000000000000  rsi = 0x000000000000002e  rbp = 0x00007ffee5b9b560  rsp = 0x00007ffee5b9b560  
 r8 = 0x00007ffee5b9be50   r9 = 0x0000000000000000  r10 = 0x00007fff98206578  r11 = 0x00007fff98206570  
r12 = 0x000000010b33f688  r13 = 0x00001fffdcb737d0  r14 = 0x000000000000002e  r15 = 0x00001c1800016a19  
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (libsystem_platform.dylib:x86_64+0x1731) in _platform_strlen
==3532==ABORTING
[h213:03532] *** Process received signal ***
[h213:03532] Signal: Abort trap: 6 (6)
[h213:03532] Signal code:  (0)
[h213:03532] *** 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).
--------------------------------------------------------------------------