********>Bugfix 9:
Authors: Dave Case (reported by Martin Mucha)
Date: 05/24/2004
Programs: sander
Description: The "ioutfm = 1" option is supposed to make the coordinate,
velocity and energy files binary. But sander only supports
formatted energy files, so an error occurs. This patch simply
makes the energy set formatted, regardless of the value of
ioutfm
Fix: Apply the following patch to $AMBERHOME/src/sander/dynlib.f
------------------------------------------------------------------------------
*** dynlib.f 2004/02/18 16:28:24 7.69
--- dynlib.f 2004/05/24 16:04:07
***************
*** 182,189 ****
call amopen(mdvel_unit,mdvel,owrite,'U','W')
write(mdvel_unit) title
end if
! if (ntwe > 0) then
! call amopen(mden_unit,mden,owrite,'U','W')
write(mden_unit) title
end if
end if ! (ioutfm <= 0)
--- 182,189 ----
call amopen(mdvel_unit,mdvel,owrite,'U','W')
write(mdvel_unit) title
end if
! if (ntwe > 0) then ! mden is always formatted, regardless of ioutfm
! call amopen(mden_unit,mden,owrite,'F','W')
write(mden_unit) title
end if
end if ! (ioutfm <= 0)
------------------------------------------------------------------------------
Temporary workarounds: use the default value of 0 for ioutfm