Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Daniel Gruner (dgruner_at_[hidden])
Date: 2007-04-27 09:11:06


>From Jiming's error messages, it seems that he is using 1.1 libraries
and header files, while supposedly compiling for ompi 1.2,
therefore causing undefined stuff. Am I wrong in this assessment?

Daniel

On Fri, Apr 27, 2007 at 08:03:34AM -0400, Jeff Squyres wrote:
> This is quite odd; we have tested OMPI 1.1.x with the intel compilers
> quite a bit. In particular, it seems to be complaining about
> MPI_Fint and MPI_Comm, but these two types should have been
> typedef'ed earlier in mpi.h.
>
> Can you send along the information listed on the "Getting Help" page
> on the web site, and also include your mpi.h file?
>
> Thanks!
>
>
>
> On Apr 26, 2007, at 5:28 PM, Jiming Jin wrote:
>
> > Dear Users:
> >
> > I have been trying to use the intel ifort and icc compilers to
> > compile an atmospheric model called the Weather Research &
> > Forecasting model (WRFV2.2) on a Linux Cluster (x86_64) using Open-
> > MPI v1.2 that were also compiled with INTEL ICC. However, I got a
> > lot of error messages as follows when compiling WRF.
> > /data/software/x86_64/open-mpi/1.1.4-intel//include/mpi.h(788):
> > error: expected an identifier
> > OMPI_DECLSPEC MPI_Fint MPI_Comm_c2f(MPI_Comm comm);
> > ^
> > /data/software/x86_64/open-mpi/1.1.4-intel//include/mpi.h(802):
> > error: "MPI_Comm" has already been declared in the current scope
> > OMPI_DECLSPEC MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
> > ^
> > /data/software/x86_64/open-mpi/1.1.4-intel//include/mpi.h(804):
> > error: function "MPI_Comm" is not a type name
> > OMPI_DECLSPEC int MPI_Comm_free(MPI_Comm *comm);
> > ^
> > /data/software/x86_64/open-mpi/1.1.4-intel//include/mpi.h(805):
> > error: function "MPI_Comm" is not a type name
> > OMPI_DECLSPEC int MPI_Comm_get_attr(MPI_Comm comm, int comm_keyval,
> > ^
> > /data/software/x86_64/open-mpi/1.1.4-intel//include/mpi.h(807):
> > error: function "MPI_Comm" is not a type name
> > OMPI_DECLSPEC int MPI_Comm_get_errhandler(MPI_Comm comm,
> > MPI_Errhandler *erhandler);
> >
> > I would highly appreciate it if someone could give me suggestions
> > on how to fix the problem.
> >
> > Jiming
> > ------------------------------------------
> > Jiming Jin, PhD
> > Earth Sciences Division
> > Lawrence Berkeley National Lab
> > One Cyclotron Road, Mail-Stop 90-1116
> > Berkeley, CA 94720
> > Tel: 510-486-7551
> > Fax: 510-486-5686
> >
> >
> >
> > _______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Dr. Daniel Gruner                        dgruner_at_[hidden]
Dept. of Chemistry                       daniel.gruner_at_[hidden]
University of Toronto                    phone:  (416)-978-8689
80 St. George Street                     fax:    (416)-978-5325
Toronto, ON  M5S 3H6, Canada             finger for PGP public key