minor bug in rmm-diis.F
Posted: Fri Jul 28, 2006 1:59 am
The line in rmm-diis.F where NSTRIP is set reads
NSTRIP=MIN(NSIM,WDES%NBANDS)*2
If W%OVER_BAND=.TRUE. and WDES%NBANDS<NSIM, this may result in a segmentation fault. It seems that the factor of 2 should not be there, or should only multiply NSIM. If LASYNC=.FALSE., then this bug will never surface.
NSTRIP=MIN(NSIM,WDES%NBANDS)*2
If W%OVER_BAND=.TRUE. and WDES%NBANDS<NSIM, this may result in a segmentation fault. It seems that the factor of 2 should not be there, or should only multiply NSIM. If LASYNC=.FALSE., then this bug will never surface.