18
www.ccsm.ucar.edu Changing the CCSM setup: Active Ocean plus Data Models Nancy Norton [email protected]

Changing the CCSM setup: Active Ocean plus Data Models

  • Upload
    kuri

  • View
    21

  • Download
    0

Embed Size (px)

DESCRIPTION

Changing the CCSM setup: Active Ocean plus Data Models. Nancy Norton [email protected]. Quick Summary. Download CCSM2.0 source code, scripts, and input datasets Set up active ocean + data atm,ice,lnd -- use the GUI !!! Edit the ocean-model namelist file: pop_in Edit the ocn.setup.csh script - PowerPoint PPT Presentation

Citation preview

Page 1: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Changing the CCSM setup: Active Ocean plus Data ModelsChanging the CCSM setup: Active Ocean plus Data Models

Nancy Norton

[email protected]

Page 2: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Quick SummaryQuick Summary

• Download CCSM2.0 source code, scripts, and input datasets

• Set up active ocean + data atm,ice,lnd -- use the GUI!!!

• Edit the ocean-model namelist file: pop_in

• Edit the ocn.setup.csh script

• Run one-month test run

• Wait for CCSM2.0.1 release before making production runs!

Page 3: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

CCSM code,scripts, and data directoriesCCSM code,scripts, and data directories

CCSM2.0 ------------------------------|------------------------- | |ccsm2.0/ inputdata/ ----------------- | | | atm/ ice/ lnd/ ocn/ models/ scripts/ | --------|-----------| ocn/ gui_run/ test.a1/ | | | pop/ ccsm_gui.pl *.setup.csh | test.a1.run input_templates/gx1v3_pop_in

Page 4: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Download CCSM2.0 source code, scripts, and input datasetsDownload CCSM2.0 source code, scripts, and input datasets

• On local system:– mkdir CCSM2.0

• Go to the CCSM2.0 website: www.ccsm.ucar.edu/models/ccsm2.0– Find Model Source Code section

• Download ccsm2.0.tar.gz into CCSM2.0 directory

– Find Model Input Data section• Download T42/gx1v3 input datasets tar file into

CCSM2.0 directory

• On local system: – cd CCSM2.0– gunzip ccsm2.0.tar.gz– tar -xvf ccsm2.0.tar

Page 5: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Download CCSM2.0 source code, scripts, and input datasetsDownload CCSM2.0 source code, scripts, and input datasets

CCSM2.0 ------------------------------|------------------------- | | |ccsm2.0/ ccsm2.0.tar inputdata/ | | ----------------- atm/ ice/ lnd/ ocn/ | | models/ scripts/ | --------|------------| ocn/ gui_run/ test.a1/ | | | pop/ ccsm_gui.pl *.setup.csh | test.a1.run input_templates/gx1v3_pop_in

Page 6: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Set up active ocean + data atm,ice,lndSet up active ocean + data atm,ice,lnd

• Set up a new directory with a collection of scripts to run the active ocean + data atmosphere, ice, and land models through the coupler -- use the GUI!!!

• How do you use the GUI?

Page 7: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

How do you use the GUI?How do you use the GUI?

CCSM2.0 ------------------------------|------------------------- | |ccsm2.0/ inputdata/ ----------------- | | | atm/ ice/ lnd/ ocn/ models/ scripts/ | --------|------------| ocn/ gui_run/ test.a1/ | | | pop/ ccsm_gui.pl *.setup.csh | test.a1.run input_templates/gx1v3_pop_in

Page 8: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

How do you use the GUI?How do you use the GUI?

• cd CCSM2.0/ccsm2.0/scripts/gui_run• issue the perl command: ccsm_gui.pl• the GUI will pop up• select “C” run: active ocean, coupler,

and data atmosphere, ice, and land:– ocn.setup.csh– cpl.setup.csh– datm.setup.csh– dice.setup.csh– dlnd.setup.csh

Page 9: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Page 10: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

CCSM2.0 GUI Status Window

Page 11: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

New directory generated by GUI: newtest.001New directory generated by GUI: newtest.001

CCSM2.0 ------------------------------|------------------------- | |ccsm2.0/ inputdata/ ----------------- | | | atm/ ice/ lnd/ ocn/ models/ scripts/ | --------|----------|--------------| ocn/ gui_run/ test.a1/ newtest.001/ | | | |pop/ ccsm_gui.pl *.setup.csh *.setup.csh | test.a1.run newtest.001.runinput_templates/gx1v3_pop_in

Page 12: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Edit the ocean-model namelist file: pop_inEdit the ocean-model namelist file: pop_in

• cd CCSM2.0/ccsm2.0/scripts/newtest.001• mkdir src.ocn• cd src.ocn• cp CCSM2.0/ccsm2.0/models/ocn/pop/

input_templates/gx1v3_pop_in .• edit gx1v3_pop_in

Page 13: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Edit personal copy of gx1v3_pop_inEdit personal copy of gx1v3_pop_in

CCSM2.0 ------------------------------|------------------------- | |ccsm2.0/ inputdata/ ----------------- | | | atm/ ice/ lnd/ ocn/ models/ scripts/ | --------|----------|--------------| ocn/ gui_run/ test.a1/ newtest.001/ | | | |pop/ ccsm_gui.pl *.setup.csh *.setup.csh | test.a1.run newtest.001.runinput_templates/ src.ocn/gx1v3_pop_in | ---------------------------> gx1v3_pop_in

Page 14: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

1. &forcing_shf_nml luse_cpl_ifrac = .true.

2. &ice_nml lactive_ice = .false.

3. probably one new namelist parameter will be released with CCSM2.0.1 -- will be announced if needed

Edit gx1v3_pop_in

Page 15: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Edit the ocn.setup.csh scriptEdit the ocn.setup.csh script

• cd CCSM2.0/ccsm2.0/scripts/newtest.001

• edit ocn.setup.csh:– note line in ocn.setup.csh script:

• set my_path = $SCRIPTS/src.ocn

– change • sed -f $EXEDIR/commands.sed $SRCDIR/input_templates/${OCN_GRID}_pop_in

to sed -f $EXEDIR/commands.sed $my_path/${OCN_GRID}_pop_in …

Page 16: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Edit personal copy of gx1v3_pop_inEdit personal copy of gx1v3_pop_in

CCSM2.0 ------------------------------|------------------------- | |ccsm2.0/ inputdata/ ----------------- | | | atm/ ice/ lnd/ ocn/ models/ scripts/ | --------|----------|--------------| ocn/ gui_run/ test.a1/ newtest.001/ | | | |pop/ ccsm_gui.pl *.setup.csh *.setup.csh | test.a1.run newtest.001.runinput_templates/ src.ocn/gx1v3_pop_in | ---------------------------> gx1v3_pop_in

Page 17: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Wait for CCSM2.0.1 before running production runs!Wait for CCSM2.0.1 before running production runs!

• Datasets referenced in CCSM2.0 datm.setup.csh and dlnd.setup.csh are outdated and should not be used in production runs

• Datasets referenced in CCSM2.0.1 datm.setup.csh and dlnd.setup.csh will be obtained from active-atm, active-lnd branch run (an “F” run branched from the CCSM2.0 control run)

• Wait for CCSM2.0.1 release before running any production runs! Repeat preceding process with CCSM2.0.1 tar file.

Page 18: Changing the CCSM setup:  Active Ocean plus Data Models

www.ccsm.ucar.edu

Running the “C” runRunning the “C” run

• The GUI set up a one-month test run for you -- now submit it to your target machine

(llsubmit newtest.001.run on the IBM)• Review the output from the *.log.* files from each

component• Review the output from the ocean log file -- all

namelist values are echoed into the log file, so check to make certain that the changes you made to lactive_ice and luse_cpl_ifrac were actually used in your run

• Wait for the CCSM2.0.1 release before running the “C” run in production mode!