[gmx-users] compiling GPU 4.5b2, CUDA_INCLUDE_DIRECTORIES function is undefined

Rossen Apostolov rossen.apostolov at cbr.su.se
Fri Aug 6 19:59:25 CEST 2010


  Hi Chris,
>
> ## what I did:
>
> module purge
> module load gcc/gcc-4.4.0
> module load cmake/2.8.0  #need version >=2.6.4
> module load cuda/cuda-3.1
> mkdir gpuexec
> export 
> OPENMM_ROOT_DIR=/project/pomes/cneale/GPC/exe/OpenMM2.0-Source/exec/openmm
> cmake /project/pomes/cneale/GPC/exe/intel/gromacs-4.5-beta2/*src* 
> -DGMX_OPENMM=ON 
Here is the problem - you are passing to CMake the wrong path, it should 
be just /project/pomes/cneale/GPC/exe/intel/gromacs-4.5-beta2/ (rather 
than ...-beta2/*src*)
> -DGMX_THREADS=OFF -DCMAKE_INSTALL_PREFIX=$(pwd)/gpuexec 
> -DLIB_INSTALL_DIR=$(pwd)/gpuexec
>
> ## output
>
> CMake Error at kernel/gmx_gpu_utils/CMakeLists.txt:18 
> (CUDA_INCLUDE_DIRECTORIES):
>   Unknown CMake command "CUDA_INCLUDE_DIRECTORIES".
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20100806/c6267470/attachment.html>


More information about the gromacs.org_gmx-users mailing list