NetCDF Fortran on Conda Forge for Windows

Perhaps the more solvable problem is how to work with Conda Forge to get them to support more recent compilers? I too have these issues. I can’t use the ancient gfortran compilers because they don’t support the language features I use (or they have show stopping bugs). Also I need to be able to support the intel compiler. In some cases, there will be a conda package (e.g. HDF5) that has built in fortran bindings, but I can’t use it because it was compiled with gfortran. So I’m back to having to compile it myself on multiple platforms.

In a future where all Fortran libraries are FPM compatible, these issues may go away since it could be trivial to just compile everything you need very easily. Right now, it’s still very chaotic and tedious (make files, cmake, scons, random build scripts, downloading and manually editing files from some random webpage, poor Windows support, etc.)

1 Like