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

Unable to complete build.sh on CentOs with gfortran 4.4.7 #3

Closed
pirpyn opened this issue Apr 6, 2018 · 1 comment
Closed

Unable to complete build.sh on CentOs with gfortran 4.4.7 #3

pirpyn opened this issue Apr 6, 2018 · 1 comment

Comments

@pirpyn
Copy link
Contributor

pirpyn commented Apr 6, 2018

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

@jacobwilliams
Copy link
Owner

jacobwilliams commented Apr 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants