Re: [OMPI users] Memchecker and MPI_Comm_spawn

2020-05-09 Thread Gilles Gouaillardet via users
Kurt, the error is "valgrind myApp" is not an executable (but this is a command a shell can interpret) so you have several options: - use a wrapper (e.g. myApp.valgrind) that forks&exec valgrind myApp) - MPI_Comm_spawn("valgrind", argv, ...) after you inserted "myApp" at the beginning of argv -

[OMPI users] Memchecker and MPI_Comm_spawn

2020-05-09 Thread Mccall, Kurt E. (MSFC-EV41) via users
How can I run OpenMPI's Memchecker on a process created by MPI_Comm_spawn()? I've configured OpenMPI 4.0.3 for Memchecker, along with Valgrind 3.15.0 and it works quite well on processes created directly by mpiexec. I tried to do something analogous by pre-pending "valgrind" onto the command