Skip to content

Instantly share code, notes, and snippets.

@mark-petersen
Last active September 25, 2020 16:47
Show Gist options
  • Save mark-petersen/b0360e9fdb17a00669768c188b373883 to your computer and use it in GitHub Desktop.
Save mark-petersen/b0360e9fdb17a00669768c188b373883 to your computer and use it in GitHub Desktop.
COMPASS ocean config file for LANL IC
# This file is the ocean core's configuration file. It is specific to the ocean
# core, and a specific machine. Each machine will configure this file
# differently, but it can be used to point on version of the testing
# infrastructure at a different version of the model.
# The namelists section defines paths to template namelists that will be used
# to generate specific namelists. Typically these will point to the forward and
# init namelists in the default_inputs directory after a successful build of
# the ocean model.
[namelists]
forward = /turquoise/usr/projects/climate/mpeterse/repos/model/ocean_develop/namelist.ocean.forward
init = /turquoise/usr/projects/climate/mpeterse/repos/model/ocean_develop/namelist.ocean.init
# The streams section defines paths to template streams files that will be used
# to generate specific streams files. Typically these will point to the forward and
# init streams files in the default_inputs directory after a successful build of
# the ocean model.
[streams]
forward = /turquoise/usr/projects/climate/mpeterse/repos/model/ocean_develop/streams.ocean.forward
init = /turquoise/usr/projects/climate/mpeterse/repos/model/ocean_develop/streams.ocean.init
# The executables section defines paths to required executables. These
# executables are provided for use by specific test cases.
# Full paths should be provided in order to access the executables from
# anywhere on the machine.
[executables]
model = /turquoise/usr/projects/climate/mpeterse/repos/model/ocean_develop/ocean_model
# The paths section describes paths that are used within the ocean core test
# cases.
[paths]
# The mesh_database and the initial_condition_database are locations where
# meshes / initial conditions might be found on a specific machine. They can be
# the same directory, or different directory. Additionally, if they are empty
# some test cases might download data into them, which will then be reused if
# the test case is run again later.
mpas_model = /turquoise/usr/projects/climate/mpeterse/repos/model/ocean_develop
mesh_database = /usr/projects/regionalclimate/COMMON_MPAS/ocean/grids/mesh_database
initial_condition_database = /usr/projects/regionalclimate/COMMON_MPAS/ocean/grids/initial_condition_database
bathymetry_database = /lustre/scratch4/turquoise/mpeterse/bathymetry_database
# The options in this section relate to configuring and running with a compass
# conda environment
[conda]
# Whether a link to load_compass_env.sh should be included with each test case
# (can also be specified with the --link_load_compass flag)
link_load_compass = False
@xylar
Copy link

xylar commented Sep 24, 2020

@mark-petersen, the geometric_data line is no longer used and should be removed from the example
https://gist.github.com/mark-petersen/b0360e9fdb17a00669768c188b373883#file-general-config-ocean_turq-L40

@mark-petersen
Copy link
Author

Thanks. Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment