Trailing-Edge
-
PDP-10 Archives
-
decus_20tap4_198111
-
decus/20-0100/lincur.c14
There are no other files named lincur.c14 in the archive.
; FILE LINCUR.C14
;
; THIS BATCH CONTROL FILE WILL CREATE THREE VERSIONS OF THE
; LINWOOD LINEAR LEAST-SQUARES CURVE-FITTING PROGRAM.
; THE BATCH CONTROL FILE IS TO BE USED WITH THE TOPS-10
; OPERATING SYSTEM.
; EITHER THE F40 OR THE F10 COMPILERS MAY BE USED.
;
; THIS FILE IS SET UP TO USE THE F40 COMPILER WITHOUT OVERLAY.
;
; FILE CP0 IS SETUP TO USE THE F10 COMPILER WITHOUT OVERLAY.
; FILE CP1 IS SETUP TO USE THE F10 COMPILER WITH OVERLAY.
;
; LIN10 ALLOWS 35 MAX VARIABLES BEFORE TRANSFORMATIONS,
; 10 MAX VARIABLES AFTER TRANSFORMATIONS, AND
; 200 MAX OBSERVATIONS.
;
; LIN40 ALLOWS 65 MAX VARIABLES BEFORE TRANSFORMATIONS,
; 40 MAX VARIABLES AFTER TRANSFORMATIONS, AND
; 1000 MAX OBSERVATIONS.
;
; LIN80 ALLOWS 105 MAX VARIABLES BEFORE TRANSFORMATIONS,
; 80 MAX VARIABLES AFTER TRANSFORMATIONS, AND
; 1000 MAX OBSERVATIONS.
;
; LOGICAL UNIT NUMBERS USED BY THE PROGRAM ARE DEFINED IN
; SUBROUTINE BASPGM AT LINES CF1 0820 THRU CF1 0940.
;
; LINCUR.MC1 AND LINCUR.MC4 ARE THE F10 AND F40 COMPILER VERSION
; OF DEPSIT FOR PACKING PLOT CHARACTERS.
; SHOULD SOME COMPILER OTHER THAN F10 OR F40 BE USED.
; THIS ROUTINE WILL HAVE TO BE CHANGED TO CONFORM TO
; THE REGISTER UTILIZATION EXPECTED BY THE COMPILER.
;
;
; ]]]]]]] IMPORTANT ]]]]]]]]
; IF FILCOM IS USED TO COMPARE THE RESULTS OF THE TEST RUN
; GIVEN IN LINCUR,TRN, F40 AND F10 MAY DIFFER SLIGHTLY IN
; THE CALCULATION OF A SWEEP VALUE. THIS IS PRINTED WITH
; ONLY ONE SIGNIFICANT DIGIT AND F40 AND F10 DIFFER SLIGHTLY
; IN THAT ONE GIVES 1,E-18 AND THE OTHER 2,E-18. THIS IS
; AN INSIGNIFICANT DIFFERENCE AN MAY BE ONLY A DIFFERENCE IN
; A FAR LESS SIGNIFCANT DECIMAL PLACE.
;
;
; THE FOLLOWING INSTRUCTIONS WILL CREATE THE PROGRAMS
; USING THE F40 COMPILER AND NOT OVERLAYING.
;
; RENAME THE MACRO ROUTINE FROM DECUS NAME
COPY LINF40.MAC=LINCUR.MC4
COMPILE LINF40.MAC/COMPILE-LIST
; NOW COMPILE 40 VARIABLE PROGRAM
COPY LIN40.F4=LINCUR.F4
COMPILE LIN40.F4/F40/LIST/COMPILE
LOAD LIN40.REL,LINF40.REL
; IF A DIFFERENT NAME IS REQUIRED DO IT HERE
SAVE LIN40
; NOW PERFORM PROGRAM MODIFICATIONS TO CREATE 10 VARIABLE
; PROGRAM
;
; LINUPD IS A FORTRAN PROGRAM WHICH WILL MODIFY THE
; 40 VARIABLE PROGRAM TO CREATE THE 10 VARIABLE PROGRAM
; USING THE PROGRAM CHANGES IN LINCUR.M10
COPY LINUPD.F4=LINCUR.UPD
COMPILE LINUPD.F4/F40/LIST/COMPILE
COPY FOR01.DAT=LINCUR.M10
COPY FOR20.DAT=LINCUR.F4
EXEC LINUPD.REL
; FOR23 HAS THE RESULTS OF THE PROGRAM UPDATE
COPY LIN10.F4=FOR23.DAT
; THESE FILES ARE NO LONGER NEEDED
DELETE FOR23.DAT,FOR01.DAT
; COMPILE 10 VARIABLE PROGRAM
COMPILE LIN10.F4/F40/LIST/COMPILE
LOAD LIN10,REL,LINF40,REL
SAVE LIN10
DELETE LIN10.REL
;
; NOW PERFORM PROGRAM MODIFICATIONS TO CREATE 80 VARIABLE
; PROGRAM USING THE PROGRAM CHANGES IN LINCUR.M80
COPY FOR01.DAT=LINCUR.M80
COPY FOR20.DAT=LINCUR.F4
EXEC LINUPD.REL
; FOR23 HAS THE RESULTS OF THE PROGRAM UPDATE
COPY LIN80.F4=FOR23.DAT
; THESE FILES ARE NO LONGER NEEDED
DELETE FOR23.DAT,FOR01.DAT,FOR20.DAT
; NOW COMPILE 80 VARIABLE PROGRAM
COMPILE LIN80.F4/F40/LIST/COMPILE
LOAD LIN80,REL,LINF40,REL
SAVE LIN80
DELETE LIN40.REL,LIN80.REL
;
; NOW TEST DATA
COPY FOR05,DAT=LINCUR,TST
RUN LIN10
RUN LIN40
RUN LIN80
; THAT HAS CREATED THE F40 VERSIONS OF THE
; LINWOOD LINEAR LEAST-SQUARES CURVE-FITTING PROGRAM