I have a naive question: I compiled a version of Openmpi 1.4.4. with Valgrind :
./configure --prefix=/opt/openmpi-1.4.4/ --enable-debug --enable-memchecker --with-valgrind=/usr....
I want to do memory check.
Usually for debuggin (and running) I compile it with OpenMPI in Ubuntu distributive with
CC = mpic++
CCFLAGS = -g
The question is, can I compile my code just with Ubuntu distro MPI 1.4.3 and then run with this modified
(valgrind) mpirun version:
mpirun -np 8 valgrind ....
?