In my project of developing optimization solvers, I am trying to test my code using as many compilers as possible. Due to some F03 features used in the code, not all compilers are applicable to my project.
I have set up a GitHub repository that provides a set of tools (a Makefile and a small artificial test case) for testing whether a Fortran compiler is capable of compiling the code in my project. The following compilers have been tested (the list is updated from time to time, particularly the test results).
-
毕昇编译器 (Bisheng Compiler, based on the Classic flang) 1.3.3.b023 (fail: Alloc,Implied do) -
Absoft Pro Fortran af952022 with patch 4 (fail:Alloc,Count,Bound,Array,COA,COB,Circle) -
AOCC flang13.0.0 (fail:Alloc,Implied do) -
Classic flang7.1.0 (fail:Alloc,Implied do) -
G95 g950.94 (insufficient support for F03 constructs) -
GNU gfortran9.3.0 -
Intel ifort2021.5.0 -
Intel ifx2022.0.0 -
Lahey lf95L8.10b (insufficient support for F03 constructs) -
NAG nagfor7.0 (fail:Alloc) -
NVIDIA nvfortran21.11 (fail:Alloc,Implied do) -
Oracle sunf9512.6
I wanted to test LFortran, but it seems that there are still some intrinsic functions that are under development. Sorry if I overlooked something.
Besides, I have always wanted to test
But I am not sure whether Cray and IBM compilers are available on PC (x86, linux). For the NEC compiler, I have sent them several emails to ask how to purchase their compiler, but no reply has been received.
I will be very happy to hear your suggestions if there are other compilers to test or if you know how to make Cray/IBM/NEC compilers available on a linux PC. Thank you very much.