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 |
# 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 |
# 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 |
######################################## |
19 |
# 30x30x96 configuration without asyncio |
20 |
cd MITgcm |
21 |
mkdir build run1 |
22 |
cd build |
23 |
rm * |
24 |
../tools/genmake2 -of ../tools/build_options/linux_amd64_ifort+mpi_ice_nas \ |
25 |
-mpi -mods ../../MITgcm_contrib/llc_hires/llc_90/code |
26 |
make depend |
27 |
make -j 96 |
28 |
cd ../run1 |
29 |
cp ../build/mitgcmuv . |
30 |
ln -sf /nobackup/dmenemen/tarballs/llc_90/* . |
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 |
|
36 |
################################################### |
37 |
# 30x30x96 configuration with Bron's latest asyncio |
38 |
cd ../../MITgcm |
39 |
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 |
'../../MITgcm_contrib/llc_hires/llc_90/code-async ../../MITgcm_contrib/llc_hires/llc_90/code' |
45 |
make depend |
46 |
make -j 96 |
47 |
cd ../run2 |
48 |
cp ../build/mitgcmuv . |
49 |
ln -sf /nobackup/dmenemen/tarballs/llc_90/* . |
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 |
mv data_async data |
54 |
mpiexec -n 136 ./mitgcmuv |
55 |
|
56 |
################################################################# |
57 |
# 30x30x96 configuration with Bron's latest asyncio and no seaice |
58 |
cd ../../MITgcm |
59 |
mkdir run3 |
60 |
cd build |
61 |
rm * |
62 |
../tools/genmake2 -of \ |
63 |
../../MITgcm_contrib/llc_hires/llc_90/code-async/linux_amd64_ifort+mpi_ice_nas \ |
64 |
-mpi -mods ../../MITgcm_contrib/llc_hires/llc_90/code-async-noseaice |
65 |
make depend |
66 |
make -j 96 |
67 |
cd ../run3 |
68 |
cp ../build/mitgcmuv . |
69 |
ln -sf /nobackup/dmenemen/tarballs/llc_90/* . |
70 |
ln -sf /nobackup/dmenemen/forcing/ECMWF_operational/* . |
71 |
ln -sf /nobackupp2/dmenemen//llc_4320/run_template/runoff1p2472-360x180x12.bin . |
72 |
cp ../../MITgcm_contrib/llc_hires/llc_90/input-noseaice/* . |
73 |
mpiexec -n 136 ./mitgcmuv |