Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] MPI defined macro
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2011-08-23 07:46:26


Can I suggest to insert this macro in next MPI 3 standard?

I think It's very useful.

2011/8/23 Jeff Squyres <jsquyres_at_[hidden]>

> I'm afraid not. Sorry! :-(
>
> We have the OPEN_MPI macro -- it'll be defined to 1 if you compile with
> Open MPI, but that doesn't really help your portability issue. :-\
>
> On Aug 23, 2011, at 5:19 AM, Gabriele Fatigati wrote:
>
> > Dear OpenMPi users,
> >
> > is there some portable MPI macro to check if a code is compiled with MPI
> compiler? Something like _OPENMP for OpenMP codes:
> >
> > #ifdef _OPENMP
> >
> > ....
> >
> > #endif
> >
> >
> > it exist?
> >
> > #ifdef MPI
> >
> >
> > ....
> >
> > #endif
> >
> > Thanks
> >
> > --
> > Ing. Gabriele Fatigati
> >
> > HPC specialist
> >
> > SuperComputing Applications and Innovation Department
> >
> > Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
> >
> > www.cineca.it Tel: +39 051 6171722
> >
> > g.fatigati [AT] cineca.it
> > _______________________________________________
> > 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/
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Ing. Gabriele Fatigati
HPC specialist
SuperComputing Applications and Innovation Department
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
www.cineca.it                    Tel:   +39 051 6171722
g.fatigati [AT] cineca.it