==18873== Memcheck, a memory error detector ==18873== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==18873== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info ==18873== Command: ./a.out ==18873== ==18874== Memcheck, a memory error detector ==18874== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==18874== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info ==18874== Command: ./a.out ==18874== dyld: Library not loaded: libmpiwrap-amd64-darwin.so Referenced from: PATH./a.out Reason: image not found ==18873== ==18873== Process terminating with default action of signal 5 (SIGTRAP) ==18873== at 0x7FFF5FC01065: dyld_fatal_error (in /usr/lib/dyld) ==18873== by 0x7FFF5FC0699B: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**) (in /usr/lib/dyld) ==18873== by 0x7FFF5FC016D1: dyldbootstrap::start(macho_header const*, int, char const**, long) (in /usr/lib/dyld) ==18873== by 0x7FFF5FC01051: _dyld_start (in /usr/lib/dyld) ==18873== by 0xFFFFFFFF: ??? ==18873== ==18873== HEAP SUMMARY: ==18873== in use at exit: 0 bytes in 0 blocks ==18873== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==18873== ==18873== All heap blocks were freed -- no leaks are possible ==18873== ==18873== For counts of detected and suppressed errors, rerun with: -v ==18873== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) dyld: Library not loaded: libmpiwrap-amd64-darwin.so Referenced from: PATH./a.out Reason: image not found ==18874== ==18874== Process terminating with default action of signal 5 (SIGTRAP) ==18874== at 0x7FFF5FC01065: dyld_fatal_error (in /usr/lib/dyld) ==18874== by 0x7FFF5FC0699B: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**) (in /usr/lib/dyld) ==18874== by 0x7FFF5FC016D1: dyldbootstrap::start(macho_header const*, int, char const**, long) (in /usr/lib/dyld) ==18874== by 0x7FFF5FC01051: _dyld_start (in /usr/lib/dyld) ==18874== by 0xFFFFFFFF: ??? ==18874== ==18874== HEAP SUMMARY: ==18874== in use at exit: 0 bytes in 0 blocks ==18874== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==18874== ==18874== All heap blocks were freed -- no leaks are possible ==18874== ==18874== For counts of detected and suppressed errors, rerun with: -v ==18874== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) -------------------------------------------------------------------------- openmpirun noticed that process rank 1 with PID 18874 on node NODE exited on signal 5 (Trace/BPT trap). -------------------------------------------------------------------------- PATH is the correct path of ./a.out NODE is my correct current node