[mvapich-discuss] MVAPICH undefined refence to `MPI_INIT_`

Hongfa Huo hongfa.huo at gmail.com
Sun May 2 22:47:55 EDT 2010


Hi all,

I have a problem installing the MVAPICH1.2. It was installed with 
make.mvapich.gen2 file with the F90=${F90-ifort} modified in the 
make.mvapich.ge2 file and --enabled-f90 options.

intel fortran 10.1 was used.

The problem is: when I tested the installation with
    # mpif90 ../examples/pi3f90.f90
I got error message:

pi3f90.o(.text+0x37): In function `MAIN__':
: undefined reference to `mpi_init_'
pi3f90.o(.text+0x50): In function `MAIN__':
: undefined reference to `mpi_comm_rank_'
pi3f90.o(.text+0x6c): In function `MAIN__':
: undefined reference to `mpi_comm_size_'
pi3f90.o(.text+0x1e7): In function `MAIN__':
: undefined reference to `mpi_bcast_'
pi3f90.o(.text+0x2bb): In function `MAIN__':
: undefined reference to `mpi_reduce_'
pi3f90.o(.text+0x352): In function `MAIN__':
: undefined reference to `mpi_finalize_'

Would you please give me some clue on this?

Best regards,

Hongfa




More information about the mvapich-discuss mailing list