-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Land DA container to Spack-Stack 1.6.0 (#147)
* update to ss160 * update python and cmake vars * updated info * update file to work with new setup container script * added singularity files * fixed typo * fix typos * removed extra dir * update run container script * init commit * added logic to use staged data for the singularity container * remove wflow singularity lua file * update docs to reflect new container workflow * update container name to v2.0.0. release * updated container info * added changes to work with the new spack-stack * init commit * removed out of date analysis file * added fix data path for container * update to new spack stack * updated workflow process * update sub var name * update land da data link * update land da data path * fixed typo --------- Co-authored-by: Parallel Works app-run user <Edward.Snyder@mgmt-edwardsnyder-aws-00194.pw-noaa-us-east-1.pw.local>
- Loading branch information
1 parent
0d93612
commit 597c38d
Showing
14 changed files
with
137 additions
and
214 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("COMPILER") | ||
load("MPI") |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("COMPILER") | ||
load("MPI") |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("COMPILER") | ||
load("MPI") |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("COMPILER") | ||
load("MPI") |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("COMPILER") | ||
load("MPI") |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
load("COMPILER") | ||
load("MPI") |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
machine: singularity | ||
account: epic | ||
# exp_basedir: /path/to/parent/directory/of/land-DA_workflow | ||
exp_basedir: SINGULARITY_WORKING_DIR | ||
jedi_install: SINGULARITY_WORKING_DIR | ||
warmstart_dir: SINGULARITY_WORKING_DIR/land-DA_workflow/fix/DATA_RESTART | ||
we2e_test: 'NO' |
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
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 |
---|---|---|
@@ -1,20 +1,34 @@ | ||
From noaaepic/ubuntu20.04-intel-landda:develop | ||
From noaaepic/ubuntu22.04-intel21.10-landda:ue160-fms202401-dev | ||
|
||
CMD ["/bin/bash"] | ||
|
||
ENV HOME=/opt | ||
WORKDIR $HOME | ||
|
||
#remove org land-offline_workflow | ||
RUN rm -rf $HOME/land-offline_workflow | ||
COPY . $HOME/land-offline_workflow | ||
# Get Land DA data | ||
RUN wget https://noaa-ufs-land-da-pds.s3.amazonaws.com/develop-20241024/inputs.tar.gz && \ | ||
tar -xvzf inputs.tar.gz && mv inputs/* /opt/land-DA_workflow/fix/ | ||
|
||
# set env vars | ||
ENV FIXlandda=$HOME/land-DA_workflow/fix | ||
ENV EPICHOME=/opt | ||
ENV JEDI_INSTALL=${EPICHOME}/jedi_skylabv7.0 | ||
ENV TEST_BASEDIR=${EPICHOME}/test_base/restarts/vector"} | ||
ENV JEDI_INSTALL=$HOME | ||
ENV FIXdir=$FIXlandda | ||
ENV JEDI_EXECDIR=/opt/jedi-bundle/install/bin | ||
|
||
# Fix UFS WM RT File paths | ||
#RUN ln -s /opt/land-DA_workflow/install/bin/ufs_model /opt/land-DA_workflow/build/ufs_model.fd/src/ufs_model.fd-build/ | ||
RUN sed -i '18 i PLATFORM=jet' /opt/land-DA_workflow/sorc/test/run_ufs_datm_lnd.sh | ||
RUN mv /opt/land-DA_workflow/fix/DATM_input_data /opt/land-DA_workflow/fix/DATM_GSWP3_input_data && \ | ||
ln -s /opt/land-DA_workflow/fix/DATM_GSWP3_input_data/gswp3/* /opt/land-DA_workflow/fix/DATM_GSWP3_input_data/ | ||
RUN mkdir -p /opt/land-DA_workflow/fix/FV3_input_data/INPUT && \ | ||
ln -s /opt/land-DA_workflow/fix/FV3_fix_tiled/C96/* /opt/land-DA_workflow/fix/FV3_input_data/INPUT | ||
RUN mkdir -p /opt/land-DA_workflow/fix/NOAHMP_IC/CLMNCEP && \ | ||
mv /opt/land-DA_workflow/fix/NOAHMP_IC/*.nc /opt/land-DA_workflow/fix/NOAHMP_IC/CLMNCEP/ | ||
|
||
#build & unit testing | ||
WORKDIR $HOME/land-offline_workflow | ||
RUN source /opt/spack-stack/.bashenv; mkdir build; cd build; pwd; ecbuild ..; make -j2; ctest -V --stop-on-failure | ||
WORKDIR $HOME/land-DA_workflow | ||
#RUN source /opt/spack-stack/.bashenv; mkdir build; cd build; pwd; ecbuild ..; make -j2; ctest -V --stop-on-failure | ||
RUN source /opt/spack-stack/spack-stack-1.6.0/envs/fms-2024.01/.bashenv-fms && \ | ||
module load bacio cmake crtm ecbuild esmf fms gftl-shared g2 g2tmpl hdf5 ip jasper libpng mapl netcdf-c netcdf-fortran parallelio && \ | ||
module load prod_util py-netcdf4 py-numpy py-pyyaml py-jinja2 py-xarray sp ufs-pyenv w3emc zlib scotch && \ | ||
cd build; pwd; ctest -V --stop-on-failure |
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
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