Closed jedwards4b closed 9 years ago
This solves the problem: if test -z "$FCFLAGS"; then FCFLAGS="-mismatch" fi
Makes sense, I made the change.
FWIW the compiler-specific code in the configure was originally copied from MCT, in the effort to make mpi-serial stand-alone.
On May 4, 2015, at 3:35 PM, jedwards4b notifications@github.com wrote:
This solves the problem: if test -z "$FCFLAGS"; then FCFLAGS="-mismatch" fi
On May 4, 2015, at 3:30 PM, jedwards4b notifications@github.com wrote:
At line 81 of configure.in the FCFLAGS variable is overwritten when you are using the nag fortran compiler. We do not want to use this flag (-mismatch) with CESM and know how to avoid it. We would prefer if this flag were only set if the user has not provided any FCFLAGS as input to configure.
Fixed in 4964fec2d9d009e0981961606c5ceea0db423772
At line 81 of configure.in the FCFLAGS variable is overwritten when you are using the nag fortran compiler. We do not want to use this flag (-mismatch) with CESM and know how to avoid it. We would prefer if this flag were only set if the user has not provided any FCFLAGS as input to configure.