Closed fvitt closed 2 years ago
@jedwards4b You approved this PR some time ago. Will you be able to merge this into main and tag?
I think this change is a mistake as it could mask real issues that are otherwise found building with MPI-serial? In this case, I think that the issue is a Nag compiler bug dealing with a deferred elemental function. As such, I think the correct fix is to add an exception in Depends.nag for the files that encounter this bug (in this case, ndrop.F90).
Builds fail without "-mismatch" NAG compiler option when deferred abstract interfaces for type bound functions are used. The mvapich2 mpif90 compiler wrapper includes the "-mismatch" compiler flag. This PR includes the "-mismatch" flag for builds when MPILIB is mpi-serial.