On Fri, 26 Oct 2007, Shreevant Tiwari wrote:
> I am using LAM MPI 7.0.6 on my cluster for a simulation software written in
> FORTRAN. A copy of this software is successfully running on another cluster
> using MPICH and the intel fortran compiler 'ifort'.
> LAM MPI on my system has been built with f77 while the simulation software
> is written in a later version.
> For compilation with the GNU g95 compiler, I used the libraries included in
> the wrapper script 'mpif77' to compile the software, through the command
> mpif77 --showme
> from which I added the list
> -pthread -llammpio -llamf77mpi -lmpi -llam -laio -laio -lutil
> to my makefile.
> Due to some runtime problems, I need to recompile my entire program with
> ifort. But the code won't compile by merely swapping 'g95' with 'ifort'in
> the makefile. Does this mean that there are some other libraries that I need
> to add/remove from the list above to compile my code succesfully with ifort?
> If yes, which libraries?
> Please mention if I missed some necessary information.
Generally, LAM/MPI needs to be compiled with the Fortran compiler you
intend to use with your application. Each Fortran compiler tends to have
a unique set of linking semantics / libraries needed / etc. and its a
bunch of work (and unsupported by the LAM/MPI team) to have a combination
of LAM/MPI built against one Fortran compiler and the application built
against another Fortran compiler.
Hope this helps,
Brian
|