Lammps Compilation Error

Dear community,

I am trying to compile lammps on the linux cluster
and i end up with the following error.

Based on

  1. Voronoi
  2. Kim package.

I removed the two packages from the list
and precede the compilation.

But, lately i end up with an error in the linking libraries.

a.o run.o set.o special.o tad.o temper.o thermo.o timer.o universe.o update.o variable.o velocity.o verlet.o verlet_split.o write_restart.o xdr_compat.o -lreax -lpoems -lmeam -lfftw -lifcore -lsvml -lompstub -limf -lgfortran -lstdc++ -o …/lmp_openmpi
/usr/bin/ld: cannot find -lifcore
collect2: ld returned 1 exit status
make[1]: *** […/lmp_openmpi] Error 1
make[1]: Leaving directory `/src/Obj_openmpi’

Can any one help me with this.
the error associated with the KIM and Volonoi packages
are given below.

best regards
Vimal

-I/KIM_API -c create_box.cpp
compute_voronoi_atom.cpp:34: error: ‘voro’ is not a namespace-name
compute_voronoi_atom.cpp:34: error: expected namespace-name before ‘;’ token
compute_voronoi_atom.cpp: In member function ‘virtual void LAMMPS_NS::ComputeVoronoi::compute_peratom()’:
compute_voronoi_atom.cpp:106: error: ‘container’ was not declared in this scope
compute_voronoi_atom.cpp:106: error: expected ‘;’ before ‘con’
compute_voronoi_atom.cpp:115: error: ‘con’ was not declared in this scope
compute_voronoi_atom.cpp:122: error: ‘voronoicell_neighbor’ was not declared in this scope
compute_voronoi_atom.cpp:122: error: expected ‘;’ before ‘c’
compute_voronoi_atom.cpp:123: error: ‘c_loop_all’ was not declared in this scope
compute_voronoi_atom.cpp:123: error: expected ‘;’ before ‘cl’
compute_voronoi_atom.cpp:124: error: ‘cl’ was not declared in this scope
compute_voronoi_atom.cpp:124: error: ‘con’ was not declared in this scope
compute_voronoi_atom.cpp:124: error: ‘c’ was not declared in this scope
make[1]: *** [compute_voronoi_atom.o] Error 1
make[1]: *** Waiting for unfinished jobs…
make[1]: Leaving directory `/scratch/agvalenti/muthukumar/Lammps/New_1/lammps-9Mar13/src/Obj_linux’
make: *** [linux] Error 2

.cpp
pair_kim.cpp:41:21: error: KIM_API.h: No such file or directory
pair_kim.cpp:42:28: error: KIM_API_status.h: No such file or directory
pair_kim.cpp: In member function ‘virtual void LAMMPS_NS::PairKIM::compute(int, int)’:
pair_kim.cpp:173: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:183: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp: In member function ‘virtual void LAMMPS_NS::PairKIM::init_style()’:
pair_kim.cpp:395: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:396: error: ‘KIM_STATUS_OK’ was not declared in this scope
pair_kim.cpp: In member function ‘void LAMMPS_NS::PairKIM::kim_error(int, const char*, int)’:
pair_kim.cpp:586: error: ‘KIM_STATUS_OK’ was not declared in this scope
pair_kim.cpp:587: error: incomplete type ‘KIM_API_model’ used in nested name specifier
pair_kim.cpp: In static member function ‘static int LAMMPS_NS::PairKIM::get_neigh(void**, int*, int*, int*, int*, int**, double**)’:
pair_kim.cpp:601: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:647: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:661: error: ‘KIM_STATUS_OK’ was not declared in this scope
pair_kim.cpp:664: error: ‘KIM_STATUS_NEIGH_ITER_PAST_END’ was not declared in this scope
pair_kim.cpp:671: error: ‘KIM_STATUS_NEIGH_ITER_INIT_OK’ was not declared in this scope
pair_kim.cpp:695: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:704: error: ‘KIM_STATUS_OK’ was not declared in this scope
pair_kim.cpp:707: error: ‘KIM_STATUS_NEIGH_INVALID_REQUEST’ was not declared in this scope
pair_kim.cpp:711: error: ‘KIM_STATUS_OK’ was not declared in this scope
pair_kim.cpp:713: error: ‘KIM_STATUS_NEIGH_INVALID_MODE’ was not declared in this scope
pair_kim.cpp: In member function ‘void LAMMPS_NS::PairKIM::kim_free()’:
pair_kim.cpp:726: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:731: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:736: warning: possible problem detected in invocation of delete operator:
pair_kim.cpp:736: warning: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: warning: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:736: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
pair_kim.cpp: In member function ‘void LAMMPS_NS::PairKIM::kim_init()’:
pair_kim.cpp:764: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:765: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:766: error: ‘KIM_STATUS_OK’ was not declared in this scope
pair_kim.cpp:778: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:780: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:789: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:810: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp: In member function ‘void LAMMPS_NS::PairKIM::set_statics()’:
pair_kim.cpp:828: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:838: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp: In member function ‘void LAMMPS_NS::PairKIM::set_volatiles()’:
pair_kim.cpp:852: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:859: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:865: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:872: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:874: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:886: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:886: error: ‘KIM_COMPUTE_FALSE’ was not declared in this scope
pair_kim.cpp:888: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:888: error: ‘KIM_COMPUTE_TRUE’ was not declared in this scope
pair_kim.cpp:894: error: invalid use of incomplete type ‘struct KIM_API_model’
pair_kim.h:35: error: forward declaration of ‘struct KIM_API_model’
pair_kim.cpp:895: error: ‘KIM_COMPUTE_FALSE’ was not declared in this scope
pair_kim.cpp:895: error: ‘KIM_COMPUTE_TRUE’ was not declared in this scope
pair_kim.cpp: In member function ‘void LAMMPS_NS::PairKIM::set_kim_model_has_flags()’:
pair_kim.cpp:952: error: aggregate ‘KIM_API_model mdl’ has incomplete type and cannot be defined
pair_kim.cpp:962: error: ‘KIM_STATUS_OK’ was not declared in this scope
make[1]: *** [pair_kim.o] Error 1
make[1]: *** Waiting for unfinished jobs…
make[1]: Leaving directory `/scratch/agvalenti/muthukumar/Lammps/New_1/lammps-9Mar13/src/Obj_linux’
make: *** [linux] Error 2

Dear community,

I am trying to compile lammps on the linux cluster
and i end up with the following error.

Based on
1) Voronoi
2) Kim package.

I removed the two packages from the list
and precede the compilation.

But, lately i end up with an error in the linking libraries.

a.o run.o set.o special.o tad.o temper.o thermo.o timer.o universe.o
update.o variable.o velocity.o verlet.o verlet_split.o write_restart.o
xdr_compat.o -lreax -lpoems -lmeam -lfftw -lifcore -lsvml -lompstub -limf
-lgfortran -lstdc++ -o ../lmp_openmpi
/usr/bin/ld: cannot find -lifcore
collect2: ld returned 1 exit status
make[1]: *** [../lmp_openmpi] Error 1
make[1]: Leaving directory `/src/Obj_openmpi'

Can any one help me with this.
the error associated with the KIM and Volonoi packages
are given below.

please read the installation instructions more carefully. it is all
explained there.

axel.