LightKrylov has a module named Utils. I've just started to work on LightROM and planned to have a module Utils as well but it leads to a clash when trying compile because all modules in Fortran are public. We need to conform to some Fortran standards of prefixing the "child" module name with the library name, e.g.
lightkrylov_utils
and
lightrom_utils
would not cause a collision when compiling. And fpm is very strict about that.
Here are some examples of good practices we need to conform with.
LightKrylov
has a module namedUtils
. I've just started to work onLightROM
and planned to have a moduleUtils
as well but it leads to a clash when trying compile because all modules in Fortran are public. We need to conform to some Fortran standards of prefixing the "child" module name with the library name, e.g.and
would not cause a collision when compiling. And
fpm
is very strict about that. Here are some examples of good practices we need to conform with.