#!/bin/csh ######################################################################## # IMPORTANT: Before running this job, download the fortran from the # # web: # # # # topaz0_test.f (user routine) from # # http://www.to.infn.it/~giampier/fortran/topaz0deck_v49.for # # & topaz0_v44.f (topaz0 library) from # # http://www.to.infn.it/~giampier/fortran/topaz0_v44_rs8_230699.for # # # # then set SRCDIR below to directory containing this fortran, # # # # then submit to LSF with bsub < TOPAZ0.JOB . # ######################################################################## #BSUB -J TOPAZ0 # define the queue (short=8nm, med=1nh or 8nh, long=1nd or 1nw) #BSUB -q xu_1nh # # Initialize set echo date # banner 'TOPAZ0' set echo # echo commands. echo $HOST setenv SRCDIR "~tomalin/zfitter" # # Compile # setenv OPTS "-trapuw -check_bounds -O -static -fpe -w1 -warn nouncalled -K " # f77 -c $OPTS $SRCDIR/topaz0_test.f if (! -e topaz0_v44.o) f77 -c $OPTS $SRCDIR/topaz0_v44.f # setenv NAGDIR "/afs/cern.ch/asis/packages/licensed/nag-mark16/@sys/nagfl16df" # f77 -o fun topaz0_test.o topaz0_v44.o $NAGDIR/libnag.a # # Execute # fun # # Conclude EndJob: date pwd ls time #