Laserfiche WebLink
<br />tJjH52 <br /> <br />. The original program was renamed and saved as MHYDRO,BUR. The ported <br />program was broken into 40 separate subroutines (Attachment 1) using the <br />FORTRAN utility CUTSUB,FOR. Note functions were also broken out as <br />separate subroutines to assist in implementing a revision control procedure on a <br />work station version of MHYDRO.l Also, of the original subroutines provided <br />two, FETCH and FILNAME, were associated with the CYBER intrinsic mass <br />storage and were deleted from the ported version, <br /> <br />. Input and output file names were revised, Attachment 2 presents the data file <br />and naming convention adopted for this application, Attachment 3 presents the <br />flow of input and output files, Note the original files I, 5 and 6 were replaced <br />with files 11, 14 and 13 respecitviely fo convience to assist inporting to a <br />workstation. Also the path designation (CRSS/DAT/*,*) is used for some input <br />files, <br /> <br />. A new subroutine OPENMH.FOR was developed to simplifY the editing and <br />renaming of input files and their storage properties, This subroutine is called by <br />the main program, MHYDRO,FOR, and reads Attachment 2 as input. <br /> <br />. Compiling and Linking batch files were developed to assist in the porting <br />process, Note, the ported model is stored in directory CRSS/LR/MHYDRO while <br />the objective files are stored in directory CRSS/LR/OBJM, <br /> <br />. Common blocks were removed from each subroutine to simplifY the designation <br />of character types. They are reinserted into each subroutine during the compiling <br />process by using the INCLUDE command, <br /> <br />. Data statements were revised, For example: <br /> <br />OLD <br />DATA (A=IOO,O) <br /> <br />NEW <br />data all 00,0/ <br /> <br />. End of file designations were revised, For example: <br /> <br />OLD <br />READ(5,100) X <br />IF(EOF(5).EQ.1))GOTO 1 <br /> <br />NEW <br /> <br />read(5,100,end=l) x <br /> <br />2 <br />