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?
CUDA Error in cuda_mem.cu
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 1
- Joined: Sun Apr 10, 2016 4:00 am
- License Nr.: 5-1259
-
- Newbie
- Posts: 12
- Joined: Tue Nov 12, 2019 7:00 pm
Re: CUDA Error in cuda_mem.cu
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.
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.