Skip to content

Can't compile from source on CentOS with gcc10 #109

Description

@caseyfleeter

When compiling from source on CentOS 7 (Stanford's Sherlock cluster), gcc9 compilers must be used. This is okay for now, but in the future they may remove support for gcc9. There is an error using gcc10 compilers which seems to be due to a change in Fortran variable assignment error handling.

The change log for gcc10 (https://gcc.gnu.org/gcc-10/changes.html) in the Fortran section, third bullet, says: "Mismatches between actual and dummy argument lists in a single file are now rejected with an error. Use the new option -fallow-argument-mismatch to turn these errors into warnings; this option is implied with -std=legacy. -Wargument-mismatch has been removed."

It might be good to add the new option into the MakeFile so we can compile using gcc10 in the future. Thanks!

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions