[lammps-users] building lammps in debian

Dear all,
I am buliding lammps in debian 5 since last couple of days but could not success. I got this error, I have installed fftw2.1.5 and openmpi 3 and put all path in makefile.linux. Error is:

stub -limf -lcudart -o …/lmp_linux
/usr/bin/ld: cannot find -latc
collect2: ld returned 1 exit status
make[1]: *** […/lmp_linux] Error 1
make[1]: Leaving directory `/home/sabi/lammps09/src/Obj_linux’
make: *** [linux] Error 2
localhost:/home/sabi/lammps09/src#

and here is top section of makefile:

linux = RedHat Linux box, GNU gcc, OMPI, FFTW

SHELL = /bin/sh

System-specific settings

CC = /home/sabi/openmpi/prefix/bin/mpicc
CCFLAGS=-g -O -I/home/sabi/fftw/prefix/include -DFFT_FFTW -DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX
DEPFLAGS = -M
LINK = /home/sabi/openmpi/prefix/bin/mpicc
LINKFLAGS = -O -L/home/sabi/openmpi/prefix/lib -L/home/sabi/fftw/prefix/lib
USRLIB = -lfftw -lmpi
SYSLIB = -lpthread -lstdc++
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size

Please anybody can remove my worries.
Thanks…
Sabi

/usr/bin/ld: cannot find -latc

This line is the error. It is looking for the LAMMPS atc lib, which
would only be the case if you are trying to build with the USER-ATC
package installed. If you don't want that, then you shouldn't have typed
make yes-user-atc. If you do want it, then you need to build its
library in lib/atc before building LAMMPS. This is all discussed
in the Section_start.html doc pages.

Steve