using mpich 1.2.2.2 with ifc

Daniel Spangberg daniels at mkem.uu.se
Wed Oct 24 14:05:45 PDT 2001


Just this morning I compiled mpich 1.2.2.2 with ifc/icc. It turned out
that it was necessary to use ifc/icc in combination. ifc/gcc does not
work. I have not tracked this much further than that ./configure (in
MPICH) cannot determine fortran name mangling or size of fortran types
when ifc/gcc is used. Everything works fine with ifc/icc however. This is
on SuSE 7.2 using the ifc/icc Redhat 7.1 binaries.

Daniel Spångberg
Materials Chemistry
The Ångström Laboratory
Uppsala University
Sweden

On Mon, 22 Oct 2001, Jaco Schieke wrote:

> This looks like a name mangling problem.  See if there are any references in the ifc to underscores and how it handles name
> mangling.  I suspect that your mpich was compiled using g77, which might add a different number of underscores (probably 2?) in the
> lib files.
> 
> Hope this helps - sorry -  I do not have access to ifc.
> 
> Jaco Schieke
> Research Assistant
> Dept. of Chemical Engineering
> Univ. of Wisconsin Madison
> 
> ----- Original Message -----
> From: "Eduardo Melione Abreu" <melione at carcara.lncc.br>
> To: <beowulf at beowulf.org>
> Sent: Monday, October 22, 2001 1:31 PM
> Subject: using mpich 1.2.2.2 with ifc
> 
> 
> > 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.
> >
> >
> > _______________________________________________
> > Beowulf mailing list, Beowulf at beowulf.org
> > To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> >
> 
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> 





More information about the Beowulf mailing list