Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Download the OpenIFS 38r1 shallow-water replacement source tarball: openifs38r1_sw_newsrc.tgz
    (this file is also available on the OpenIFS ftp site)
  • Make a backup copy of the OpenIFS source code  in the directory where the OpenIFS model files were unpacked:

    Code Block
    cp -r src src.orig
  • Delete some files that will be replaced:

    Code Block
    rm src/openifs/dummy/decops2.f90
    rm src/openifs/dummy/gribex.f90
    rm src/openifs/emos/pbio/emosnum.F
    rm src/openifs/emos/pbio/fortint.h
    rm -r src/openifs/emos/gribex		# delete entire 'gribex' director
  • Unpack the tarfile downloaded above. This will create a new directory 'src/openifs/emos/gribex'.
    Make sure the tarfile is in the top level directory that contains 'src':

    Code Block
    # Make sure openifs38r1_sw_newsrc.tgz is in the directory that contains 'src.
    tar xzvf openifs38r1_sw_newsrc.tgz

    Verify that 'src/openifs/emos/gribex' exists and contains source code.

  • To compile the code if using GNU/gfortran, it may be necessary to enable the use of cray pointers.
    Edit 'make/oifs.cfg' and change:

    Code Block
    oifs.prop{fc}       = $OIFS_FC

    to:

    Code Block
    oifs.prop{fc}       = $OIFS_FC -fcray-pointer

...