@ECHO off rem OrbScore.bat rem (This batch file is for Windows only!) rem ---------------------------------------------------------- rem Input Files Section rem (supply actual names of .feg, .in, .out, & data files) rem (put rem before any COPY to deactivate the line) rem ---------------------------------------------------------- rem Finite-element grid (.feg) file; always required: COPY Earth2P.feg fort.1 >> trash.txt rem rem Input-parameter (.in) file; always required: COPY i2000-01.in fort.2 >> trash.txt rem rem Velocities of nodes (v_____.out) file; always required: COPY v2000-01.out fort.3 >> trash.txt rem rem Geodetic benchmark velocities (optional): COPY geodesy.gps fort.11 >> trash.txt rem rem Most-compressive horizontal principal stress azimuths (optional): COPY Fig5A_stress.dat fort.12 >> trash.txt rem rem Geologic slip-rates on faults (optional): rem COPY Slip_Rate_Data_lonlat.dig fort.13 >> trash.txt rem rem Seafloor spreading rates (optional): COPY magnetic.dat fort.14 >> trash.txt rem rem Seismic catalog (optional): rem COPY Eurasian_by20km_ISC.cat fort.15 >> trash.txt rem rem ---------------------------------------------------------- rem Execution Section rem (set the desired output file name after the >; usually rem this is something like s______.out) rem ---------------------------------------------------------- ECHO Executing OrbScore_batch.exe.... OrbScore_batch.exe > s2000-01.out rem rem OrbScore_batch.exe is different from OrbScore.exe because: rem (1) It was compiled with the READ in rem SUBROUTINE Pause() commented-out so that it doesn't hang rem at error message (or successful completion). rem (2) It was compiled with the Fortran/Compatibility/ rem "filenames from command line" switch un-checked, rem so that it doesn't hang on undefined filenames. rem rem ---------------------------------------------------------- rem Clean-Up Section rem ---------------------------------------------------------- COPY fort.21 edotnc.feg >> trash.txt COPY fort.22 edotnm.feg >> trash.txt IF EXIST fort.23 COPY fort.23 v_smooth.out >> trash.txt rem IF EXIST fort.1 DEL fort.1 >> trash.txt IF EXIST fort.2 DEL fort.2 >> trash.txt IF EXIST fort.3 DEL fort.3 >> trash.txt IF EXIST fort.11 DEL fort.11 >> trash.txt IF EXIST fort.12 DEL fort.12 >> trash.txt IF EXIST fort.13 DEL fort.13 >> trash.txt IF EXIST fort.14 DEL fort.14 >> trash.txt IF EXIST fort.15 DEL fort.15 >> trash.txt IF EXIST fort.21 DEL fort.21 >> trash.txt IF EXIST fort.22 DEL fort.22 >> trash.txt IF EXIST fort.23 DEL fort.23 >> trash.txt IF EXIST trash.txt DEL trash.txt rem rem ---------------------------------------------------------- rem Termination Section rem ---------------------------------------------------------- ECHO Finished OrbScore; see s______.out