-
Notifications
You must be signed in to change notification settings - Fork 368
Chemistry stub modules for MUSICA MICM #1360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
…/musica, with Makefiles. Modified core_atmosphere/Makefile to build chemistry source. Added MUSICA MICM stub modules chemistry/mpas_atm_chemistry.F and chemistry/musica/mpas_musica.F.
…at the end of atm_core_init in mpas_atm_core.F.
…t, etc, for consistency with MUSICA and the rest of MPAS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no problems with this, but I do have the same question as matt
all: | ||
./../tools/manage_externals/checkout_externals --externals ./../Externals.cfg | ||
$(MAKE) core_mpas_musica core_chemistry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested with w/o including MUSICA library in the build? I think we should exclude the mpas_musica.F
file in the build when MUSICA is not linked.
The module chemistry/mpas_atm_chemistry.F has non-implemented stub subroutines for
init_chemistry
(will callmusica_init
from mpas_musica)step_chemistry
(will callmusica_step
from mpas_musica)finalize_chemistry
(will callmusica_finalize
from mpas_musica)chemistry/musica/mpas_musica.F will define the mpas_musica module with the
musica_init
,musica_step
, andmusica_finalize
subroutines, also to be implemented.It uses and directly links to the MUSIC MICM modules
Also included is an error checking function
has_error_occurred
.Note that the call to
music_init
will take as an argument the chemistry species defined as a new mpas_var_array to be implemented in a new framework module, for instance mpas_runtime_vars. The calling arguments will be further specified in subsequent PRs.