Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] What's wrong with this code?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-02-22 17:30:18


On Feb 22, 2011, at 4:41 PM, Prentice Bisbal wrote:

> One of the researchers I support is writing some Fortran code that uses
> Open MPI. The code is being compiled with the Intel Fortran compiler.
> This one line of code:
>
> integer ierr,istatus(MPI_STATUS_SIZE)
>
> leads to these errors:
>
> $ mpif90 -o simplex simplexmain579m.for simplexsubs579
> /usr/local/openmpi-1.2.8/intel-11/x86_64/include/mpif-config.h(88):
> error #6406: Conflicting attributes or multiple declaration of name.
> [MPI_STATUS_SIZE]
> parameter (MPI_STATUS_SIZE=5)
> -----------------^

It's hard to say without seeing the rest of the subroutine in question.

Can you send the source the the entire subroutine that is failing to compile?

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/