Add initial manifest and configuration versions#1
Conversation
|
🚀 Attempted to deploy 🖥️
|
9747eaf to
5d35bd6
Compare
|
Hi @phellipecouto, I've rebased this PR with some new under-the-hood changes, you might need to reset your local The original deployment |
|
🚀 Attempted to deploy 🖥️
|
|
🚀 Attempted to deploy 🖥️
|
|
🚀 Attempted to deploy 🖥️
|
|
🚀 Attempted to deploy 🖥️
|
|
Ok, this is working now: $ module use /g/data/vk83/prerelease/modules
$ module load coastri-roms/pr1-5
Loading coastri-roms/pr1-5
Loading requirement: coastri-roms/dependencies/pr1-5/openmpi/4.1.4-rwumwx4 coastri-roms/dependencies/pr1-5/ancoms-roms/4.2-vhnd3am
$ module show coastri-roms/dependencies/pr1-5/ancoms-roms/4.2-vhnd3am
-------------------------------------------------------------------
/g/data/vk83/prerelease/apps/spack/0.22/release/modules/linux-rocky8-x86_64/coastri-roms/dependencies/pr1-5/ancoms-roms/4.2-vhnd3am:
module-whatis {ROMS is a free-surface, terrain-following, primitive equations ocean model widely used by the scientific community for a diverse range of applications}
module load coastri-roms/dependencies/pr1-5/openmpi/4.1.4-rwumwx4
prepend-path PATH /g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64/intel-2021.8.0/ancoms-roms-4.2-vhnd3amgj5e3fm4eynvy6kvv4ucp4td3/bin
prepend-path CMAKE_PREFIX_PATH /g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64/intel-2021.8.0/ancoms-roms-4.2-vhnd3amgj5e3fm4eynvy6kvv4ucp4td3/.
-------------------------------------------------------------------
$ ls /g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64/intel-2021.8.0/ancoms-roms-4.2-vhnd3amgj5e3fm4eynvy6kvv4ucp4td3/bin
romsM
$ romsM
STDINP_UNIT - Unable to open ROMS input script file.
ERROR: file name specification error, unit 1, file "Unknown"
In distributed-memory applications, the input
script file is processed in parallel. The Unix
routine GETARG is used to get script file name.
For example, in MPI applications make sure that
command line is something like:
mpirun -np 4 romsM roms.in
and not
mpirun -np 4 romsM < roms.in
INP_PAR - Unable to ROMS standard input file, Iname
Found Error: 2 Line: 104 Source: ROMS/Utility/inp_par.F
Found Error: 2 Line: 139 Source: ROMS/Drivers/nl_roms.h, ROMS_initialize
Elapsed wall CPU time for each process (seconds):
Found Error: 2 Line: 413 Source: ROMS/Utility/close_io.F, close_out
ROMS - Input error ............. exit_flag: 2
ERROR: Abnormal termination: NetCDF INPUT.
REASON: No error
$ |
helenmacdonald
left a comment
There was a problem hiding this comment.
ROMS has a few different user defined options that are set pre compilation in a .h file. Is this README a good place to point to which precompiler options are set in the released executable?
I think this is pointing to the benchmark version which uses benchmark.h
There was a problem hiding this comment.
Following @helenmacdonald comment above, could we make a minor modification on the default option for variant roms_application? Change default="benchmark" to default="upwelling" and recompile the executable. That way the executable would be compatible with the model configuration here.
@aidanheerdegen @helenmacdonald, I can remember the reasoning behind naming the module as coastri-roms, but I think ancoms-roms would suit better - or would this conflict with the same naming adopted in some other spack configs?
Co-authored-by: Helen Macdonald <179985228+helenmacdonald@users.noreply.github.com>
I have changed the diff --git a/spack.yaml b/spack.yaml
index 428ab48..9c79403 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -4,7 +4,7 @@
# configuration settings.
spack:
specs:
- - coastri-roms@git.2025.06.000
+ - coastri-roms@git.2025.06.000 roms_application='upwelling'
packages:
# Specification of dependency versions and variants. CI/CD requires that
# the first element of the require is only a versionwhich should have the desired effect. |
|
🚀 Attempted to deploy 🖥️
|
|
🚀 Attempted to deploy 🖥️
|
The rationale was the package was developed by the community, the deployment was part of ACCESS-NRI's contribution to CoastRI. |
That was wrong. The variant is defined on the package level, so that is where that has to go: diff --git a/spack.yaml b/spack.yaml
index 428ab48..de44877 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -10,7 +10,8 @@ spack:
# the first element of the require is only a version
ancoms-roms:
require:
- - '@4.2'
+ - '@4.2'
+ - roms_application='upwelling'
openmpi:
require:
- '@4.1.4' |
|
🚀 Attempted to deploy 🖥️
|
|
That has concretised with the upwelling variant: |
🚀 The latest prerelease
coastri-roms/pr1-8at 4ff0c09 is here: #1 (comment) 🚀