fpm icon indicating copy to clipboard operation
fpm copied to clipboard

CI issue: intel build fails

Open certik opened this issue 2 years ago • 5 comments

This has been a long standing issue affecting many PRs.

The first attempt to fix it was https://github.com/fortran-lang/fpm/pull/976.

Here is a related discussion at Fortran Discourse: https://fortran-lang.discourse.group/t/issue-with-stdlib-and-intel-oneapi-fortran-compiler-ifx-2024-0/7049

It is possible that the Intel CI failure is somehow related to the bug https://github.com/fortran-lang/fpm/issues/980.


This is affecting the PR https://github.com/fortran-lang/fpm/pull/879 that we need to merge.

certik avatar Feb 09 '24 17:02 certik

To move forward, I would disable the Intel test until it is fixed. Not much we can do anyway, since we need to move on and be able to develop fpm.

certik avatar Feb 09 '24 17:02 certik

The CI line failing says <ERROR>:failed command ifort , I think it is because ubuntu images on Github do not ship ifort anymore. It should self-fix after merge (like you point out in #976, the fpm main branch was already updated to use ifx instead of ifort).

perazz avatar Feb 10 '24 15:02 perazz

More context is found on Fortran Discourse and Intel Compiler Forum.

So far the most likely explanation is that there is a compiler bug in ifx, and that we'll have to wait until it is fixed in an upcoming release.

The proposed fix in #879 is to always build fpm with gfortran, then only build the test programs with ifx.

perazz avatar Feb 11 '24 09:02 perazz