User Tools

Site Tools


howto:compile_with_cuda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:compile_with_cuda [2019/04/09 12:44]
alazzaro [Libcusmm]
howto:compile_with_cuda [2019/12/18 11:12]
alazzaro
Line 10: Line 10:
 NVCC    = /​path_to_cuda/​bin/​nvcc NVCC    = /​path_to_cuda/​bin/​nvcc
 DFLAGS += -D__ACC -D__DBCSR_ACC -D__PW_CUDA DFLAGS += -D__ACC -D__DBCSR_ACC -D__PW_CUDA
-LIBS   += -lcudart -lcublas -lcufft -lrt+LIBS   += -lcudart -lcublas -lcufft -lnvrtc
 </​code>​ </​code>​
  
Line 39: Line 39:
  
 More supported GPUs can be added, please refer to [[https://​github.com/​cp2k/​dbcsr/​blob/​develop/​src/​acc/​libsmm_acc/​libcusmm/​tune.md | this howto]]. More supported GPUs can be added, please refer to [[https://​github.com/​cp2k/​dbcsr/​blob/​develop/​src/​acc/​libsmm_acc/​libcusmm/​tune.md | this howto]].
-[[howto:​libcusmm | this howto]]. 
  
 ===== Profiling ===== ===== Profiling =====
 If you are interested in profiling CP2K with nvprof have a look at [[dev:​profiling#​nvprof | these remarks]]. If you are interested in profiling CP2K with nvprof have a look at [[dev:​profiling#​nvprof | these remarks]].
howto/compile_with_cuda.txt ยท Last modified: 2019/12/18 11:12 by alazzaro