Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Fortran - MPI_WORLD_COMM - correction
From: Mihaly Mezei (Mihaly.Mezei_at_[hidden])
Date: 2010-06-22 18:46:54

----- Original Message -----
From: Jeff Squyres <jsquyres_at_[hidden]>
Date: Tuesday, June 22, 2010 6:36 pm
Subject: Re: [OMPI users] Fortran - MPI_WORLD_COMM - correction

> I think the problem is that you didn't include mpif.h in
> testsubr(). Hence, the value of MPI_INTEGER was undefined -- I
> don't think it's a problem with the value of MPI_Comm.
I just tried adding the include statement, but this is what I got: % mpif90 -o mpi0 mpi0.f
/share/apps/openmpi-1.4.1/include/mpif-common.h(402): error #6406: Conflicting attributes or multiple declaration of name. [MPI_COMM_WORLD]
      parameter (MPI_COMM_WORLD=0)
compilation aborted for mpi0.f (code 1)

Mihaly Mezei

Department of Structural and Chemical Biology, Mount Sinai School of Medicine
Voice: (212) 659-5475 Fax: (212) 849-2456
WWW (MSSM home):
WWW (Lab home - software, publications):
WWW (Department):