[FLASH-USERS] malloc assertion failure

Yiheng Xu yhxu at umd.edu
Sat Apr 3 12:55:32 EDT 2021


Dear Flash users,

I'm trying to run Flash on Cori Nersc Machines. I set it up with
-auto +nofbs. I believe I set mpi path and hdf5 path correctly. The code
compiled successfully, however, at runtime, it gave me the following errors:

srun -n 4 ./flash4
 RuntimeParameters_read:  ignoring unknown parameter "lrefine_max"...
 RuntimeParameters_read:  ignoring unknown parameter "refine_var_1"...
 RuntimeParameters_read:  ignoring unknown parameter "refine_var_2"...
flash4: malloc.c:2422: sysmalloc: Assertion `(old_top == initial_top
(av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
0)' failed.
flash4: malloc.c:2422: sysmalloc: Assertion `(old_top == initial_top
(av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
0)' failed.
flash4: malloc.c:2422: sysmalloc: Assertion `(old_top == initial_top
(av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
0)' failed.
srun: error: nid00163: task 1: Aborted
srun: Terminating job step 41331007.1

Does anyone know where could this problem come from and how to solve it? I
would really appreciate it!

Best regards,
Yiheng Xu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210403/3da70a00/attachment.htm>


More information about the flash-users mailing list