flux-core
flux-core copied to clipboard
PMI2 interface support?
I understand PMI2 interface is "mostly" supported, is there any documentation on what is supported from the standard?
There is not really any documentation. What we have is the minimum needed to bootstrap mvapich in a PMI-2 only configuration, and a couple of functions needed by Cray MPI (but I think not all). It's a bit hacky and implemented on top of PMI-1. More specifically:
- some functions are stubbed out and return an error
- many pre-set PMI2 keys are missing from the kvs
- does not support multiple outstanding requests
- does not support access from multiple threads/procs per rank
The source is pretty short so might be easier to just scan through:
https://github.com/flux-framework/flux-core/blob/master/src/common/libpmi/pmi2.c