Skip to content

Regenerating default io files

Bill Sacks edited this page Nov 26, 2020 · 9 revisions

This is the procedure for regenerating the default io files that are used by CESM

This is no longer needed on master, but I'm keeping these directions around for a little while in case it's needed in some older version.

  • Create a CESM case (e.g., any TG compset)

  • Run the following commands from within your case directory (the following paths assume you're using a standalone checkout of cism-wrapper):

      ./case.setup
      cd Buildconf/cismIOconf
      export PYTHON=`which python`
      ./cism.buildIO.csh
      cp glide_io.F90 ../../../../../source_cism/libglide/glide_io.F90.default
      cp glad_io.F90 ../../../../../source_cism/libglad/glad_io.F90.default
      cp glad_mbal_io.F90 ../../../../../source_cism/libglad/glad_mbal_io.F90.default
      cp glint_io.F90 ../../../../../source_cism/libglint/glint_io.F90.default
      cp glint_mbal_io.F90 ../../../../../source_cism/libglint/glint_mbal_io.F90.default
    

Any further cases created out of this sandbox should then use the new default io files. You will probably also want to commit these updated default io files back to the CISM repository. (These default io files are not used by the standalone build, so if they work within CESM, that is sufficient testing.)

Note that glint is no longer used by CESM. However, I'm keeping the glint stuff here so that we can keep the glint default i/o files up-to-date.

Clone this wiki locally