Error in compiling user-cuda

Submitted by Ferdinando83 on Wed, 11/27/2013 - 17:26

Dears,
I can compile liggghts with gpu packages and I think it works but I can't compile it with user-cuda.
After the compiling of liblammpscuda.a in lib directory, if I try "make machine" I obtain this error:

pair_gran_hooke_cuda.cpp: In member function ‘void LAMMPS_NS::PairGranHookeCuda::allocate()’:
pair_gran_hooke_cuda.cpp:95:39: error: ‘kn’ was not declared in this scope
pair_gran_hooke_cuda.cpp:96:39: error: ‘kt’ was not declared in this scope
pair_gran_hooke_cuda.cpp:97:39: error: ‘gamman’ was not declared in this scope
pair_gran_hooke_cuda.cpp:98:39: error: ‘gammat’ was not declared in this scope
pair_gran_hooke_cuda.cpp:99:39: error: ‘xmu’ was not declared in this scope

Any hints?
Thanks in advance.
Best regards,
Ferdinando Forno

ckloss's picture

ckloss | Wed, 11/27/2013 - 18:14

Hi Ferdinando ,

all USER* packages are not maintained by us...
Basically the divergence in codebase between LAMMPS and LIGGGHTS has not been reflected in USER-CUDA

Cheers
Christoph