[lammps-users] ERROR: /usr/bin/ld: cannot find -lcxa

My problem is: I am trying to install/make LAMMPS on my Cluster (Rocks)
with Xeon's as the various nodes. I have installed the required compiler
(Intel) and DFFTW files at the appropriate places.
However, when I make lammps by typing command: make linux, I get the
following error:

/usr/bin/ld: cannot find -lcxa
collect2: ld returned 1 exit status
make[1]: *** [../lmp_linux] Error 1
make[1]: Leaving directory `/root/LAMMPS/lammps-1Oct06/src/Obj_linux'
make: *** [linux] Error 2

I have defined the USERLIB and SYSLIB as
USRLIB = -lfftw -lmpich
SYSLIB = -lcxa -lunwind -lstdc++

I do not understand which library the error is referring to. Can anyone
help/guide me.


libcxa.a is part of the Intel compiler package for its icc Linux compiler

If you're using a different compiler, you shouldn't need it. If you're
using icc, it's in /opt/intel/cc/9.0/lib/libcxa.a on my box