#!/bin/csh -f # Script: cmpl unset noclobber set narg = $#argv if ($narg != 3 ) then echo 'WARNING: arguments are .' exit(0) endif setenv CRNLIB $CERN_ROOT/lib setenv LULIB $CERN/lund/new/lib rm param.inc cp $2.inc param.inc set ifil = $argv[1] set ofil = $ifil'.exe' set ffil = $ifil'.f' f77 -static -o $ofil $ffil $LULIB/ludata.o $LULIB/pydata.o $LULIB/pdfdum.o -L$LULIB -llund -llepto -L$CRNLIB -lkernlib -lgraflib -lpacklib -lmathlib -lphtools -lpawlib -L$LULIB -llund -llepto cp $3.ini cteq.ini ./$1.exe > $2_$3.log rm $2_$3.nt mv mu.hbook $2_$3.nt exit(0) #!/bin/csh -f