Begin forwarded message:
Subject: hbw_malloc on KNL
Date: August 31, 2016 at 5:00:44 PM CDT
Hi all,
I am experimenting with hbw_malloc() in PETSc. I used it to replace the default malloc() in PETSc. But I got the following error messages on the screen when running my PETSc example:
map size mismatch; abort
: No such file or directory
Each process threw out the above message twice. After that, the program continued to run to the end. But it took way more time than expected.
The good news is, if I call hbw_malloc() to allocate a bit memory, e.g. 1 byte, before PetscInitialize(), the error will disappear and the example runs almost as fast as using the numactl option (which automatically put everything on MCDRAM). Although it works
somehow, adding a test call to how_malloc() like this is just absurd. I am wondering if you have any clue on why this happens and how to fix it. FYI, I attached the driver for the PETSc example.
Thanks,
Hong
|
ex5_knl.c
Description: Binary data