Dear all,
I’m trying to compile LAMMPS with the user-CUDA package, following the steps on this page: . I: 1) have the Cuda toolkit and drivers for my Quadro K2000 up and running (tested), 2) compiled the user-cuda package (lib/cuda) with default options, 3) copied the files liblammpscuda.a and Makefile.lammps to the LAMMPS src directory, 4) and invoked “make clean-all”, “make yes-user-cuda” and “make openmpi”. Everything goes well and with no errors up to the last command, where I get the following error: “…/cuda.cpp:87:43: error: ‘CUDA_ARCH’ was not declared in this scope”. I’ve tried changing the default architecture from 20 to 21, but that didn’t make any difference. My LAMMPS version is April2013. Can anyone tell me how to fix this error? Regards, Martijn van den Ende PhD Candidate Utrecht University