Compiling problem 26Oct12 version

I just downloaded the latest version of Lammps - I have been using the 7Oct11 version. Added the reax package and compiled it with Makefile.gfortran and then compiled lammps with the makefile I created for the 7Oct11 version (basically g++ Makefile with the correct options for Mpich2 and FFTW). Everything compiles but at the link stage I get missing libraries - ifcore, svml, ompstub and imf and there is an include -L/opt/intel/fce/10.0..... I checked the Makefile.gfortan and the Makefile.mpi that I am using and there are no calls for the intel fortran compiler in either of these two makefiles. There is a call for the intel compiler in the Makefile.lammps and Makefile.lammps.gfortran files in the /lib/reax directory, but even after deleting these files, removing all the objects, doing a clean-all and recompiling everything I still get the same error. Any idea where these added options are coming from?

Kevin

Everything compiles but at the link stage I get
missing libraries - ifcore, svml, ompstub and imf and there is an
include -L/opt/intel/fce/10.0.....

The only way that those libs appear in the final link is if one
of the packages you are building with uses an auxiliary library
from the lib dir, e.g. REAX or MEAM, and that lib dir has
a Makefile.lammps that lists those libs. I said REAX and MEAM
b/c they are both Fortran libs and what you are seeing is a list
of Fortran system libraries that those packages often require,
at least for Intel. My guess is you built them with gfortran
but you did not insure that the lib/meam/Makefile.lammps
matched the gfortran libs that are needed, instead of the Intel
ones.

Steve