#!/bin/csh # # Shell to build and run the program to test Linear system solver # # Following IF tests are C-Shell structures testing if certain files (-f) # do not (!) exist. # if (!(-f lin1.f)) then cp ~jhm/201/leastsq/lin1.f . endif if (! (-f lufort1.o)) then cp ~jhm/201/leastsq/lufort1.o . endif # # lufort1.o contains compiled "object code" for all subroutines and # functions needed to do LU decomposition and solution # # Make an executable file # f77 lin1.f lufort1.o -o lintest lintest