Page 1 of 1

CUDA Error in cuda_mem.cu

Posted: Mon Apr 11, 2016 11:03 am
by lantingzh
Before and after patching patch #1 for vasp.5.4.1.05Feb15, always the same error on K20, K40 and K80:
CUDA Error in cuda_mem.cu, line 68: pointer does not correspond to a registered memory region
Failed to unregister pinned memory!
Any solutions?

Re: CUDA Error in cuda_mem.cu

Posted: Wed Nov 13, 2019 3:48 pm
by guiyang_huang1
First, try to not use pinned memory options.

Second, try to not use multithread compiler options.

I don't know whether this can solve the problem.

The pgi compiler can use the pinned memory options for IBM power9.
gcc and xl compiler can not use the pinned memory options for IBM power9. I don't know the reason.

-fopenmp can be used for gnu compiler.
If -mp is used for the pgi compiler, there would exist errors.
-qsmp can be used for xl compiler.