Skip to content
Snippets Groups Projects
Commit d29c6596 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added warning when using another plumed in regtests

Fixed #114
parent 615b34a9
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,20 @@ echo "++ Processors: $mpiprocs"
mpi=env
plumed=plumed
root=$($plumed info --root)
if test -z "$root" ; then
echo "ERROR: plumed executable not available"
exit 1
fi
cd ../../../../
if [[ "${PWD}"/ != "$root" ]] ; then
echo "WARNING using plumed from $root"
fi
cd -
if ((mpiprocs>0)); then
mpi="${PLUMED_MPIRUN:-mpirun} -np $mpiprocs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment