README.md

August 11, 2025 · View on GitHub

Introduction

This is a set of tools for testing the applicability of Fortran compilers in my project that develops optimization solvers.

Platforms tested

Compilers tested

  • :negative_squared_cross_mark: 毕昇编译器 (Bisheng Compiler, based on the Classic flang) 1.3.3.b023 (fail: Array, Alloc, Implied do)
  • :ballot_box_with_check: Absoft af95 in Absoft 64-bit Pro Fortran 22.0.2 with patch 3
  • :negative_squared_cross_mark: AOCC flang 4.0.0 (fail: solve, Array, Alloc, Implied do)
  • :negative_squared_cross_mark: Classic flang 15.0.3 (fail: test_value, solve, Count, Alloc)
  • :negative_squared_cross_mark: G95 g95 0.94 (insufficient support for F03 constructs)
  • :negative_squared_cross_mark: GNU gfortran 13.1.0 (fail: test_eqv, test_uninit)
  • :ballot_box_with_check: Intel ifort 2021.9.0
  • :ballot_box_with_check: Intel ifx 2023.1.0
  • :negative_squared_cross_mark: Lahey lf95 L8.10b (insufficient support for F03 constructs)
  • :negative_squared_cross_mark: NAG nagfor Release 7.1 (Hanzomon) Build 7143 (fail: test_sym, test_isorth, test_mult, test_abs)
  • :negative_squared_cross_mark: NVIDIA nvfortran 23.5 (fail: Alloc, Count, Implied do)
  • :negative_squared_cross_mark: Oracle sunf95 12.6 (fail: test_vec)

Compilers to be tested

Usage

The compilers can be tested using the Makefile by the commands below. Of course, you need to have the tested compiler installed on your computer, and you may need to edit the Makefile to fit your platform.

make atest  # Test af95
make dtest  # Test AOCC flang
make ftest  # Test classic flang
make 9test  # Test g95
make gtest  # Test gfortran
make itest  # Test ifort
make xtest  # Test ifx
make ltest  # Test lf95
make ntest  # Test nagfor
make vtest  # Test nvfortran
make stest  # Test sunf95

Discussions

Contact

Feel free to contact me if you would like to suggest a compiler or have questions about the test. See my homepage for contact information.