Skip to content

Commit

Permalink
steps toward getting tests working on gadi - might relate to #36 ?
Browse files Browse the repository at this point in the history
  • Loading branch information
aekiss committed Feb 5, 2020
1 parent 575fb04 commit 01ce4a1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 34 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ This repository also includes ice and ocean stubs. These are stand-ins for the t

# Build

How to build libaccessom2, YATM, ice\_stub and ocean\_stub on raijin (NCI):

```{bash}
git clone https://github.com/COSIMA/libaccessom2.git
cd libaccessom2
./build_on_raijin.sh
```

How to build libaccessom2, YATM, ice\_stub and ocean\_stub on gadi (NCI):

```{bash}
Expand All @@ -66,15 +58,15 @@ cd libaccessom2
./build_on_gadi.sh
```

# Run tests on Raijin (NCI)
# Run tests on Gadi (NCI)

First do build as above. Then:

```{bash}
export LIBACCESSOM2_DIR=$(pwd)
module load openmpi
cd tests/
./copy_test_data_from_raijin.sh
./copy_test_data_from_gadi.sh
cd JRA55_IAF
rm -rf log ; mkdir log ; rm -f accessom2_restart_datetime.nml ; cp ../test_data/i2o.nc ./ ; cp ../test_data/o2i.nc ./
mpirun -np 1 $LIBACCESSOM2_DIR/build/bin/yatm.exe : -np 1 $LIBACCESSOM2_DIR/build/bin/ice_stub.exe : -np 1 $LIBACCESSOM2_DIR/build/bin/ocean_stub.exe
Expand Down
12 changes: 0 additions & 12 deletions build_on_raijin.sh

This file was deleted.

12 changes: 12 additions & 0 deletions tests/copy_test_data_from_gadi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

mkdir -p test_data

# Copy over OASIS remap weights
cp /g/data/ik11/inputs/access-om2/input_rc/common_1deg_jra55/* test_data/

# Copy over river runoff remap weights
cp /g/data/ik11/inputs/access-om2/input_rc/yatm_1deg/rmp_jrar_to_cict_CONSERV.nc test_data/

# Copy ice grid and OASIS restarts
cp /g/data/ik11/inputs/access-om2/input_rc/cice_1deg/* test_data/
12 changes: 0 additions & 12 deletions tests/copy_test_data_from_raijin.sh

This file was deleted.

0 comments on commit 01ce4a1

Please sign in to comment.