Skip to content

Commit

Permalink
Add back module load
Browse files Browse the repository at this point in the history
  • Loading branch information
koparasy committed Jan 3, 2025
1 parent f0964b0 commit d1cc6de
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Build WITH_HDF5=${{ matrix.with_hdf5 }}, WITH_CALIPER=${{ matrix.with_caliper }} WITH_MPI=${{ matrix.with_mpi }}
shell: bash -l {0}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
rm -rf build/
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
- name: Build WITH_CUDA=On WITH_HDF5=${{ matrix.with_hdf5 }}, WITH_CALIPER=${{ matrix.with_caliper }} WITH_MPI=${{ matrix.with_mpi }}
shell: bash -l {0}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
rm -rf build/
Expand Down Expand Up @@ -124,6 +126,7 @@ jobs:
- name: Build SharedLibray=${{ matrix.with_shared }}
shell: bash -l {0}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
rm -rf build/
Expand Down Expand Up @@ -153,6 +156,7 @@ jobs:
echo "AMS_INSTALL_PATH=$(pwd)/install" >> $GITHUB_ENV
- name: Install IdealGas SharedLibray=${{ matrix.with_shared }}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
mkdir build_idealgas/
Expand All @@ -173,6 +177,7 @@ jobs:
- name: Build SharedLibray=${{ matrix.with_shared }}
shell: bash -l {0}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
rm -rf build/
Expand Down Expand Up @@ -204,6 +209,7 @@ jobs:
ls $(pwd)/install
- name: Install IdealGas SharedLibray=${{ matrix.with_shared }}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
mkdir build_idealgas/
Expand All @@ -212,6 +218,7 @@ jobs:
make
- name: Install BOptions SharedLibray=${{ matrix.with_shared }}
run: |
module load gcc/11.2.1
source /spack/share/spack/setup-env.sh
spack env activate -p /ams-spack-env
mkdir build_bnm_opt/
Expand Down

0 comments on commit d1cc6de

Please sign in to comment.