Skip to content

Commit

Permalink
build_mpich for nvfortran 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Jan 23, 2025
1 parent e650ab1 commit 9df9569
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:
use_simint: 1
- os: ubuntu-latest
experimental: true
mpi_impl: mpich
mpi_impl: build_mpich
armci_network: MPI-TS
nwchem_modules: "nwdft solvation driver"
fc: nvfortran
Expand Down
2 changes: 2 additions & 0 deletions travis/build_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,11 @@ if [[ "$os" == "Linux" ]]; then
fi
fi
# check for mpif90 command and exit if not present
if [[ "$MPI_IMPL" != "build_mpich" ]]; then
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
fi
# try to use ubuntu flaky GA pkg
if [[ "$ARMCI_NETWORK" == "GA_DEBIAN" ]]; then
$MYSUDO apt-get install -y libglobalarrays-dev libarmci-mpi-dev
Expand Down
6 changes: 3 additions & 3 deletions travis/nwchem.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ if [[ -f "$IONEAPI_ROOT"/mpi/latest/env/vars.sh ]]; then
source /opt/intel/oneapi/mkl/latest/env/vars.sh
fi
fi
if [[ "$MPI_IMPL" == "build_mpich" ]]; then
export BUILD_MPICH=1
fi
if [[ "$os" == "Darwin" ]]; then
export NWCHEM_TARGET=MACX64
export DYLD_FALLBACK_LIBRARY_PATH=$TRAVIS_BUILD_DIR/lib:$DYLD_FALLBACK_LIBRARY_PATH
Expand All @@ -116,9 +119,6 @@ if [[ "$os" == "Darwin" ]]; then
if [[ "$MPI_IMPL" == "mpich" ]]; then
export PATH=/usr/local/opt/mpich/bin/:$PATH
fi
if [[ "$MPI_IMPL" == "build_mpich" ]]; then
export BUILD_MPICH=1
fi

fi
if [[ "$os" == "Linux" ]]; then
Expand Down

0 comments on commit 9df9569

Please sign in to comment.