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