LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: tim prince (tprince_at_[hidden])
Date: 2007-11-15 12:27:15


Tim Prins wrote:
> Try using the fortran compiler to do the linking. I.e. replace:
> $(CC) globalMain.o functF.o -o go
>
> with
> $(FC) globalMain.o functF.o -o go
>
>
This would be good advice if the main program is in Fortran. In that
case, switching from mpiCC to mpif77 as the driver for the link would
require appending at least -lstdc++. Assuming the OP does not make this
switch, the Fortran run-time support library must be given explicitly in
the link command.