Skip to content

Commit

Permalink
spack.yaml: Modifying to get into a similar format as the ACCESS-OM2 …
Browse files Browse the repository at this point in the history
…spack.yaml, using access-om3-virtual bundle
  • Loading branch information
CodeGat committed Apr 12, 2024
1 parent eec408a commit 1fff63e
Showing 1 changed file with 58 additions and 22 deletions.
80 changes: 58 additions & 22 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,69 @@
# configuration settings.
spack:
definitions:
- compilers:
- [email protected]
# - compilers:
# - [email protected]
# FIXME: What is to be done with the definitions for 'mpis' and 'serial_packages'
- mpis:
- [email protected]
- serial_packages:
- [email protected]
- packages:
- [email protected]+debug
- [email protected] build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert
big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
- [email protected] build_system=cmake build_type=RelWithDebInfo
- [email protected]
- [email protected] precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision
build_type=RelWithDebInfo
- access-om3 +install_libraries
# - packages:
# - [email protected]+debug
# - [email protected] build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert
# big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
# cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
# - [email protected] build_system=cmake build_type=RelWithDebInfo
# - [email protected]
# - [email protected] precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision
# build_type=RelWithDebInfo
# - access-om3 +install_libraries
specs:
- matrix:
- [$mpis]
- [$%compilers]
- matrix:
- [$packages]
- [$^mpis]
- [$%compilers]
- matrix:
- [$serial_packages]
- [$%compilers]
- [email protected] # FIXME: Add appropriate first version
packages:
access-om3:
require:
- '@git.v0.2.0'
- '+install_libraries'
esmf:
require:
- '@8.5.0'
- '+debug'
parallelio:
require:
- '@2.6.2'
- 'build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert'
- 'big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
- 'cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
netcdf-c:
require:
- '@4.9.2'
- 'build_system=cmake build_type=RelWithDebInfo'
netcdf-fortran:
require:
- '@4.6.1'
fms:
require:
- '@2023.02'
- 'precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision'
- 'build_type=RelWithDebInfo'
openmpi:
require:
- '@4.1.5'

all:
compiler: [[email protected]]

# - matrix:
# - [$mpis]
# - [$%compilers]
# - matrix:
# - [$packages]
# - [$^mpis]
# - [$%compilers]
# - matrix:
# - [$serial_packages]
# - [$%compilers]
view: true
concretizer:
unify: true
Expand Down

0 comments on commit 1fff63e

Please sign in to comment.