Running Coupled Ocean: Difference between revisions

Pchakrab (talk | contribs)
Pchakrab (talk | contribs)
Line 73: Line 73:
Need to ensure the following:
Need to ensure the following:


In AGCM.rc
=====AGCM.rc=====
  OGCM_NX = NX = 8
  OGCM_NX = NX = 8
  OGCM_NY = NY = 10
  OGCM_NY = NY = 10
  CICE_NPROCS = 80
  CICE_NPROCS = 80


In input.nml:
=====input.nml=====
  layout = 8,10,
  layout = 8,10,


In gcm_run.j:
=====gcm_run.j=====
  #PBS -l select=7:ncpus=12:mpiprocs=12
  #PBS -l select=7:ncpus=12:mpiprocs=12
(need 80 cpus, hence 7 nodes)
(need 80 cpus, hence 7 nodes)


In HISTORY.rc: comment out the line
=====HISTORY.rc=====
Comment out the line
  'RUNOFF'    , 'SURFACE'      ,
  'RUNOFF'    , 'SURFACE'      ,
in geosgcm_surf.fields (model crashes with this option).
in geosgcm_surf.fields (model crashes with this option).


Next, we edit CAP.rc and gcm_run.j (to run a 1-day simulation).
===Copy restarts===
 
Example restarts can be found in ~yvikhlia/geos5/test180/expdir. Several new restarts are needed but these can be bootstrapped (according to Yury). The new ones are orad_import, seaice_import, and seaice_internal.
Copy restarts (example restarts can be found in ~yvikhlia/geos5/test180/expdir). Several new restarts are needed but these can be bootstrapped according to Yuri. The new ones are orad_import, seaice_import, and seaice_internal.


  $ cp ~yvikhlia/geos5/test180/expdir/*_rst .
  $ cp ~yvikhlia/geos5/test180/expdir/*_rst .
  $ cp ~yvikhlia/geos5/test180/expdir/cap_restart .
  $ cp ~yvikhlia/geos5/test180/expdir/cap_restart .


We may need to edit cap_restart to specify a particular year (no changes in month, day or time).
'cap_restart' may need to edited as well to specify a particular year (no changes in month, day or time).


When the experiment directory is created (by gcm_setup) a new directory is now there called RESTART. Inside are restart files, the only one of which is required is ocean_temp_salt.res.nc. The rest can be bootstrapped.
When the experiment directory is created (by gcm_setup) a new directory is now there called RESTART. Inside are restart files, the only one of which is required is ocean_temp_salt.res.nc. The rest can be bootstrapped.