device memory usage, nek_userchk #279
tonyzahtila
started this conversation in
General
Replies: 2 comments 1 reply
-
This would suggest that you run out of memory on the host. Note, running nrspre just compiles nek (but doesn't load it) + kernels. |
Beta Was this translation helpful? Give feedback.
1 reply
-
nrspre is used to precomile
The number of target MPI ranks is only relevant for nek5000 because it is using a static memory design. Special compiler flags like "-mcmodel=medium" are automatically applied. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I do most of my on-the-fly post-processing of Nek5000 quantities in the subroutine userchk. I am a bit confused on how arrays I declare in this subroutine impact the memory budget of NekRS.
I tend to define regular grids in my pipe, and then use interp_nfld to map my solution onto to a regular grid, facilitating post-processing.
Now, my confusion is that when I add these arrays, I am able to run nrspre:
nrspre turbPipe 4
This runs successfully.
When I run my case:
nrsmpi turbPipe 4
It give me an out of memory error.
I can of course then try with more ranks,
nrsmpi turbPipe 8
but the device memory usage will be quite low, such as:
device memory usage: 1.04241 GB
Any suggestions for what is happening?
Beta Was this translation helpful? Give feedback.
All reactions