Open chrisdembia opened 4 years ago
We could alternatively use flang/f18. Whichever Fortran compiler we use, we should have a script for building Ipopt.
The instructions and infrastructure for building Ipopt/COIN-OR software is updated. Hopefully, this will make a Windows version of Ipopt easier to build.
Conda-forge now contains Ipopt! https://github.com/conda-forge/ipopt-feedstock/pull/47/files. We could expect developers to use Ipopt frm conda-forge, or preferably, use conda-forge to install flang and then use CMake to compile Ipopt.
Looks like the Fortran flang compiler frontend is now finally part of LLVM. Unfortunately, and confusingly, LLVM says flang is not supported on Windows. https://releases.llvm.org/11.0.0/tools/flang/docs/ReleaseNotes.html
cc @adamkewley
We depend on prebuilt binaries for Windows Ipopt, which is fragile. The ampl/coin scripts for building Ipopt are updated to support gfortran, and we should make this a backup option for Ipopt on Windows, as it is likely more stable.