| 1 |
dimitri |
1.1 |
# This is a small test case with set-up as similar as possible |
| 2 |
|
|
# to llc_4320 for testing asyncio and coupling to GEOS-5. |
| 3 |
|
|
|
| 4 |
dimitri |
1.7 |
# Get MITgcm from GitHub |
| 5 |
|
|
#- method 1, using https: |
| 6 |
|
|
git clone https://github.com/MITgcm/MITgcm.git |
| 7 |
|
|
#- method 2, using ssh (requires a github account): |
| 8 |
|
|
git clone git@github.com:MITgcm/MITgcm.git |
| 9 |
|
|
|
| 10 |
|
|
# Get MITgcm_contrib from CVS |
| 11 |
|
|
cvs co MITgcm_contrib/llc_hires/llc_90 |
| 12 |
|
|
|
| 13 |
dimitri |
1.8 |
# request interactive nodes and load modules |
| 14 |
|
|
qsub -I -q long -l select=5:ncpus=28:model=bro,walltime=120:00:00 |
| 15 |
|
|
module purge |
| 16 |
|
|
module load comp-intel/2016.2.181 mpi-sgi/mpt.2.14r19 hdf4/4.2.12 hdf5/1.8.18_mpt netcdf/4.4.1.1_mpt |
| 17 |
|
|
|
| 18 |
dimitri |
1.3 |
######################################## |
| 19 |
|
|
# 30x30x96 configuration without asyncio |
| 20 |
dimitri |
1.1 |
cd MITgcm |
| 21 |
dimitri |
1.2 |
mkdir build run1 |
| 22 |
dimitri |
1.1 |
cd build |
| 23 |
|
|
rm * |
| 24 |
dimitri |
1.3 |
../tools/genmake2 -of ../tools/build_options/linux_amd64_ifort+mpi_ice_nas \ |
| 25 |
dimitri |
1.2 |
-mpi -mods ../../MITgcm_contrib/llc_hires/llc_90/code |
| 26 |
dimitri |
1.1 |
make depend |
| 27 |
dimitri |
1.8 |
make -j 96 |
| 28 |
dimitri |
1.2 |
cp mitgcmuv ../run1 |
| 29 |
|
|
cd ../run1 |
| 30 |
|
|
ln -sf /nobackup/dmenemen/GEOS5/experiments/llc90/data/* . |
| 31 |
|
|
ln -sf /nobackup/dmenemen/forcing/ECMWF_operational/* . |
| 32 |
|
|
ln -sf /nobackupp2/dmenemen//llc_4320/run_template/runoff1p2472-360x180x12.bin . |
| 33 |
|
|
cp ../../MITgcm_contrib/llc_hires/llc_90/input/* . |
| 34 |
|
|
mpiexec -n 96 ./mitgcmuv |
| 35 |
dimitri |
1.1 |
|
| 36 |
dimitri |
1.3 |
##################################### |
| 37 |
|
|
# 30x30x96 configuration with asyncio |
| 38 |
dimitri |
1.6 |
cd ../../MITgcm |
| 39 |
dimitri |
1.2 |
mkdir run2 |
| 40 |
|
|
cd build |
| 41 |
|
|
rm * |
| 42 |
|
|
../tools/genmake2 -of \ |
| 43 |
|
|
../../MITgcm_contrib/llc_hires/llc_90/code-async/linux_amd64_ifort+mpi_ice_nas -mpi -mods \ |
| 44 |
dimitri |
1.8 |
'../../MITgcm_contrib/llc_hires/llc_90/code-async ../../MITgcm_contrib/llc_hires/llc_90/code' |
| 45 |
dimitri |
1.2 |
make depend |
| 46 |
dimitri |
1.8 |
make -j 96 |
| 47 |
dimitri |
1.2 |
cp mitgcmuv ../run2 |
| 48 |
|
|
cd ../run2 |
| 49 |
|
|
ln -sf /nobackup/dmenemen/GEOS5/experiments/llc90/data/* . |
| 50 |
|
|
ln -sf /nobackup/dmenemen/forcing/ECMWF_operational/* . |
| 51 |
|
|
ln -sf /nobackupp2/dmenemen//llc_4320/run_template/runoff1p2472-360x180x12.bin . |
| 52 |
|
|
cp ../../MITgcm_contrib/llc_hires/llc_90/input/* . |
| 53 |
dimitri |
1.6 |
mv data_async data |
| 54 |
dimitri |
1.8 |
mpiexec -n 136 ./mitgcmuv |
| 55 |
dimitri |
1.7 |
|
| 56 |
dimitri |
1.4 |
################################################### |
| 57 |
|
|
# 30x30x96 configuration with asyncio and no seaice |
| 58 |
dimitri |
1.7 |
mkdir run4 |
| 59 |
dimitri |
1.4 |
cd build |
| 60 |
|
|
rm * |
| 61 |
|
|
../tools/genmake2 -of \ |
| 62 |
|
|
../../MITgcm_contrib/llc_hires/llc_90/code-async/linux_amd64_ifort+mpi_ice_nas \ |
| 63 |
|
|
-mpi -mods ../../MITgcm_contrib/llc_hires/llc_90/code-async-noseaice |
| 64 |
|
|
make depend |
| 65 |
|
|
make -j 16 |
| 66 |
dimitri |
1.7 |
cp mitgcmuv ../run4 |
| 67 |
|
|
cd ../run4 |
| 68 |
dimitri |
1.4 |
ln -sf /nobackup/dmenemen/GEOS5/experiments/llc90/data/* . |
| 69 |
|
|
ln -sf /nobackup/dmenemen/forcing/ECMWF_operational/* . |
| 70 |
|
|
ln -sf /nobackupp2/dmenemen//llc_4320/run_template/runoff1p2472-360x180x12.bin . |
| 71 |
|
|
cp ../../MITgcm_contrib/llc_hires/llc_90/input-noseaice/* . |
| 72 |
|
|
mpiexec -n 124 ./mitgcmuv |