[mpich-discuss] query ABI version

Jeff Hammond jeff.science at gmail.com
Thu Feb 19 14:52:04 CST 2015


How do I query the MPICH ABI information at compile and run time?  I
grepped the source and it isn't obvious.

Are there preprocess symbols in mpi.h?  I didn't see them.

Is the ABI version encoded in the output of MPI_Get_library_version?
I have not tested this myself, for which I am deeply sorry.  If I am
adverse to string parsing, is there a way to get this information more
directly from the tools interface, or perhaps as a non-standard
attribute on MPI_COMM_WORLD?

Is there a way to encode the ABI version in the binary itself via
something like MPICH_ABI_SYMBOL_1_1?

I do not want to rely upon any mechanism that is associated with
shared libraries, because I want a solution that works with CrayMPI
when linking static binaries.

Thanks,

Jeff

-- 
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list