Unable to complete build.sh on CentOs with gfortran 4.4.7
pirpyn opened this issue · comments
Hi, first thanks for sharing your code.
Running build.sh
gives the following error :
Compiling src/slsqp_kinds.f90 serially
src/slsqp_kinds.f90:10.44:
use, intrinsic :: iso_fortran_env, only: real64
1
Error: Symbol 'real64' referenced at (1) does not exist in intrinsic module ISO_FORTRAN_ENV
Which version of gfortran is required ? I have 4.4.7, cannot upgrade : company computer.
Full output: build.log
It looks like this particular feature (real64
) was added to gfortran in 4.5. Probably you need to use one even newer (6 or 7). Older releases were very incomplete and buggy for modern Fortran features.