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

Reply via email to