Fpm on PyPi πŸŽ‰

fpm, the Fortran Package Manager is now officially available through PyPi for all major OSs and architectures. It has been compiled with support for OpenMP for parallel compilation.

Versions of fpm from v0.3.0 to v0.8.1 (latest) have been uploaded to PyPi. Users can install them via:

pip install fpm

and can run it as you normally would

fpm --version

or as a python module

python3 -m fpm --version

There is also a source distribution on PyPi that will download, configure and compile fpm from source, but at this stage it requires OpenMP to be present in your system.

Let me know if you have any problems

30 Likes

Just tested this on a Mac (Intel), worked like a charm!

$ python3 -m fpm --version
Version:     0.8.1, alpha
Program:     fpm(1)
Description: A Fortran package manager and build system
Home Page:   https://github.com/fortran-lang/fpm
License:     MIT
OS Type:     macOS
3 Likes

That’s great to hear. We managed to also cross-compile for MacOS arm64 with OpenMP, which was a true nightmare to get working. Massive kudos to GNU compiler devs for doing all the hard and thankless work in writing the cross-compiler!

5 Likes

Great! Now I’m likely to give it a go.

Maybe the documentation can reflect that pip is an install source? I didn’t see it on the GH page or this one: FPM Install

Nice catch, we will update the docs.