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 | Wed, 11/27/2013 - 18:14
Hi Ferdinando ,
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
richti83 | Wed, 11/27/2013 - 21:49
see ...
http://techblog.richtisoft.de/?download=liggghts-cuda for collaboration
https://github.com/richti83/LIGGGHTS-CUDA for code (basicly the variables above are hardcoded to make compiling run, at the moment I've no time to convert pair/gran/hooke to cuda but I'll asap)
http://cfdem.dcs-computing.com/?q=node/466 for discussion