Dear LAMMPS community,
After many years using Lammps as a muggle CPU user, I decided to try to use some GPUs.
Reading manual I realized I need to install first gpu library and then proceed from there. However, when I try installing it using for example make file provided in the link it fails.
http://lammps.sandia.gov/threads/msg36437.html
I have GeForce 645 NVIDIA card, successfully installed NVIDIA drivers and run the examples(samples).
Here is the error message:
make -f Makefile.linux_cuda
mpic++ -D
…
mpic++ -DMPI_GERYON -DUCL_NO_EXIT -DMPICH_IGNORE_CXX_SEEK -O2 -D_SINGLE_SINGLE -I/usr/local/cuda/include -DUSE_CUDPP -Icudpp_mini -o lal_neighbor_shared.o -c lal_neighbor_shared.cpp -I./
lal_neighbor_shared.cpp: In member function ‘void LAMMPS_AL::NeighborShared::compile_kernels(ucl_cudadr::UCL_Device&, int, std::__cxx11::string)’:
lal_neighbor_shared.cpp:59:31: error: ‘neighbor_cpu’ was not declared in this scope
nbor_program->load_string(neighbor_cpu,flags.c_str());
^
lal_neighbor_shared.cpp:63:32: error: ‘neighbor_gpu’ was not declared in this scope
build_program->load_string(neighbor_gpu,flags.c_str());
^
Nvidia.makefile:182: recipe for target ‘lal_neighbor_shared.o’ failed
make: *** [lal_neighbor_shared.o] Error 1
I have succesful mpi libraries as well.
mpicc -v
mpicc for MPICH2 version 1.4.1p1
…
Do you guys have any suggestions of where should I look for the answer?
Thanks,
Vasilii.