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

Memory allocation problem when running cases with suite SCM_GFS_v16_RRTMGP on MacOS #484

Open
mkavulich opened this issue May 24, 2024 · 0 comments

Comments

@mkavulich
Copy link
Collaborator

mkavulich commented May 24, 2024

When running tests for PR #477, I noticed that I could not run tests with one particular suite (SCM_GFS_v16_RRTMGP/"mallard"). Apparently it wasn't my changes though, because the same problem appears with the top of main: All the test cases I tried (astex, twpice, bomex) ended with the same failure:

 SURFACE EMISSIVITY INDEX, IDM,JDM: 360 180    NOTE: DATA FROM N TO S            
 Reading RRTMGP shortwave k-distribution metadata ... "
    stderr: " RRTMGP implicit cloud scheme being used.
Calling ccpp_physics_init with suite 'SCM_GFS_v16_RRTMGP'
In file '/Volumes/d1/kavulich/CCPP/rename_suite_files/after_rebase/main/ccpp-scm/ccpp/physics/physics/Radiation/RRTMGP/rrtmgp_sw_gas_optics.F90', around line 226: Error allocating 12519926383860640000 bytes: Cannot allocate memory

Unfortunately my Mac laptop does not have 12.5 exabytes of memory available, so the run segfaults.

Code was built on MacOS Ventura 13.6.7 with AppleClang 15.0.0.15000100 (C compiler) and GNU 12.3.0 (fortran compiler), with openmpi-4.1.6 from spack-stack 1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant