Install Open MPI memchecker tool using valgrind if requested.
This commit is contained in:
parent
607590a842
commit
e9f08eb01c
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ if [[ -d /opt/voltaire/fca ]]; then
|
|||
CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca"
|
||||
fi
|
||||
|
||||
if [ $enable_valgrind != 0 ]; then
|
||||
module load valgrind
|
||||
VALGRIND_HOME=$(dirname $(dirname $(which valgrind)))
|
||||
CONFIGURE_OPTS+=" --enable-memchecker \
|
||||
--with-valgrind=$VALGRIND_HOME"
|
||||
fi
|
||||
|
||||
src_pretest() {
|
||||
make check
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue