| 1 | 
#Build executable for llc540 with latest MITgcm code on pleiades | 
| 2 | 
 cvs co MITgcm_contrib/llc_hires/llc_540 | 
| 3 | 
 git clone https://github.com/MITgcm/MITgcm.git | 
| 4 | 
 cd MITgcm | 
| 5 | 
 mkdir build run | 
| 6 | 
 cd build | 
| 7 | 
 module purge | 
| 8 | 
 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 | 
| 9 | 
 ../tools/genmake2 -of ../tools/build_options/linux_amd64_ifort+mpi_ice_nas \ | 
| 10 | 
    -mo ../../MITgcm_contrib/llc_hires/llc_540/code | 
| 11 | 
 make depend | 
| 12 | 
 make -j 16 | 
| 13 | 
 | 
| 14 | 
# integrate 1992-2019 model on pleiades | 
| 15 | 
# jra55 forcing | 
| 16 | 
 cd ../run | 
| 17 | 
 cp ../../MITgcm_contrib/llc_hires/llc_540/input/* . | 
| 18 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/pickup*432.*ta . | 
| 19 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/tile* . | 
| 20 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/Bathy_*_v2.bin . | 
| 21 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/DIFFKR* . | 
| 22 | 
 ln -sf /nobackup/hzhang1/forcing/jra55 . | 
| 23 | 
 ln -sf /nobackup/dcarrol2/LOAC/write_bin/jra55_do/v1.4.0/LLC_540/jra55* . | 
| 24 | 
 ln -sf ../build/mitgcmuv . | 
| 25 | 
 qsub job_ivy_llc540 | 
| 26 | 
 | 
| 27 | 
# jra55do forcing | 
| 28 | 
 cd ../run | 
| 29 | 
 cp ../../MITgcm_contrib/llc_hires/llc_540/input/* . | 
| 30 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/pickup*432.*ta . | 
| 31 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/tile* . | 
| 32 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/Bathy_*_v2.bin . | 
| 33 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/DIFFKR* . | 
| 34 | 
 ln -sf /nobackup/hzhang1/forcing/jra55_do . | 
| 35 | 
 ln -sf data.exf_jra55do data.exf | 
| 36 | 
 ln -sf /nobackup/dcarrol2/LOAC/write_bin/jra55_do/v1.4.0/LLC_540/jra55* . | 
| 37 | 
 ln -sf ../build/mitgcmuv . | 
| 38 | 
 qsub job_ivy_llc540 | 
| 39 | 
 | 
| 40 | 
# eraxx forcing | 
| 41 | 
 cd ../run | 
| 42 | 
 cp ../../MITgcm_contrib/llc_hires/llc_540/input/* . | 
| 43 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/pickup*432.*ta . | 
| 44 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/tile* . | 
| 45 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/Bathy_*_v2.bin . | 
| 46 | 
 ln -sf /nobackup/hzhang1/llc_540/run_template/DIFFKR* . | 
| 47 | 
 ln -sf /nobackup/hzhang1/forcing/era_xx_it50 . | 
| 48 | 
 ln -sf data.exf_eraxx data.exf | 
| 49 | 
 ln -sf /nobackup/dcarrol2/LOAC/write_bin/jra55_do/v1.4.0/LLC_540/jra55* . | 
| 50 | 
 ln -sf ../build/mitgcmuv . | 
| 51 | 
 qsub job_ivy_llc540 |