We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1d329b commit 2afe125Copy full SHA for 2afe125
1 file changed
.github/workflows/single-platform.yml
@@ -24,11 +24,11 @@ jobs:
24
- name: Install OpenMPI
25
run: |
26
spack install -j 4 openmpi
27
- eval "$(spack load --sh openmpi)"
28
- which mpicc
29
30
- name: Configure and Make GCC_MPI
31
+ . ./spack/share/spack/setup-env.sh # setup spack shell env
+ eval "$(spack load --sh openmpi)" # load into current shell
32
sed -E -i \
33
-e 's/^(ENABLE_MPI[[:space:]]*\?=[[:space:]]*).*/\1true/' \
34
-e 's/^(ENABLE_OPENMP[[:space:]]*\?=[[:space:]]*).*/\1false/' \
0 commit comments