[CP2K-user] List of supported GPUs?

Ryan Kingsbury RKing... at lbl.gov
Wed Mar 18 22:48:36 UTC 2020

Thank you, Fabian. Starting with a working non-CUDA arch file, I have 
followed the instructions here 
<https://www.cp2k.org/howto:compile_with_cuda> but my build is failing with 
the following. I'm having trouble determining why. Visual Studio C++ is 
installed and cl.exe is in my PATH. The file in questions (cublas.cu) 
exists in the folder listed, but I'm still getting a file not found error. 
Any ideas?

c1xx: fatal error C1083: Cannot open source file: 
: N
o such file or directory
make[4]: *** [/cygdrive/c/Users/ryans/cp2k-7.1/exts/dbcsr/Makefile:444: 
cublas.o] Error 2
make[3]: *** [Makefile:129: libdbcsr] Error 2
make[2]: *** [/cygdrive/c/Users/ryans/cp2k-7.1/exts/Makefile.inc:16: dbcsr] 
Error 2
make[1]: *** [/cygdrive/c/Users/ryans/cp2k-7.1/Makefile:123: pcuda] Error 2
make: *** [Makefile:118: all] Error 2

On Tuesday, March 17, 2020 at 6:33:02 AM UTC-7, Fabian Ducry wrote:
> Dear Ryan,
> I can confirm that cp2k runs on a GTX960. It does not have a lof of 
> memory, but in principles it works.
> All that --gpu_ver does is set the values of 
> NVFLAGS     = -arch 
> in the arch file.
> You have to find the corresponding value needed for your GPUs. I think it 
> is sm_52 for the GTX960 and sm_75 for the RTX 2060. You can simply specify 
> sm_50 and use it for both cards.
> Best,
> Fabian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200318/dd6c5cb9/attachment.htm>

More information about the CP2K-user mailing list