Update MITgcm Configuration Model authored by Serafim Simonov's avatar Serafim Simonov
...@@ -16,12 +16,13 @@ The MITgcm configuration comprises of: ...@@ -16,12 +16,13 @@ The MITgcm configuration comprises of:
- Model size setup - Model size setup
- Located in `code/SIZE.h` - Located in `code/SIZE.h`
- Specific attributes to a package are controlled in `code/{PKG}_SIZE.h`
### *_OPTIONS.h ### *_OPTIONS.h
- Control features of packages - Control features of packages
- Global features are controlled in `code/CPP_OPTIONS.h` - Global features are controlled in `code/CPP_OPTIONS.h`
- Specific features are controlled in package related `<PKG>_OPTIONS.h` files - Specific features are controlled in package related `code/<PKG>_OPTIONS.h` files
## Input Data & Configuration ## Input Data & Configuration
...@@ -34,11 +35,18 @@ The MITgcm configuration comprises of: ...@@ -34,11 +35,18 @@ The MITgcm configuration comprises of:
## List of Configuration Files per Package ## List of Configuration Files per Package
Each package provides some additional simulation functionality. To use package in an experiment, we must declare it in `code/pacakge.conf`. This tells the MITgcm to compile a model.
In `input/data.pkg` we activate the package to use it in run-time.
The package-specific parameterization takes place in similar configuration files, which are already mentioned above.
Note: Some packages don't feature some types of configuration files. The table below gives an overview, which type of configuration file is present in each package.
| Package | {PKG}_SIZE.h |{PKG}_OPTIONS.h| | Package | {PKG}_SIZE.h |{PKG}_OPTIONS.h|
| ------ | ------ |------| | ------ | ------ |------|
| mnс | || | mnс | ||
| Layers | ✔ |✔| | Layers | ✔ |✔|
| diagnostics | ✔ || | diagnostics | ✔ ||
| gmredy |❌|✔| | gmredy |❌|✔|
| rbcs | ✔|✔| | rbcs | ✔|✔|
| ptracers |✔|✔| | ptracers |✔|✔|
... ...
......