pgi compiler not using swap space

Hi, I am running a program in fortran 90 using the pgf90 compiler and it has a very large array in it (> 30gb) and I am exceeding the combined memory of my gpu and ram (~12gb + 16gb). I have enabled swap space (32gb) on my pc (running ubuntu 16.04), but the program is not using it.

Is there any way that the I can get tell the compiler to use the swap space aswell.

(swapiness is currently set to 60, but non of the swap space is being used). Many thanks Laurence

Hi Laurence,

Is there any way that the I can get tell the compiler to use the swap space aswell.

Swap space is managed by the OS and not something that is controlled by the compiler or compiler runtime libraries.

I’m not an IT person myself but did ask one of our IT folks, but unfortunately he didn’t know either what the problem would be and why the OS isn’t using the swap space.

Sorry we couldn’t be of more help,
Mat