vapaa
vapaa copied to clipboard
do sentinel detection in Fortran
detect sentinels in Fortran layer rather than C so we don't need to capture sentinel addresses and therefore don't need to initialize MPI in Fortran to setup this state.
also, i'm not even detecting MPI_BOTTOM anywhere right now 🤣
it is impossible to determine if a buffer is MPI_BOTTOM in Fortran, without resorting to LOC(), which is non-standard.
design tests:
- https://github.com/jeffhammond/HPCInfo/blob/master/mpi/abi/sentinel.F90
- https://github.com/jeffhammond/HPCInfo/blob/master/mpi/abi/sentinel2.F90
- https://github.com/jeffhammond/HPCInfo/blob/master/mpi/abi/sentinel3.F90