molpro / iterative-solver

MIT License
0 stars 3 forks source link

Define portable type for MPI communicator Fortran containers #516

Closed pjknowles closed 8 hours ago

pjknowles commented 8 hours ago

From https://github.com/molpro/molpro/issues/5253#issuecomment-2517206802 .

It's tricky. We are not using Fortran MPI at all, and therefore getting the type from MPI headers is not a valid route.

Perhaps the best way is to force to a 64-bit integer, as done in some places in the code already.

pjknowles commented 8 hours ago

Oh, perhaps easier than I thought. Just a few missing kind declarations, it seems.