magma_dmalloc_cpu & a large matrix (>50000*50000)

9 views
Skip to first unread message

Aran Nokan

unread,
Feb 8, 2022, 3:37:42 PMFeb 8
to MAGMA User
Hi,
I am trying to allocate a matrix with "TESTING_CHECK( magma_dmalloc_cpu( &h_A,  M*N     ));" but I am seeing this error:

Error: magma_dmalloc_cpu( &h_A, M*N )
error -112: cannot allocate memory on CPU host

I have lots of memory space (at least 4 times more than what magma_dmalloc_cpu needs). What is the problem?
For a 50K matrix it should allocate ~20GB space, but I have more than 100GB.

ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 513861
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 79878
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Best regards,
A.N.
Reply all
Reply to author
Forward
0 new messages