Skip to content
Snippets Groups Projects
Commit 8771f4ab authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

patches: tell whether plumed is compiled with MPI or not

hopefully will avoid some mail to the mailing list
parent 23640d91
No related branches found
No related tags found
No related merge requests found
......@@ -257,11 +257,20 @@ case "$action" in
test -n "$quiet" || echo "Patching with stored diff"
bash "$diff"
fi
echo ""
if $PLUMED_ROOT/src/lib/plumed --has-mpi; then
echo "PLUMED is compiled with MPI support so you can configure $engine with MPI"
else
echo "PLUMED is compiled WITHOUT MPI support so you CANNOT configure $engine with MPI"
fi
if type -t plumed_after_patch 1>/dev/null ; then
test -n "$quiet" || echo "Executing plumed_after_patch function"
plumed_after_patch
fi
;;
(info)
if type -t plumed_patch_info 1>/dev/null ; then
......
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