Skip to content
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

Added configuration to test CAMP_MONARCH convergence error #150

Open
cguzman95 opened this issue Nov 18, 2020 · 0 comments
Open

Added configuration to test CAMP_MONARCH convergence error #150

cguzman95 opened this issue Nov 18, 2020 · 0 comments
Assignees

Comments

@cguzman95
Copy link
Collaborator

Hi @mattldawson,

I just added a configuration that uses the input from CAMP-MONARCH non-converging ranks to replicate the same case on test monarch_2. Now we can debug the problem without using MONARCH. Also, it's easier to test different configurations like add emissions or modify a concentration, so I will comment this also to Oriol if he wants to take a look

The commit with that configuration is https://github.com/compdyn/partmc/commit/fbf9c924718325ab2e1a7938237d2810e21ea723 from branch develop-128-monarch-multicells. Some useful notes and functions to work with it:

  • Added in camp_solver.c an "export" function to save the CAMP solver input (initial state concentrations, temperature, pressure, and photolysis rates) into a txt when a CVODE_FAIL error pops.

  • Added in mock_monarch an "import" function to load the CAMP solver input saved from export input into the test.

  • Pushed into git CAMP input from ranks 18 and 322, both ranks retrieve a CVODE_FAIL flag on first time-step.

  • Added folder "camp_monarch" with CB05 JSONs used in CAMP-MONARCH. Also added interface_cb05.json and config_monarch_cb05.json files.

Any doubts contact me.

@cguzman95 cguzman95 self-assigned this Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant