intel / yask

YASK--Yet Another Stencil Kit: a domain-specific language and framework to create high-performance stencil code for implementing finite-difference methods and similar applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YASK Kernel: error: cannot allocate [gb]

rawsh opened this issue · comments

https://pastebin.com/raw/WGYcEaxR

Using yask recipe from documentation.

make -j stencil=iso3dfd arch=intel64
/home/robert/Documents/Build/yask/bin/yask.sh -stencil iso3dfd -arch intel64 -bx 192 -by 96 -bz 96 -dx 1536 -dy 1024 -dz 768

Thanks for your interest in using YASK!
This particular "error" is a normal exception caused by not enough memory on the platform.
Try freeing up memory or running with a smaller problem-size by reducing the "-d" knob arguments.

Thanks for posting the log file--this was indispensable for quickly finding the root-cause. See the following (comments added):
MemTotal: 16421840 kB ## There are16 GiB on this machine...
MemFree: 4509888 kB ## ...but only about 4.5 GiB free...
MemAvailable: 12199044 kB ## ...and 12 GiB available.
...
Allocating 14.027GiB for 3 grid(s) using default allocator...
YASK Kernel: error: cannot allocate 14.027GiB. ## Needs 14 GiB.