I have been trying this for along time but can’t seem to install the USER-CUDA package:
The following shows after the command make ps:
Installed NO: package ASPHERE
Installed NO: package BODY
Installed NO: package CLASS2
Installed NO: package COLLOID
Installed NO: package COMPRESS
Installed NO: package CORESHELL
Installed NO: package DIPOLE
Installed NO: package FLD
Installed NO: package GPU
Installed NO: package GRANULAR
Installed NO: package KIM
Installed NO: package KOKKOS
Installed YES: package KSPACE
Installed YES: package MANYBODY
Installed NO: package MC
Installed NO: package MEAM
Installed NO: package MISC
Installed YES: package MOLECULE
Installed NO: package MPIIO
Installed NO: package OPT
Installed NO: package PERI
Installed NO: package POEMS
Installed NO: package PYTHON
Installed NO: package QEQ
Installed NO: package REAX
Installed NO: package REPLICA
Installed NO: package RIGID
Installed NO: package SHOCK
Installed NO: package SNAP
Installed NO: package SRD
Installed NO: package VORONOI
Installed NO: package XTC
Installed NO: package USER-ATC
Installed NO: package USER-AWPMD
Installed NO: package USER-CG-CMM
Installed NO: package USER-COLVARS
Installed YES: package USER-CUDA
src/fix_freeze_cuda.cpp does not exist
src/pair_gran_hooke_cuda.cpp does not exist
src/pair_lj_class2_coul_cut_cuda.cpp does not exist
src/pair_lj_class2_coul_long_cuda.cpp does not exist
src/pair_lj_class2_cuda.cpp does not exist
src/pair_lj_sdk_coul_long_cuda.cpp does not exist
src/pair_lj_sdk_cuda.cpp does not exist
src/fix_freeze_cuda.h does not exist
src/pair_gran_hooke_cuda.h does not exist
src/pair_lj_class2_coul_cut_cuda.h does not exist
src/pair_lj_class2_coul_long_cuda.h does not exist
src/pair_lj_class2_cuda.h does not exist
src/pair_lj_sdk_coul_long_cuda.h does not exist
src/pair_lj_sdk_cuda.h does not exist
Installed NO: package USER-DIFFRACTION
Installed NO: package USER-DPD
Installed NO: package USER-DRUDE
Installed NO: package USER-EFF
Installed NO: package USER-FEP
Installed NO: package USER-H5MD
Installed NO: package USER-INTEL
Installed NO: package USER-LB
Installed NO: package USER-MGPT
Installed NO: package USER-MISC
Installed NO: package USER-MOLFILE
Installed NO: package USER-OMP
Installed NO: package USER-PHONON
Installed NO: package USER-QMMM
Installed NO: package USER-QTB
Installed NO: package USER-QUIP
Installed NO: package USER-REAXC
Installed NO: package USER-SMD
Installed NO: package USER-SMTBQ
Installed NO: package USER-SPH
Installed NO: package USER-TALLY
And when I am typing make serial after this:
…/domain_cuda.cpp
g++ -g -O3 -DLAMMPS_GZIP -I…/…/lib/cuda -DLMP_USER_CUDA -I…/STUBS -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=2 -DCUDA_ARCH=20 -c …/fft3d_cuda.cpp
In file included from …/fft3d_cuda.cpp:45:
…/fft3d_cuda.h:80:26: error: cuda_runtime.h: No such file or directory
…/fft3d_cuda.h:81:19: error: cufft.h: No such file or directory
In file included from …/fft3d_cuda.cpp:45:
…/fft3d_cuda.h:82: error: ‘cufftDoubleComplex’ does not name a type
…/fft3d_cuda.h:83: error: ‘cufftDoubleReal’ does not name a type
…/fft3d_cuda.h:122: error: ISO C++ forbids declaration of ‘cufftData’ with no type
…/fft3d_cuda.h:122: error: expected ‘;’ before ‘’ token
…/fft3d_cuda.h:123: error: ISO C++ forbids declaration of ‘cufftData’ with no type
…/fft3d_cuda.h:123: error: expected ‘;’ before ‘’ token
…/fft3d_cuda.h:125: error: ‘cufftHandle’ does not name a type
…/fft3d_cuda.h:126: error: ‘cufftHandle’ does not name a type
…/fft3d_cuda.h:127: error: ‘cufftHandle’ does not name a type
…/fft3d_cuda.h:128: error: ‘cufftHandle’ does not name a type
…/fft3d_cuda.cpp: In function ‘void fft_3d_cuda(FFT_DATA*, FFT_DATA*, int, fft_plan_3d*)’:
…/fft3d_cuda.cpp:116: error: ‘cufftResult’ was not declared in this scope
…/fft3d_cuda.cpp:116: error: expected ‘;’ before ‘retvalc’
…/fft3d_cuda.cpp:121: error: ‘struct fft_plan_3d’ has no member named ‘cudata2’
…/fft3d_cuda.cpp:121: error: ‘cudaMemcpyHostToDevice’ was not declared in this scope
…/fft3d_cuda.cpp:121: error: ‘cudaMemcpy’ was not declared in this scope
…/fft3d_cuda.cpp:122: error: ‘struct fft_plan_3d’ has no member named ‘cudata2’
…/fft3d_cuda.cpp:122: error: ‘cudaMemcpyHostToDevice’ was not declared in this scope
…/fft3d_cuda.cpp:122: error: ‘cudaMemcpy’ was not declared in this scope
…/fft3d_cuda.cpp:123: error: ‘struct fft_plan_3d’ has no member named ‘cudata2’
…/fft3d_cuda.cpp:123: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:128: error: ‘retvalc’ was not declared in this scope
…/fft3d_cuda.cpp:128: error: ‘struct fft_plan_3d’ has no member named ‘plan_3d’
…/fft3d_cuda.cpp:128: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:128: error: ‘struct fft_plan_3d’ has no member named ‘cudata2’
…/fft3d_cuda.cpp:128: error: ‘CUFFT_FORWARD’ was not declared in this scope
…/fft3d_cuda.cpp:128: error: ‘cufftExecZ2Z’ was not declared in this scope
…/fft3d_cuda.cpp:132: error: ‘retvalc’ was not declared in this scope
…/fft3d_cuda.cpp:132: error: ‘struct fft_plan_3d’ has no member named ‘plan_3d’
…/fft3d_cuda.cpp:132: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:132: error: ‘struct fft_plan_3d’ has no member named ‘cudata2’
…/fft3d_cuda.cpp:132: error: ‘CUFFT_INVERSE’ was not declared in this scope
…/fft3d_cuda.cpp:132: error: ‘cufftExecZ2Z’ was not declared in this scope
…/fft3d_cuda.cpp:134: error: ‘retvalc’ was not declared in this scope
…/fft3d_cuda.cpp:134: error: ‘CUFFT_SUCCESS’ was not declared in this scope
…/fft3d_cuda.cpp: In function ‘fft_plan_3d* fft_3d_create_plan_cuda(int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int*, bool)’:
…/fft3d_cuda.cpp:416: error: ‘cufftResult’ was not declared in this scope
…/fft3d_cuda.cpp:416: error: expected ‘;’ before ‘retvalc’
…/fft3d_cuda.cpp:439: error: ‘retvalc’ was not declared in this scope
…/fft3d_cuda.cpp:439: error: ‘struct fft_plan_3d’ has no member named ‘plan_3d’
…/fft3d_cuda.cpp:439: error: ‘CUFFT_Z2Z’ was not declared in this scope
…/fft3d_cuda.cpp:439: error: ‘cufftPlan3d’ was not declared in this scope
…/fft3d_cuda.cpp:440: error: ‘CUFFT_SUCCESS’ was not declared in this scope
…/fft3d_cuda.cpp: In function ‘void fft_3d_destroy_plan_cuda(fft_plan_3d*)’:
…/fft3d_cuda.cpp:479: error: ‘struct fft_plan_3d’ has no member named ‘plan_3d’
…/fft3d_cuda.cpp:479: error: ‘cufftDestroy’ was not declared in this scope
…/fft3d_cuda.cpp: In function ‘void fft_1d_only_cuda(FFT_DATA*, int, int, fft_plan_3d*)’:
…/fft3d_cuda.cpp:591: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:591: error: ‘cudaMemcpyHostToDevice’ was not declared in this scope
…/fft3d_cuda.cpp:591: error: ‘cudaMemcpy’ was not declared in this scope
…/fft3d_cuda.cpp:593: error: ‘struct fft_plan_3d’ has no member named ‘plan_3d’
…/fft3d_cuda.cpp:593: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:593: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:593: error: ‘CUFFT_FORWARD’ was not declared in this scope
…/fft3d_cuda.cpp:593: error: ‘cufftExecZ2Z’ was not declared in this scope
…/fft3d_cuda.cpp:598: error: ‘struct fft_plan_3d’ has no member named ‘plan_3d’
…/fft3d_cuda.cpp:598: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:598: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:598: error: ‘CUFFT_FORWARD’ was not declared in this scope
…/fft3d_cuda.cpp:598: error: ‘cufftExecZ2Z’ was not declared in this scope
…/fft3d_cuda.cpp:603: error: ‘struct fft_plan_3d’ has no member named ‘cudata’
…/fft3d_cuda.cpp:603: error: ‘cudaMemcpyDeviceToHost’ was not declared in this scope
make[1]: *** [fft3d_cuda.o] Error 1
make[1]: Leaving directory `/home/gsethi/lamps/lammps-15May15/src/Obj_serial’
make: *** [serial] Error 2
PLease help me.