Compiling gpu library failing on XC50 Hayswell architecture

Dear all,

My name is Riccardo and I am having some issues compiling the gpu library of lammps. The code fails when compiling nvd_device.h.

The identifier ‘CU_COMPUTEMODE_EXCLUSIVE’ is undefined.

I am compiling the code with CC.

While I imagine this is a trivial mistake, could somebody point me towards a solution or a manual to read?

Kind regards,

Riccardo

Dear all,

My name is Riccardo and I am having some issues compiling the gpu library
of lammps. The code fails when compiling nvd_device.h.

The identifier 'CU_COMPUTEMODE_EXCLUSIVE' is undefined.

I am compiling the code with CC.

​this is obviously wrong. this code is to be compiled with nvcc​, which
should be taken care of, when using the proper makefile in the lib folder.

While I imagine this is a trivial mistake, could somebody point me towards
a solution or a manual to read?

​there is a README file in the lib/gpu folder.​

axel.