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

Fix #336

parent 817e8a08
No related branches found
No related tags found
No related merge requests found
...@@ -11,3 +11,5 @@ function plumed_patch_info(){ ...@@ -11,3 +11,5 @@ function plumed_patch_info(){
echo "" echo ""
echo "For more information on NAMD you should visit http://www.ks.uiuc.edu/Research/namd/" echo "For more information on NAMD you should visit http://www.ks.uiuc.edu/Research/namd/"
} }
plumed_ignore_mpi=yes
...@@ -11,3 +11,6 @@ function plumed_patch_info(){ ...@@ -11,3 +11,6 @@ function plumed_patch_info(){
echo "" echo ""
echo "For more information on NAMD you should visit http://www.ks.uiuc.edu/Research/namd/" echo "For more information on NAMD you should visit http://www.ks.uiuc.edu/Research/namd/"
} }
plumed_ignore_mpi=yes
...@@ -57,6 +57,9 @@ save_originals= ...@@ -57,6 +57,9 @@ save_originals=
quiet= quiet=
mdroot= mdroot=
# default value:
plumed_ignore_mpi=no
for option for option
do do
...@@ -281,11 +284,13 @@ case "$action" in ...@@ -281,11 +284,13 @@ case "$action" in
echo "by the PLUMED_KERNEL environment variable" echo "by the PLUMED_KERNEL environment variable"
fi fi
echo "" if [ "$plumed_ignore_mpi" = no ] ; then
if grep -q "D__PLUMED_HAS_MPI=1" "$PLUMED_ROOT"/src/config/compile_options.sh ; then echo ""
echo "PLUMED is compiled with MPI support so you can configure $engine with MPI" if grep -q "D__PLUMED_HAS_MPI=1" "$PLUMED_ROOT"/src/config/compile_options.sh ; then
else echo "PLUMED is compiled with MPI support so you can configure $engine with MPI"
echo "PLUMED is compiled WITHOUT MPI support so you CANNOT configure $engine with MPI" else
echo "PLUMED is compiled WITHOUT MPI support so you CANNOT configure $engine with MPI"
fi
fi fi
......
...@@ -21,3 +21,5 @@ function plumed_patch_info(){ ...@@ -21,3 +21,5 @@ function plumed_patch_info(){
echo "For more information on Quantum Espresso you should visit http://www.quantum-espresso.org" echo "For more information on Quantum Espresso you should visit http://www.quantum-espresso.org"
} }
plumed_ignore_mpi=yes
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