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

"KPP integration failed!" with GCClassic 14.4.3 #2524

Open
Liyl2 opened this issue Oct 17, 2024 · 12 comments
Open

"KPP integration failed!" with GCClassic 14.4.3 #2524

Liyl2 opened this issue Oct 17, 2024 · 12 comments
Assignees
Labels
category: Bug Something isn't working topic: Carbon Gases Simulations Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO)

Comments

@Liyl2
Copy link

Liyl2 commented Oct 17, 2024

Your name

Yali LI

Your affiliation

Southern University of Science and Technology

What happened? What did you expect to happen?

Hello, I'm running carbon mechanism (CH4 only) based on GCClassic v14.4.3, but I'm having problems: KPP integration failed!
屏幕截图 2024-10-17 145333

I rebuilt the carbon mechanism with the latest KPP version 3.1.1 although no changes have been made (. /build_mechanism.sh carbon,) and the carbon mechanism is as low as v2.5.0, which I think is sufficient. Other than that, I simply did the following configurations:

  1. I didn't find Restart file for GC14.4.0 (http://geoschemdata.wustl.edu/ExtData/), so I used GC14.3.0 instead.
  2. for HEMCO, I turned off EDGARv8 and changed ‘EFYO’ to ‘CYS’ for SPC_.

I also tried using the KPP v2.5.0 version and still have the same problem. Had the same problem with GCClassic 14.3.1.

What are the steps to reproduce the bug?

KPP mechanism rebuilt, GC compiles all fine. Bugs appear after committing tasks.

Please attach any relevant configuration and log files.

GC.log
geoschem_config.yml.txt
HEMCO_Config.rc.txt
HISTORY.rc.txt
summarize_build.txt

What GEOS-Chem version were you using?

GCClassic 14.4.3

What environment were you running GEOS-Chem on?

Local cluster

What compiler and version were you using?

gcc 11.2.0,ifort18.0.5

Will you be addressing this bug yourself?

Yes

In what configuration were you running GEOS-Chem?

GCClassic

What simulation were you running?

Carbon

As what resolution were you running GEOS-Chem?

4x5°,47L

What meterology fields did you use?

MERRA-2

Additional information

No response

@Liyl2 Liyl2 added the category: Bug Something isn't working label Oct 17, 2024
@Liyl2 Liyl2 changed the title KPP integration failed! with GCClassic KPP integration failed! with GCClassic 14.4.3 Oct 17, 2024
@Liyl2 Liyl2 changed the title KPP integration failed! with GCClassic 14.4.3 "KPP integration failed!" with GCClassic 14.4.3 Oct 17, 2024
@yantosca yantosca self-assigned this Oct 17, 2024
@Liyl2
Copy link
Author

Liyl2 commented Oct 20, 2024

Hi,Hello, I realised that I was using fullchem's Restart before, so reused carbon's Restart (http://geoschemdata.wustl.edu/ExtData/GEOSCHEM_RESTARTS/v2023-01/), but still the same problem: KPP integration failedimage

@lizziel
Copy link
Contributor

lizziel commented Oct 21, 2024

Hi Liyl2, are you able to run with the out-of-the-box code, without rebuilding KPP?

@Liyl2
Copy link
Author

Liyl2 commented Oct 21, 2024

Hi Liyl2, are you able to run with the out-of-the-box code, without rebuilding KPP?

Hi @lizziel , I ran the source code without rebuilding KPP, it was the same problem, and I was confused because of it.

@lizziel
Copy link
Contributor

lizziel commented Oct 21, 2024

Could you try a 72 level run, with verbose turned on in geoschem_config.yml?

@Liyl2
Copy link
Author

Liyl2 commented Oct 21, 2024

Could you try a 72 level run, with verbose turned on in geoschem_config.yml?

I have also tried the 72 level carbon simulation, still the same problem. I have been using GCClassic 14.0.2 before, and it worked fine. This is my first time trying the carbon mechanism, and it is strange that even the most primitive code cannot run.

@Liyl2
Copy link
Author

Liyl2 commented Oct 22, 2024

I also tried fullchem simulation and CH4 simulation based on GCClassic v14.0.3, they are worked well. However, using the carbon mechanism to simulate CO2 does not work either, so it seems to be a problem with the carbon mechanism, but there is no ERROR at compile time, which has puzzled me for a long time. I want to add species to the carbon mechanism, so need to go through the carbon mechanism. Maybe you can give me some tips on what to check first. Thanks!

@lizziel
Copy link
Contributor

lizziel commented Oct 22, 2024

Could you include your entire log file here? If you add extension .txt then you can drag and drop it into the comment box.

@lizziel
Copy link
Contributor

lizziel commented Oct 22, 2024

Also, did you build with -DMECH=carbon?

@Liyl2
Copy link
Author

Liyl2 commented Oct 22, 2024

Could you include your entire log file here? If you add extension .txt then you can drag and drop it into the comment box.

image

Hi, I've uploaded the GC.log file above. I am sure that I have used -DMECH=carbon and the compilation message also shows that the carbon mechanism has been successfully used.

@lizziel
Copy link
Contributor

lizziel commented Oct 22, 2024

I am tagging @msulprizio on this since she fixing some problems with the carbon simulation. However, I don't think the problems involved KPP integration errors. Melissa, have you seen this issue before?

@msulprizio
Copy link
Contributor

msulprizio commented Oct 23, 2024

I have not encountered this error. Our carbon simulations are regularly passing integration tests (i.e. they run successfully for 1-hour for carbon, carbon-CH4 only, carbon-CO2 only, and carbon-CO only).

@Liyl2 I would recommend following suggestions in our debug guide to see if you can identify the issue. This would include seeing if you can run with the out-of-the-box configuration, turning on debug output to log files, etc.

You may also want to try running with the dev/14.5.0 branch to obtain additional fixes to the carbon simulation. In the GCClassic wrapper, do (1) git pull origin, (2)git checkout dev/14.5.0, (3) git submodule update --init --recursive`. Then create a fresh run directory, build GEOS-Chem, and try running.

As Lizzie mentions above, I am working on additional fixes for CO2 in the carbon simulation in #2510. Those fixed will go into version 14.5.1, but the carbon simulation should run even without those fixes -- CO2 will just be wrong.

@msulprizio msulprizio assigned msulprizio and unassigned yantosca Oct 23, 2024
@msulprizio msulprizio added the topic: Carbon Gases Simulations Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO) label Oct 23, 2024
@Liyl2
Copy link
Author

Liyl2 commented Oct 25, 2024

Hi, @msulprizio Thanks for your suggestion. I was going to use the GDB debugger to find my error, but when I used Debug mode it successfully ran the carbon mechanism based on GCClassic 14.4.3! Although the Release version still do not work. Is there a big difference between Debug and Release versions? Can I run it in Debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Bug Something isn't working topic: Carbon Gases Simulations Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO)
Projects
None yet
Development

No branches or pull requests

4 participants