[lammps-users] Coupling LAMMPS to other codes - MPI question


I have a question regarding the coupling of LAMMPS to other codes using the predefined

LAMMPS itself work very well, I use an installation of MPICH 1.2.7 on our cluster.

Now I would like to couple LAMMPS with an external program, that comes with its own MPI and does not support MPICH 1.2

When building LAMMPS as a lib, I guess I have to compile and link with the MPI that the external program that will call LAMMPS uses.

Is this correct and is there anything I can do if LAMMPS cannot be compiled with the MPI that come with the external program ?

Thanks you very much in advance,