-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,6 @@ | |
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack.package import CMakePackage, variant, version, depends_on | ||
from spack.compilers import supported_compilers | ||
|
||
|
||
class AccessOm3Nuopc(CMakePackage): | ||
"""ACCESS-OM3 global ocean-sea ice-wave coupled model.""" | ||
|
@@ -57,16 +55,14 @@ class AccessOm3Nuopc(CMakePackage): | |
depends_on("mpi") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:") | ||
depends_on("esmf cflags='-fp-model precise' fflags='-fp-model precise'", when="%intel") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]: build_type==RelWithDebInfo precision=64 +large_file ~gfs_phys ~quad_precision") | ||
depends_on("fms +openmp", when="+openmp") | ||
depends_on("fms ~openmp", when="~openmp") | ||
|
||
depends_on("[email protected]: build_type==RelWithDebInfo") | ||
|
||
if 'intel' in supported_compilers(): | ||
depends_on("esmf cflags='-fp-model precise' fflags='-fp-model precise'") | ||
depends_on("parallelio 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'") | ||
depends_on("parallelio 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'", when="%intel") | ||
|
||
flag_handler = CMakePackage.build_system_flags | ||
|
||
|