undefined reference to _gfortran_set_options

Rouson, Damian rouson@sandia.gov
Sat Oct 25 01:13:00 GMT 2008


Can someone please tell me what is meant by the error below?

undefined reference to _gfortran_set_options
collect2: ld returned 1 exit status

I'm guessing this is a linking problem, but unsure what library is missing.
I'm transitioning from a serial build to a parallel build that needs to link
to MPI.  The serial build links with g++ and goes through fine. The parallel
build links with mpicxx and gives the above error.  I'm using a binary of
gfortran 4.4.0 downloaded about a month ago, but I mpicxx seems to be
wrapping g++ 4.1.2.  Could this difference in version numbers be causing the
above problem?

Damian




More information about the Fortran mailing list