Skip to content

Floating point divide-by-zero error in APM module (apm_phys_mod.F:2213) during GEOS-Chem run #2962

@Jiao-sustech

Description

@Jiao-sustech

Your name

Jiao

Your affiliation

Southern University of Science and Technology

What happened? What did you expect to happen?

Hi @yantosca, I encountered a forrtl: error (73): floating divide by zero during a GEOS-Chem Classic run with the APM module. The error occurs in apm_phys_mod.F at line 2213, and causes the simulation to crash with a core dump. Someone meet the similar issue. Here's the relevant traceback:

forrtl: error (73): floating divide by zero
...   
gcclassic          000000000115F0B4  apm_phys_mod_mp_d        2213  apm_phys_mod.F
gcclassic          000000000114CDE5  apm_phys_mod_mp_a         510  apm_phys_mod.F
gcclassic          000000000089EB7D  apm_driv_mod_mp_a        1392  apm_driv_mod.F90
...
Aborted                 (core dumped)

The model was compiled successfully, and the run began normally before crashing at this point. I discussed this with someone else, and they mentioned they had encountered a similar issue with the APM module as well.
Thanks for your support!

What are the steps to reproduce the bug?

cmake ../CodeDir -DRUNDIR=.. -DAPM=y -DCMAKE_BUILD_TYPE=Debug
make -j
make install

Please attach any relevant configuration and log files.

err.log

GC.log

What GEOS-Chem version were you using?

14.6.1

What environment were you running GEOS-Chem on?

Local cluster

What compiler and version were you using?

gcc 4.8.5, ifort 18.0.5

Will you be addressing this bug yourself?

No

In what configuration were you running GEOS-Chem?

GCClassic

What simulation were you running?

Full chemistry

As what resolution were you running GEOS-Chem?

2×2.5

What meterology fields did you use?

MERRA-2

Additional information

No response

Metadata

Metadata

Assignees

Labels

category: BugSomething isn't workingtopic: AerosolsRelated to aerosol species and/or microphysics in GEOS-Chemtopic: Runtime ErrorRelated to runtime issues (e.g. simulation stopped w/ error)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions