These bugs affect all earlier releases of MM5v3. The V3 MM5.TAR.gz and MPP.TAR.gz files on the mesouser ftp-site have been updated to fix these bugs. To download them, click here. If you are using a previous V3 release or if you want to apply the fixes yourself, see the recommended fixes below.
The non-MPP code is not affected.
The recommended fix for bug #1 involves adding two lines to file domain/io/rdinit.F. The recommended fix for bug #2 involves adding one line to file MPP/RSL/mpp_initnest_30.incl.
DO I=1,IX RDINIT.288 DO J=1,JX RDINIT.289 C SET SNOWC TO 1 FOR SNOA > 1.0 MM 24SEP99.236 IF(SNOA(I,J).GT.1.0)THEN 24SEP99.237 SNOWC(I,J)=1.0 RDINIT.291 ELSE RDINIT.292 SNOWC(I,J)=0.0 RDINIT.293 ENDIF RDINIT.294 ENDDO RDINIT.295 ENDDO RDINIT.296to read instead:
C_FLIC_END_NOFLIC DO I=1,IX RDINIT.288 DO J=1,JX RDINIT.289 C SET SNOWC TO 1 FOR SNOA > 1.0 MM 24SEP99.236 IF(SNOA(I,J).GT.1.0)THEN 24SEP99.237 SNOWC(I,J)=1.0 RDINIT.291 ELSE RDINIT.292 SNOWC(I,J)=0.0 RDINIT.293 ENDIF RDINIT.294 ENDDO RDINIT.295 ENDDO RDINIT.296 C_FLIC_BEGIN_NOFLIC
CALL RSL_BCAST_MSGS CALL ADDRX1C(IAXALL(1,NUMNES)) #include <mpp_init_05.incl> DO J = 1, MJXto read instead:
CALL RSL_BCAST_MSGS CALL ADDRX1C(IAXALL(1,NUMNES)) CALL MP_INITDOMAIN(NUMNES) #include <mpp_init_05.incl> DO J = 1, MJX
1) Type 'touch domain/nest/initnest.F' 2) Type 'make mpp'Please report any problems to mesouser@ucar.edu .
Bug #2: This problem can occur if a nested domain is smaller than the parent domain. The missing call to MP_INITDOMAIN in initnest.F results in bad initialization of the seaice array XICE in some sections of the nest.