Replies: 2 comments 2 replies
-
I also strongly support modern coding practices and would like to see this become reality.
|
Beta Was this translation helpful? Give feedback.
-
@perazz Thanks for explaining, I was not aware of the issue with Windows 🙄 . But do we really need implicit typing, or would a somehow propagated |
Beta Was this translation helpful? Give feedback.
-
Currently, fpm requires implicit typing and implicit externals on projects with MPI dependency. While I see its necessity with older MPI-frameworks and the f77 and the (often incorrectly implemented) f90 interface, it enforces a bad and dangerous practice. As new Fortran practitioners are likely to use fpm as their first build system (it is really cool to have fpm!), they might get the wrong impression about the language.
My suggestions would be not to require any implicit features for any MPI-dependencies. The general advice for new projects should be anyway to use the mpi_f08 interface. According to my experience, this is implemented correct enough in current OpenMPI, MPICH and IntelMPI, and works in each of them without any implicit tricks. One might add some additional notes in the documentation about the necessity of implicit typing/externals for older MPI-frameworks and the older MPI-interfaces, but the default setting should support "best practice".
Beta Was this translation helpful? Give feedback.
All reactions