********>Bugfix 1: Author: Dave Case Date: 3/6/02 Programs: sander, nmode Severity: with some compliers (notably ifc and pgf77,pgf90), sander can "hang" in targetted MD, and nmode can generally "hang". Description: the LAPACK routine dlamch.f does not work correctly with optimized compilation. The fix is to compile witout optimization. Fix: apply the following patch to amber7/src/lapack/Makefile: ------------------------------------------------------------------------------ *** Makefile 2000/02/23 04:01:11 1.6 --- Makefile 2002/03/06 17:47:43 *************** *** 37,39 **** --- 37,41 ---- .f.o: $< $(SRCDIR)/Compile L3 $< + dlamch.o: dlamch.f + ../Compile L0 dlamch.f ------------------------------------------------------------------------------ Also apply the following patch to amber7/src/Machines/Machine.ifc (if you use the ifc compiler): *** Machine.ifc 2002/01/25 01:52:08 1.4 --- Machine.ifc 2002/03/06 17:55:28 *************** *** 53,59 **** setenv LOADLIB " -lPEPCF90" # little or no optimization: ! setenv L0 "ifc -c -w -O2 " # modest optimization (local scalar): setenv L1 "ifc -c -w -O2 " --- 53,59 ---- setenv LOADLIB " -lPEPCF90" # little or no optimization: ! setenv L0 "ifc -c -w -g -O0 " # modest optimization (local scalar): setenv L1 "ifc -c -w -O2 " ------------------------------------------------------------------------------ Temporary workarounds: none Files affected: amber7/src/lapack/Makefile, amber7/src/Machines/Machine.ifc