Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minimum Fortran versions #191

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Changed

- Update minimum Fortran compiler versions
- Intel 18.0.5
- GNU 9.2.0
- NAG 7.0

### Fixed
### Removed
### Added
Expand Down
4 changes: 2 additions & 2 deletions compiler/flags/GNU_Fortran.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8.3)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 8.3!")
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 9.2)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 9.2!")
endif()

set (FOPT0 "-O0")
Expand Down
4 changes: 2 additions & 2 deletions compiler/flags/Intel_Fortran.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 15.1)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 15.1!")
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 18.0.5)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 18.0.5!")
endif()

set (FOPT0 "-O0")
Expand Down
4 changes: 2 additions & 2 deletions compiler/flags/NAG_Fortran.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 6.0)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 6.0!")
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 7.0!")
endif()

set (FREAL8 "-r8")
Expand Down