Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Runtime error "free(): invalid next size (normal)" and SIGABRT during CESM2 run

jray

Ray Shi
New Member
What version of the code are you using?
- cesm2_3_beta17_gui


Have you made any changes to files in the source tree?
- No


Describe every step you took leading up to the problem:
- port CESM model to perlmutter
- modify config_machines.xml, config_compilers.xml, config_batch.xml, (gnu compiler)
- use GUI to create idealized coupled CESM case
- setup, build, submit
- have errors in cesm.log.XXX



If this is a port to a new machine: Please attach any files you added or changed for the machine port (e.g., config_compilers.xml, config_machines.xml, and config_batch.xml) and tell us the compiler version you are using on this machine.
Please attach any log files showing error messages or other useful information.

- port CESM model to perlmutter, gnu compiler
- no error during build

- error message during run:
"
...

2: free(): invalid next size (normal)
2:
2: Program received signal SIGABRT: Process abort signal.
2:
2: Backtrace for this error:
4: corrupted double-linked list
4:
4: Program received signal SIGABRT: Process abort signal.
4:
4: Backtrace for this error:
1: double free or corruption (out)
1:
1: Program received signal SIGABRT: Process abort signal.
1:
1: Backtrace for this error:
1: #0 0x14d4ea053d6f in ???
...
"

Describe your problem or question:
I am encountering a runtime error when running idealized coupled CESM that causes the program to abort. The error message is shown above.
The module env, config files and cesm.log files were attached.
I would appreciate any advice on debugging this kind of error or hints on whether it could be related to my environment.
 

Attachments

  • CESM_error_SIGABRT.zip
    20.9 KB · Views: 0

jray

Ray Shi
New Member
When DEBUG=TRUE, the error message in cesm.log is:
14: At line 546 of file /pscratch/sd/j/jrayshi/cesm2_3_beta17_gui/components/clm/src/cpl/share_esmf/lnd_set_decomp_and_domain.F90
14: Fortran runtime error: Index '12097' of dimension 1 of array 'lndmask_glob' above upper bound of 456
 
Top