Open DusanJovic-NOAA opened 4 years ago
Well this is clearly not right, and also we need to be able to build netcdf-fortran without those flags on GNU! Which I don't know how to do. ;-) (Do you know @DusanJovic-NOAA ?)
I don't. Other than fixing code to not use same subroutine with different type/kind/rank actual arguments.
We'd very much welcome a PR to fix these subroutines, but in the short term I will get this fixed so that the flags aren't appended when they clearly shouldn't be :)
When I build netcdf-fortran 4.5.3 using Intel compiler I see many warnings like:
I think these two flags are only recognized by the GNU compiler.
This is what I see in the config.log:
Even though
mpiifort
does not recognize the options, config tests are successful and these two flags are added to FCFLAGS.