Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2006-05-04 03:04:23

> export LDFLAGS=-lSystemStubs

Libraries generally belong in $LIBS rather than in $LDFLAGS.

> Bugfix: Replace in both files the line:
> OMPI_LOG_COMMAND([$FC $FCFLAGS $FCFLAGS_f90 conftestf.f90 conftest.o -
> o conftest]
> with
> OMPI_LOG_COMMAND([$FC $FCFLAGS $FCFLAGS_f90 conftestf.f90 conftest.o -
> o conftest $LDFLAGS],

LDFLAGS generally belongs early on the command line, and LIBS late.

> The non-standard fortran compilers have been set by
> export F77=g95
> export FC=g95
> prior to the ./configure step.

You could just
  ./configure F77=g95 FC=g95 LIBS=-lSystemStubs

and AFAICS the missing LDFLAGS/LIBS bug has been fixed in the svn
version of OpenMPI already.