CUDA Error in cuda_mem.cu

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
lantingzh
Newbie
Newbie
Posts: 1
Joined: Sun Apr 10, 2016 4:00 am
License Nr.: 5-1259

CUDA Error in cuda_mem.cu

#1 Post by lantingzh » Mon Apr 11, 2016 11:03 am

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?

guiyang_huang1
Newbie
Newbie
Posts: 12
Joined: Tue Nov 12, 2019 7:00 pm

Re: CUDA Error in cuda_mem.cu

#2 Post by guiyang_huang1 » Wed Nov 13, 2019 3:48 pm

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.

Post Reply