Skip to content

Commit

Permalink
Finding installed impi didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed May 9, 2024
1 parent 9dc4655 commit 7a209f1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ jobs:
color: true
path: spack

- name: Get ifort
uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: intel-classic
version: "2021.9"

# - name: Get ifort with Spack
# run: |
# spack install [email protected]
# spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin/intel64
# spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin
# - name: Get ifort
# uses: fortran-lang/setup-fortran@v1
# id: setup-fortran
# with:
# compiler: intel-classic
# version: "2021.9"

- name: Get ifort with Spack
run: |
spack install [email protected]
spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin/intel64
spack compiler add `spack location -i intel-oneapi-compilers`/compiler/latest/linux/bin
- name: Find system tools and compilers
run: |
spack -e . external find --scope=defaults cmake gmake perl automake intel-oneapi-mpi
spack -e . external find --scope=defaults cmake gmake perl automake
spack -e . external list
spack -e . compiler find --mixed-toolchain
spack -e . compiler list
Expand Down
2 changes: 1 addition & 1 deletion spack.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spack:
view: /opt/view
specs:
- [email protected]%[email protected] ^netcdf-c~blosc~szip~zstd ^intel-oneapi-mpi ^[email protected]
- [email protected]%[email protected] ^netcdf-c~blosc~szip~zstd ^intel-oneapi-mpi@2021.9 ^[email protected]

config:
install_tree:
Expand Down

0 comments on commit 7a209f1

Please sign in to comment.