using mpich 1.2.2.2 with ifc
Eduardo Melione Abreu
melione at carcara.lncc.br
Mon Oct 22 11:31:06 PDT 2001
Hello,
I'm having a problem to compile a fortran 90 code with mpich
libraries. My compiler is Intel Fortran 90 for linux (ifc), kernel 2.2
and the version of mpich is 1.2.2.2
After configure and make mpif90, it doesn't work.
--------------------------------------------------------------------------
~> mpif90 all2all.f90 -L/local/tmp/mpich-1.2.2.2/lib/ -lfmpich -lmpich -lmpichf90 -lmpichf90nc -lmpichfsup
program ALLTOALL
integer*8 MPI_DISPLACEMENT_CURRENT
^
Warning 2 at (248:/local/tmp/mpich-1.2.2.2/include/mpif.h): Type size
specifiers are an extension to standard Fortran 95
285 Lines Compiled all2all.o:
In function `main':
all2all.o(.text+0x2c): undefined reference to `mpi_init_'
all2all.o(.text+0x48): undefined reference to `mpi_comm_size_'
all2all.o(.text+0x64): undefined reference to `mpi_comm_rank_'
all2all.o(.text+0x1df): undefined reference to `mpi_alltoall_'
all2all.o(.text+0x26c): undefined reference to `mpi_finalize_'
---------------------------------------------------------------------------------
and no executable is created.
---------------------------------------------------------------------------------
Do you have any idea about what can be wrong?
Any environment variable could be incorrect?
What is the steps to configure mpich 1.2.2.2 with ifc?
Thanks,
Eduardo Melione.
More information about the Beowulf
mailing list