The dependencies of Fortran libraries on other Fortran libraries must be PUBLIC
If Fortran module A uses module (even privately) B:
- some compilers (e.g. NAG) will insist on
b.modbeing available (e.g. via the-Iflag) wheneverAis used; - some compilers (e.g. Cray) will insist on
b.obeing available (e.g. via the-lflag) wheneverAis used.
Hence, if a Fortran library depends on another Fortran library, the dependency has to be PUBLIC, which is not currently the case (e.g. see here). It would be great to fix that.
Edited by Sergey Kosukhin