vapaa icon indicating copy to clipboard operation
vapaa copied to clipboard

Supported MPI libraries

Open ivan-pi opened this issue 1 year ago • 5 comments

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.

ivan-pi avatar Jun 12 '24 13:06 ivan-pi

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.

jeffhammond avatar Jun 12 '24 13:06 jeffhammond

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?)

ivan-pi avatar Jun 12 '24 14:06 ivan-pi

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

jeffhammond avatar Jun 12 '24 17:06 jeffhammond

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

jeffhammond avatar Jun 13 '24 06:06 jeffhammond

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.

jeffhammond avatar Sep 13 '24 12:09 jeffhammond