Parallel-NetCDF / PnetCDF

Source code repository of PnetCDF library and utilities
https://parallel-netcdf.github.io
Other
82 stars 23 forks source link

Add -fallow-argument-mismatch if GNU Fortran 10.0.0 is used #63

Closed wkliao closed 4 years ago

wkliao commented 4 years ago

Starting from GNU Fortran 10.0.0, function/subroutine argument type mismatch becomes a compile error. A new compile command-line option "-fallow-argument-mismatch" can turn these errors into warnings. This PR checks whether MPI Fortran compilers recognize this command-line option and, if yes, adds it automatically to FFLAGS and FCFLAGS.