Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Does OpenMPI 1.4.1 support the MPI_IN_PLACE designation ...
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-08-16 19:12:51


MPI_IN_PLACE is defined in both mpif.h and the "mpi" Fortran module.

Does the subroutine in question have "include mpif.h" or "use mpi"?

On Aug 16, 2010, at 3:55 PM, Richard Walsh wrote:

>
> All,
>
> I have a fortran code (Octopus 3.2) that is bombing during a build in a routine that uses:
>
> call MPI_Allreduce(MPI_IN_PLACE, rho(1, ispin), np, MPI_DOUBLE_PRECISION, MPI_SUM, st%mpi_grp%comm, mpi_err)
>
> with the error message:
>
> states.F90(1240): error #6404: This name does not have a type, and must have an explicit type. [MPI_IN_PLACE]
> call MPI_Allreduce(MPI_IN_PLACE, rho(1, ispin), np, MPI_DOUBLE_PRECISION, MPI_SUM, st%mpi_grp%comm, mpi_err)
> ---------------------------^
> compilation aborted for states_oct.f90 (code 1)
>
> This suggests that MPI_IN_PLACE is missing from the mpi.h header.
>
> Any thoughts?
>
> rbw
>
> Richard Walsh
> Parallel Applications and Systems Manager
> CUNY HPC Center, Staten Island, NY
> 718-982-3319
> 612-382-4620
>
> Reason does give the heart pause;
> As the heart gives reason fits.
>
> Yet, to live where reason always rules;
> Is to kill one's heart with wits.
> ________________________________________
> From: users-bounces_at_[hidden] [users-bounces_at_[hidden]] On Behalf Of Gokhan Kir [gkir_at_[hidden]]
> Sent: Monday, August 16, 2010 5:43 PM
> To: users_at_[hidden]
> Subject: [OMPI users] A Problem with RAxML
>
> Hi,
> I am currently using RAxML 7.0, and recently I got a problem. Even though I Googled it, I couldn't find a satisfying answer.
> I got this message from BATCH_ERRORs file " raxmlHPC-MPI: topologies.c:179: restoreTL: Assertion `n >= 0 && n < rl->max' failed. "
>
> Any help is appreciated,
>
> Thanks,
>
> --
> Gokhan
>
> Think green before you print this email.
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

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