Skip to content

Commit

Permalink
This spec almost worked on Hopper
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed May 9, 2024
1 parent d8f7aac commit b4634e2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,25 @@ 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
spack -e . external find --scope=defaults cmake gmake perl automake
spack -e . external list
spack -e . compiler find --mixed-toolchain
spack -e . compiler list
- name: Concretize
run: spack -e . -v concretize
Expand Down
8 changes: 1 addition & 7 deletions spack.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
spack:
view: /opt/view
specs:
# - berkeley-db~stl
- [email protected]
# - [email protected]
- hdf5+mpi^intel-oneapi-mpi
- netcdf-c~blosc
#
- [email protected]%intel^intel-oneapi-mpi
- [email protected]%intel ^netcdf-c~blosc ^intel-oneapi-mpi

config:
install_tree:
Expand Down

0 comments on commit b4634e2

Please sign in to comment.