[lammps-users] Compilation problem of LAMMPS with MEAM library

Dear all,

To make lammps with meam library, I tried to follow the procedures not only
as shown in the manual but also as commented in this mailing list on last
Wednesday, but I failed. The error massages are as follows:

These are link time errors. They have to do with
getting C++ to talk to Fortran on your box with your
compiler. E.g. you might need to link with extra libraries.

Steve

These are link time errors. They have to do with
getting C++ to talk to Fortran on your box with your
compiler. E.g. you might need to link with extra libraries.

to add to this, this looks like intel fortran, and that would
mean that you'll have to add (at least) "-lifcore" to the linker
command as those are all calls to the intel fortran runtime.
you may need more flags, e.g. specifying the directory of the
fortran compiler runtime and so on...

as the manual says, linking fortran and c++ code into a single
binary is "tricky". :wink:

cheers,
  axel.