jeffhammond / vapaa

A standalone implementation of the MPI Fortran 2018 module
MIT License
20 stars 1 forks source link

Supported MPI libraries #41

Open ivan-pi opened 5 months ago

ivan-pi commented 5 months ago

I noticed there is a version constraint MPICH_NUMVERSION > 40200000. Is this a hard constraint?

This rules out Intel MPI which exports the constant with a value of 30400002.

jeffhammond commented 5 months ago

I'm using an MPICH extension for noncontiguous subarrays that requires that version. If you don't have it, I don't think everything works, but what doesn't work isn't used by anybody, so it's safe.

ivan-pi commented 5 months ago

So if I get rid of the procedures using,

https://github.com/jeffhammond/vapaa/blob/80b8d1b156a6ecee116e1169a0eab53d717a9c60/source/cfi_util.c#L49

that uses MPIX_Type_iov, it should work in principle?

(Btw, is it possible you share your PASC slides about vapaa?)

jeffhammond commented 5 months ago

Yeah I can share slides. I'll upload here tomorrow.

jeffhammond commented 5 months ago

Hammond MPI Fortran PASC24 post.pdf @ivan-pi slides here

jeffhammond commented 2 months ago

So if I get rid of the procedures that uses MPIX_Type_iov, it should work in principle?

Yes, you can add some preprocessor stuff and it will work for all MPI, but if you do unreasonable things that require MPICH 4+, then it will fail.