Dear All,
I have compiled lammps in a linux cluster by using the guidance of user manual, but only one error is showing -
"…/usr/bin/ld: cannot find -lifcore
collect2: ld returned 1 exit status
make[1]: *** […/lmp_linux] Error 1
make[1]: Leaving directory `/export/rahul/lammps/lammps-26May13/src/Obj_linux’
make: *** [linux] Error 2
"
can you make suggestion for this, I have tried a lot in mail list but not found. Please help.
ADD info:
mY MAKE FILE IS HERE:
linux = RedHat Linux box, mpicc, FFTW
SHELL = /bin/sh
---------------------------------------------------------------------
compiler/linker settings
specify flags and libraries needed for your compiler
CC = /opt/LinuxSoftwares/openmpi-1.6.4/prefix/bin/mpicc
CCFLAGS = -g -O -I/opt/LinuxSoftwares/fftw-2.1.5/prefix/include -DFFT_FFTW -DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX
SHFLAGS = -fPIC
DEPFLAGS = -M
LINK = /opt/LinuxSoftwares/openmpi-1.6.4/prefix/bin/mpicc
LINKFLAGS = -O -L/opt/LinnuxSoftwares/openmpi-1.6.4/prefix/lib -L/opt/LinuxSoftwares/fftw-2.1.5/prefix/lib
LIB = -lpthread -lstdc++
SIZE = size
ARCHIVE = ar
ARFLAGS = -rc
SHLIBFLAGS = -shared
---------------------------------------------------------------------
LAMMPS-specific settings
specify settings for LAMMPS features you will use
if you change any -D setting, do full re-compile after “make clean”
LAMMPS ifdef settings, OPTIONAL
see possible settings in doc/Section_start.html#2_2 (step 4)
LMP_INC =
MPI library, REQUIRED
see discussion in doc/Section_start.html#2_2 (step 5)
can point to dummy MPI library in src/STUBS as in Makefile.serial
INC = path for mpi.h, MPI compiler settings
PATH = path for MPI library
LIB = name of MPI library
MPI_INC =
MPI_PATH =
MPI_LIB =
FFT library, OPTIONAL
see discussion in doc/Section_start.html#2_2 (step 6)
can be left blank to use provided KISS FFT library
INC = -DFFT setting, e.g. -DFFT_FFTW, FFT compiler settings
PATH = path for FFT library
LIB = name of FFT library
FFT_INC = -DFFT_FFTW
FFT_PATH =
FFT_LIB = -lfftw
JPEG library, OPTIONAL
see discussion in doc/Section_start.html#2_2 (step 7)
only needed if -DLAMMPS_JPEG listed with LMP_INC
INC = path for jpeglib.h
PATH = path for JPEG library
LIB = name of JPEG library
JPG_INC =
JPG_PATH =
JPG_LIB =