using mpich with ifc

Eduardo Melione Abreu melione at
Mon Oct 22 11:31:06 PDT 2001


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 

After configure and make mpif90, it doesn't work.


~> mpif90 all2all.f90 -L/local/tmp/mpich- -lfmpich -lmpich -lmpichf90 -lmpichf90nc -lmpichfsup
program ALLTOALL
Warning 2 at (248:/local/tmp/mpich- 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 with ifc?


Eduardo Melione. 

More information about the Beowulf mailing list