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

[BUG/ISSUE] MAPL crashes on systems with >2.147 TB of memory #14

Closed
LiamBindle opened this issue Mar 2, 2020 · 3 comments
Closed

[BUG/ISSUE] MAPL crashes on systems with >2.147 TB of memory #14

LiamBindle opened this issue Mar 2, 2020 · 3 comments
Labels
category: Bug Something isn't working

Comments

@LiamBindle
Copy link
Contributor

LiamBindle commented Mar 2, 2020

I noticed some GCHPctm simulations are crashing on some nodes on compute1 with the following error

...
At line 548 of file /my-projects/sgv/line-3/GCHPctm/src/MAPL/MAPL_Base/MAPL_MemUtils.F90
Fortran runtime error: Integer overflow while reading item 1
...

The line where the overflow occurs is https://github.com/geoschem/MAPL/blob/10e7a0bc8d0d79eb90a3742980fa6f7f073a87e3/MAPL_Base/MAPL_MemUtils.F90#L548 because memtot is a 32-bit signed integer, and this is happening on nodes that report >3TB of memory in /proc/meminfo.

Changing memtot to a 64-bit integer should fix this. I'll do this when I get a chance

@LiamBindle LiamBindle added the category: Bug Something isn't working label Mar 2, 2020
@LiamBindle
Copy link
Contributor Author

LiamBindle commented Mar 2, 2020

On LSF you can deny-list hosts with >2TB of memory like so

#BSUB -R "select[mem < 2000000]"

to prevent your job from landing on hosts with too much memory

@lizziel lizziel changed the title MAPL crashes on systems with >2.147 TB of memory [BUG/ISSUE] MAPL crashes on systems with >2.147 TB of memory Apr 3, 2020
@LiamBindle
Copy link
Contributor Author

I'll follow up with a PR for this shortly. It's trivial.

@LiamBindle
Copy link
Contributor Author

Hopefully fixed in GEOS-ESM/MAPL#591

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
Projects
None yet
Development

No branches or pull requests

1 participant