% README File FOR AIPS Release 15JUL93 % This File describes the patches to known bugs in 15JUL93 Tasks for which patches have been made: =============================================================================== Subroutines: $APLUNIX/ZDAOPN.C, $APLUNIX/ZVTPX2.C $APLUNIX/ZVTPX3.C Summary: ZDAOPN included a number of system files which it did not need and which cause problems with the POSIX_SOURCE assertion under Sun's Solaris 2.2 release. ZVTPX*.C had errors in setting send and receive buffer sizes which made them smaller than intended on all systems and 0 on new Solaris systems. Files: /15JUL93/APL/DEV/UNIX/ZDAOPN.C /15JUL93/APL/DEV/UNIX/ZVTPX2.C /15JUL93/APL/DEV/UNIX/ZVTPX3.C Fix: (1) Get the 3 routines and place in $APLUNIX (2) Recompile with COMRPL $APLUNIX/ZDAOPN $APLUNIX/ZVTPX*.C (3) Relink all tape tasks, namely COMLNK $AIPPGM/AIPS COMLNK $AIPNOT/TPMON COMLNK $AIPNOT/GRITP COMLNK $AIPNOT/GR2TEX COMLNK $APLPGM/PRTTP COMLNK $APLPGM/AVTP COMLNK $APGNOT/BAKLD COMLNK $APGNOT/BAKTP COMLNK $APGNOT/FILLM COMLNK $APGNOT/FILLR COMLNK $APGNOT/FITLD COMLNK $APGNOT/FITTP COMLNK $APGNOT/GSCAT COMLNK $APGNOT/IMLOD COMLNK $APGNOT/MK3IN COMLNK $APGNOT/MK3TX COMLNK $APGNOT/UVLOD Documentor: Eric W. Greisen Date: 1993.08.20 ----------------------------------------------------------------------- Subroutines: $APLSOL/ZFRE2.C Summary: ZFRE2 did not necessarily produce correct results for SOLARIS 2.X (it does NOT affect SunOS 4 or other architectures). The units of disk space are basic blocks, but the routine used recommended blocks. Corrected. Files: /15JUL93/APL/DEV/UNIX/BELL/SOL/ZFRE2.C Fix: (1) Get the routine and place in $APLSOL (2) Recompile with COMRPL $APLSOL/ZFRE2 (3) Relink AIPS, etc. COMLNK $AIPPGM/AIPS COMLNK $AIPPGM/AIPSB Documentor: Eric W. Greisen Date: 1993.08.20 ----------------------------------------------------------------------- Shell Script: $SYSSOL/LIBR (and $SYSLOCAL/LIBR via INSTEP1) Summary: This file should have been marked as executable in the distribution tar file, but was not. Files: /15JUL93/SOL/SYSTEM/LIBR /15JUL93/SOL/SYSTEM//LIBR Fix: (1) chmod +x /15JUL93/SOL/SYSTEM/LIBR (if you have not yet run INSTEP1) (2) chmod +x /15JUL93/SOL/SYSTEM//LIBR (if you already ran INSTEP1) Documentor: Patrick P. Murphy Date: 1993.08.31 ----------------------------------------------------------------------- Routines: $QNOT/ALGSUB.FOR, $QNOT/ALGSTB.FOR, $QYPGNOT/MX.FOR Summary: ALGSUB and ALGSTB used only the old and small part of the AP memory to decide how big to make the interpolation kernel for gridded modeling. For images of 4096 rows, this was too small and caused inaccurate modeling - namely some of the source did not get subtracted even though it was represented in the Clean components. MX had some faulty logic affecting restarts which would cause it not to recompute images that required recomputation. Files: /15JUL93/Q/SUB/NOTST/ALGSUB.FOR /15JUL93/Q/SUB/NOTST/ALGSTB.FOR /15JUL93/QY/PGM/NOTST/MX.FOR Fix: (1) Get the 3 routines, placing the first 2 in $QNOT and MX in $QYPGNOT (2) Recompile the subroutines with COMRPL $QNOT/ALGSUB $QNOT/ALGSTB (3) Relink MX with COMLNK $QYPGNOT/MX ------------------------------------------------------------------------ Routines: 15OCT92 (yes, the older version) $SYSLOCAL and $SYSUNIX files Summary: If you install 15JUL93 with the same AIPS_ROOT area as 15OCT92, the latter will stop working. Some of the shell scripts here are out of date and will cause problems. Files: /15OCT92/$ARCH/SYSTEM/$SITE (substitute $ARCH and $SITE) /15OCT92/SYSTEM/UNIX/* /15OCT92/$ARCH/LOAD/TEKSERVER.EXE Fix: (1) Move the two directories and make symlinks to 15JUL93: cd 15OCT92/$ARCH/SYSTEM mv $SITE ${SITE}.OLD ln -s $AIPS_ROOT/15JUL93/$ARCH/SYSTEM/$SITE $SITE cd 15OCT92/SYSTEM mv UNIX UNIX.OLD ln -s $AIPS_ROOT/15JUL93/SYSTEM/UNIX UNIX (2) Rename the TEKSERVER binary to TEKSRV: cd 15OCT92/$ARCH/LOAD mv TEKSERVER.EXE TEKSRV.EXE Documentor: Patrick P. Murphy (as warned by Martin Shepherd at Caltech) Date: 1993.09.03, updated 1993.09.08 (for TEKSRV) ------------------------------------------------------------------------ Routines: $SYSSOL/ZLPCL2, or $SYSLOCAL/ZLPCL2 on Solaris systems Summary: There is a missing quote on line 31 of this file. Files: /15JUL93/SOL/SYSTEM/ZLPCL2 /15JUL93/SOL/SYSTEM/$SITE/ZLPCL2 (substitute $SITE) Fix: The beginning of this line should read: filter="/usr/lib/lp/postscript/postprint -x .5 -y 0 ... " ^ here is the extra quote Documentor: Patrick P. Murphy Date: 1993.09.07 ------------------------------------------------------------------------ Routines: $YPGM/CNTR.FOR, $YPGM/GREYS.FOR, $YPGM/PROFL.FOR, $APGNOT/MULTI.FOR Summary: Incorrect INPARM size causes Solaris problems Files: /15JUL93/Y/PGM/CNTR.FOR /15JUL93/Y/PGM/GREYS.FOR /15JUL93/Y/PGM/PROFL.FOR /15JUL93/APL/PGM/NOTST/MULTI.FOR Fix: (1) Edit CNTR.FOR: line 80, change it from: INPRMS = 65 to: INPRMS = 63 (2) Edit GREYS.FOR, line 131, change it from: INPRMS = 121 to: INPRMS = 119 (3) Edit PROFL.FOR, line 105, change it from: INPRMS = 41 to: INPRMS = 39 (4) Edit MULTI.FOR, line 155, change it from: NPARM = 151 to: NPARM = 148 (5) Do the following: $CDTST COMLNK $YPGM/CNTR.FOR $YPGM/GREYS.FOR $YPGM/PROFL.FOR COMLNK $APGNOT/MULTI.FOR Documentor: Patrick P. Murphy Date: 1993.09.17, updated 1993.09.30 (PROFL), 1993.10.08 (MULTI) ------------------------------------------------------------------------ Routines: $APLHP/ZTAP2.C Summary: Corrected to do an advance file after a BAKF operation. AFFECTS HP SYSTEMS ONLY. Files: /15JUL93/APL/DEV/UNIX/BELL/HP/ZTAP2.C Details: The BAKF operation in ZTAP2.C was causing *ierr to be set to 4 (EOF) for HPs but not other systems. The ADVF over the last EOF was then not done. Corrected by adding an OR (*ierr==4). The full changes were: Changed WEOF to leave out the BAKF/ADVF when possible, changed BEGW to write EOFs only when not at beginning of tape and to leave out the BAKF/ADVF when possible, changed AEOI to use a hardware advance to EOD on DAT tapes even though that means not knowing anything about file numbers, corrected and enhanced debug message sections, corrected ADVF following BAKFs since ierr was 4 when that op had to be done. Fix: (1) Fetch pub/aips/15JUL93/APL/DEV/UNIX/BELL/HP/ZTAP2.C and move it to $APLHP (rename the old one 1st just to be safe). (2) Recompile with COMRPL $APLHP/ZTAP2 (3) Relink all tape tasks, namely COMLNK $AIPPGM/AIPS COMLNK $AIPNOT/TPMON COMLNK $AIPNOT/GRITP COMLNK $AIPNOT/GR2TEX COMLNK $APLPGM/PRTTP COMLNK $APLPGM/AVTP COMLNK $APGNOT/BAKLD COMLNK $APGNOT/BAKTP COMLNK $APGNOT/FILLM COMLNK $APGNOT/FILLR COMLNK $APGNOT/FITLD COMLNK $APGNOT/FITTP COMLNK $APGNOT/GSCAT COMLNK $APGNOT/IMLOD COMLNK $APGNOT/MK3IN COMLNK $APGNOT/MK3TX COMLNK $APGNOT/UVLOD Documentor: Eric W. Greisen Date: 1993.12.22 ------------------------------------------------------------------------