[mvapich-discuss] detecting MVAPICH in C

Ibanez, Daniel Alejandro daibane at sandia.gov
Fri Jul 7 18:23:35 EDT 2017


Hello,

I was wondering if it is possible, by some C preprocessor macro, to detect whether my code is being compiled against MVAPICH as opposed to OpenMPI or plain MPICH? I indend to enable/disable certain parts of the code depending on whether the MPI implementation I’m using is CUDA/GPU - aware or not. As such, detecting the MVAPICH version in the preprocessor would also be helpful.

Thank you,
Dan Ibanez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20170707/9fc1eec5/attachment.html>


More information about the mvapich-discuss mailing list