----- Original Message -----
From: Jeff Squyres <jsquy...@cisco.com>
List-Post: users@lists.open-mpi.org
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:
lapis.mssm.edu % 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):
http://www.mountsinai.org/Find%20A%20Faculty/profile.do?id=0000072500001497192632
WWW (Lab home - software, publications): http://inka.mssm.edu/~mezei
WWW (Department): http://atlas.physbio.mssm.edu