Skip to content

Commit

Permalink
Fix the githubCI
Browse files Browse the repository at this point in the history
  • Loading branch information
nikizadehgfdl committed Nov 28, 2023
1 parent 9dd39f7 commit 4743254
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/basic_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ jobs:
- run: pwd
- run: ls src/FMS
- run: cd builds; ./linux-build.bash -m lscgpu50 -p gnu11 -t repro -f mom6sis2
- run: ls builds/build/lscgpu50-gnu11/ocean_ice/repro/MOM6SIS2
- run: (cd exps/MOM6SIS2COBALT.single_column/; source ../../builds/lscgpu50/gnu11.env; mkdir RESTART; mpirun -n 1 ../../builds/build/lscgpu50-gnu11/ocean_ice/repro/MOM6SIS2 | & tee stdout.lscgpu50.gnu11.repro.n1)

3 changes: 2 additions & 1 deletion builds/lscgpu50/gnu11.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module load gcc/11.3.0
module load cuda/11.7
module load cuda/12.2
module load openmpi/4.1.4
module load hdf5/1.12.2 netcdf/4.9.0
export MPICC=$(which mpicc)
setenv MPICC $(which mpicc)

15 changes: 15 additions & 0 deletions exps/get_single_column_dataset
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### This script can get all the required input data for running the experiment MOM6SIS2COBALT.single_column
(mkdir -p datasets/grids; cd datasets/grids; wget ftp://ftp.gfdl.noaa.gov/pub/Niki.Zadeh/OM4_datasets/OM4_single_column_grid.tar.gz; tar zxvf OM4_single_column_grid.tar.gz)

#### IC
(mkdir -p datasets/; cd datasets/; wget ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/obs.tgz; tar zxvf obs.tgz)

#### CORE2 NYF Forcing files(854MB)
(mkdir -p datasets/forcings; cd datasets/forcings; wget ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/CORE.tgz; tar xvf CORE.tgz)

#### Oceanbiogeochemistry initialization/flux dataset (963MB)
Needed only for COBALT experiments
(mkdir -p datasets/OceanBGC_dataset; cd datasets/OceanBGC_dataset; wget ftp://ftp.gfdl.noaa.gov/pub/Niki.Zadeh/OM4_datasets/OceanBGC_dataset.tar.gz; tar zxvf OceanBGC_dataset.tar.gz)

#### Check the required input data
(cd MOM6SIS2COBALT.single_column; find INPUT/ -xtype l)

0 comments on commit 4743254

Please sign in to comment.