mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 13:45:27 -04:00
exit 1 when mpif90 is not present
This commit is contained in:
parent
0582c31d1f
commit
51636ad620
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ fi
|
|||
if [[ "$MPI_IMPL" != "intel" ]]; then
|
||||
sudo apt-get -y install "$mpi_libdev" "$mpi_bin"
|
||||
fi
|
||||
# check for mpif90 command and exit if not present
|
||||
if [[ ! $(command -v mpif90) ]]; then echo "mpif90 not present"; exit 1; fi
|
||||
|
||||
echo "mpif90 -show output is " `mpif90 -show` || true
|
||||
echo "which mpif90 output is " `which mpif90` || true
|
||||
if [[ "$FC" == "gfortran-11" ]] || [[ "$CC" == "gcc-11" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue