| 1 | 
dimitri | 
1.2 | 
# Build executable for ECCO-Darwin version 3 | 
| 2 | 
  | 
  | 
# with circa-2011 MITgcm code, equivalent to | 
| 3 | 
dimitri | 
1.1 | 
# /nobackup/hbrix/MITgcm_110502/build_darwin_p6/mitgcmuv | 
| 4 | 
  | 
  | 
 | 
| 5 | 
  | 
  | 
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "2011-05-12 10:30:47" MITgcm_code | 
| 6 | 
  | 
  | 
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "2011-05-12 10:30:47" MITgcm_contrib/darwin/pkg/darwin | 
| 7 | 
  | 
  | 
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co MITgcm_contrib/ecco_darwin/v3_cs510_Brix | 
| 8 | 
  | 
  | 
cd MITgcm/pkg | 
| 9 | 
  | 
  | 
ln -sf ../../MITgcm_contrib/darwin/pkg/darwin . | 
| 10 | 
  | 
  | 
cd .. | 
| 11 | 
  | 
  | 
mkdir build | 
| 12 | 
  | 
  | 
cd build | 
| 13 | 
  | 
  | 
module purge | 
| 14 | 
  | 
  | 
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 | 
| 15 | 
  | 
  | 
../tools/genmake2 -of \ | 
| 16 | 
  | 
  | 
    ../../MITgcm_contrib/ecco_darwin/v3_cs510_Brix/code/linux_amd64_ifort+mpi_ice_nas \ | 
| 17 | 
  | 
  | 
    -mo ../../MITgcm_contrib/ecco_darwin/v3_cs510_Brix/code | 
| 18 | 
  | 
  | 
make depend | 
| 19 | 
  | 
  | 
make -j 16 | 
| 20 | 
  | 
  | 
 | 
| 21 | 
  | 
  | 
============== | 
| 22 | 
  | 
  | 
# Instructions for running Version 3 (cg1) to 2009-2013. | 
| 23 | 
  | 
  | 
 | 
| 24 | 
dimitri | 
1.3 | 
cd .. | 
| 25 | 
dimitri | 
1.1 | 
mkdir run | 
| 26 | 
  | 
  | 
cd run | 
| 27 | 
  | 
  | 
ln -sf ../build/mitgcmuv . | 
| 28 | 
  | 
  | 
cp ../../MITgcm_contrib/ecco_darwin/v3_cs510_Brix/input/* . | 
| 29 | 
  | 
  | 
ln -sf ~dmenemen/CMS/run_template_cg1/darwin* . | 
| 30 | 
  | 
  | 
ln -sf ~dmenemen/CMS/run_template_cg1/DIFFKR_2_20_1_lat6070_cube81 . | 
| 31 | 
  | 
  | 
ln -sf /nobackup/hzhang1/cs510/run_template/GEBCO_510x6x510_ver06_dig.bin . | 
| 32 | 
  | 
  | 
ln -sf /nobackup/hzhang1/forcing/jra25/jra25_dlw* . | 
| 33 | 
  | 
  | 
ln -sf /nobackup/hzhang1/cs510/ICBC_2009_iter26/jra25_xx_* . | 
| 34 | 
  | 
  | 
ln -sf /nobackup/hbrix/ICBC/pco2a_blended_* . | 
| 35 | 
  | 
  | 
ln -sf pco2a_blended_2012 pco2a_blended_2013 | 
| 36 | 
  | 
  | 
ln -sf pco2a_blended_2012 pco2a_blended_2014 | 
| 37 | 
  | 
  | 
ln -sf /nobackup/hzhang1/cs510/ICBC_2009_iter26/pickup.0000000001.data_xx pickup.0000000001.data | 
| 38 | 
  | 
  | 
ln -sf /nobackup/hzhang1/cs510/ICBC_2009/pickup*.0000000001.??ta . | 
| 39 | 
  | 
  | 
ln -sf /nobackup/dmenemen/forcing/runoff/runoff-360x180x12.bin . | 
| 40 | 
  | 
  | 
ln -sf /nobackup/hzhang1/cs510/run_template/tile00* . | 
| 41 | 
  | 
  | 
 | 
| 42 | 
  | 
  | 
# modify run_darwin_450 as needed | 
| 43 | 
  | 
  | 
qsub run_darwin_450 |