Hi Alistair, given the complexity around hacking openmpi to accommodate
placing the mod files under /usr/include, I'm starting to wonder whether
it's the best way of resolving Bug#1058526 in the first place.
I did it bit of background reading on the fortran mod files. There's a
fair bit of dissent about them, and no consensus on a proper location.
e.g. https://fortranwiki.org/fortran/show/Library+distribution
The files are binary dependent (and compiler version dependent), and not
clear that /usr/include is the best place for them anyway.
mpich seems to be fine placing them in
/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15/mpich, and openmpi
seemed to be happy enough doing the same up until Bug#1058526.
Is there a different way of resolving Bug#1058526 without moving the mod
files to /usr/include?
Drew