libprima / prima

PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.
http://libprima.net
BSD 3-Clause "New" or "Revised" License
291 stars 35 forks source link

CI: Disable windows/gcc11 job #115

Closed jschueller closed 6 months ago

jschueller commented 7 months ago

this one is failing atm

zaikunzhang commented 7 months ago

Hi @jschueller , what do you think is the reason for the failure? GCC-11 is not that old. Thanks.

nbelakovski commented 6 months ago

I'd just like to note that I did some digging and I found this has always been failing. In CI it looks like it was passing at one point, but when I looked more closely I saw that even though the CI was downloading gcc 11, it was using gcc 12 in the build. It's not clear to me when or why it changed to use gcc 11, but when I went back to those commits and tried to test them manually with gcc11 on windows they all failed, even going as far back as the first commit to introduce the tests.

nbelakovski commented 6 months ago

I was able to get this to work locally by adding /c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/ to the PATH (I was using git bash, hence the /c/...). Essentially that directory contains libgfortran-5.dll which the program was unable to find otherwise. I'll take a look to see how we might fix this in CI.

zaikunzhang commented 6 months ago

Solved by another PR.