Porting research software to fpm #373
Replies: 3 comments 2 replies
-
Wondered about your feedback on your own transition. Did this help you modularize your package or make it easier to build, to test, ...? Anything particularly good or bad to report? |
Beta Was this translation helpful? Give feedback.
-
https://umwm.org/ is my main candidate for fpm, but I've been resistant to port it before a significant refactor and clean up. Most of the code I wrote early in my Fortran journey in 2010-11 and I cringe looking at most of it, despite the project being relatively successful and used in various applications outside of my circles. But that's just my personal resistance and not a rational argument. UMWM requires NetCDF and optionally MPI, and I think it's possible to require those in fpm already, at least as a hack perhaps. |
Beta Was this translation helpful? Give feedback.
-
One of my research topics are meshless methods for PDEs. Ever since
The last three bullet points are only a few months old and I haven't quite reached a stable API yet. At some point I also stopped using I still need to develop tests for most of these packages. |
Beta Was this translation helpful? Give feedback.
-
Finally, I'm able to port my first actual Fortran research project to fpm! 🎉
The program is called
dftd4
and implements the model with the same name, DFT-D4, a dispersion correction for density functional theory. It has been published two year ago in J. Chem. Phys. (DOI: 10.1063/1.5090222) and is integrated in several large quantum chemistry packages (Turbomole, Orca, Vasp, AMS, Molpro, ...). Now it is also easily usable with fpm.The overall arc of porting
dftd4
to fpm lead to a number of associated projects, splitting the monolithic code base into smaller chunks, with this project there are now also several other pieces available:I'm not yet relying completely on fpm, all projects support the meson build system as well, which is also handling the library interdependencies between those Fortran projects. It is a quite powerful build-system and in my opinion a good inspiration of what fpm should be able to do at some point.
So what about your scientific software? Can it be used today with fpm? What is holding you back? Where should fpm improve?
Beta Was this translation helpful? Give feedback.
All reactions