Skip to content

CI fails due to compiler flag mismatch #4

@mwaxmonsky

Description

@mwaxmonsky

Describe the bug
The coupler workflow (https://github.com/TURBO-ESM/TIM/actions/runs/22494930513/job/65166819600?pr=2) now fails due to a compiler flag mismatch error:

mpif90 -Duse_netCDF -Duse_libMPI -DMAXFIELDS_=200 -DMAXFIELDMETHODS_=200 -DINTERNAL_FILE_NML -DHAVE_GETTID -Duse_netCDF -DHAVE_SCHED_GETAFFINITY -Duse_LARGEFILE  -I/spack/opt/spack/linux-ubuntu20.04-haswell/gcc-9.3.0/netcdf-fortran-4.5.3-oot5hyyyokrjgcu3k5ppbpasditytyud/include -I/spack/opt/spack/linux-ubuntu20.04-haswell/gcc-9.3.0/netcdf-fortran-4.5.3-oot5hyyyokrjgcu3k5ppbpasditytyud/include -fcray-pointer -fdefault-double-8 -fdefault-real-8 -Waliasing -ffree-line-length-none -fno-range-check -O0 -g -W -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow -fallow-argument-mismatch  -c	/__w/TIM/TIM/FMScoupler/t/null.nCk33A/src/FMS/random_numbers/mersennetwister.F90
...............................................................................................................gfortran: error: unrecognized command line option '-fallow-argument-mismatch'; did you mean '-Wno-argument-mismatch'?
gcc: error: unrecognized command line option '-fallow-argument-mismatch'; did you mean '-Wno-argument-mismatch'?

To Reproduce
Push any change to a new PR.

Expected behavior
CI passes as before when no configuration changes are made.

System Environment
Coupler CI workflow

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions