PDA

View Full Version : Unresolved references building mpich 1.2.5 for lf95 v6.2


R. T. (Fortran Man)
08-11-2003, 08:09 PM
I am getting a bunch of undefined references when I try to build
mpich 1.2.5 for Lahey 6.2.
The undefined references are:

fpi.o(.data+0x30): undefined reference to `pmpi_wtime_'
fpi.o(.data+0x34): undefined reference to `pmpi_wtick_'
fxgraphics.o(.data+0x38): undefined reference to `mpe_wtime_'
fxgraphics.o(.data+0x3c): undefined reference to `mpe_ptime_'
fxgraphics.o(.data+0x48): undefined reference to `pmpi_wtime_'
fxgraphics.o(.data+0x4c): undefined reference to `pmpi_wtick_'

How can I fix them?

Lahey Support
08-11-2003, 10:03 PM
These unresolved symbols occur when the mpich install is running test programs to see if everything works. The problem seems to occur because the configure program is unable to figure out that these functions are not present.
To resolve the problem, edit the Fortran include files mpif.h and mpef.h in the ~/include directory and comment out or remove references to these functions.