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
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.
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
andconfig_monarch_cb05.json
files.Any doubts contact me.