Skip to content

Porting to a new machine

Jun Wang edited this page Oct 6, 2020 · 4 revisions

Prerequisites

  • NCEPLIBS and third party libraries need to be installed on the new platform
  • An example can be seen here

Files to be changed/added

S2S

  • modulefiles/<machine>.<compiler>/fv3
  • conf/configure.fv3.<machine>.<compiler>
  • tests/compile.sh, if necessary
  • An example can be seen here for stampede.intel
  • To compile, cd tests followed by ./compile.sh ../FV3 stampede.intel 'MAKE_OPT', see here for details

MOM6 (mkmf)

  • MOM6-interface/mkmf/templates/<machine>-<compiler>.mk
  • An example can be seen here for stampede-intel

CICE

  • CICE-interface/CICE/configuration/scripts/forapps/ufs/comp_ice.backend.clean
  • CICE-interface/CICE/configuration/scripts/forapps/ufs/comp_ice.backend.libcice
  • CICE-interface/CICE/configuration/scripts/machines/Macros.<machine>_<compiler>
  • An example can be seen here for stampede_intel

WW3

  • WW3/model/esmf/Makefile
  • WW3/model/bin/w3_setup
  • WW3/model/bin/cmplr.env
  • An example can be seen here for stampede
Clone this wiki locally