#!/bin/csh -f setenv CMS_VER v112 setenv CMS_BIN $CMS_BIN/sun4x_55 echo -------------------------- echo $0 batch job started at `date` echo -------------------------- if ( ! -f $CMS_BIN/cmsv112b.exe ) then echo echo There is no cmsv112b.exe, run the script cmsbuild exit 1 endif chmod a+x $CMS_BIN/cmsv112b.exe if ( -f cms112.out ) mv cms112.out cms112.out_old # # the next line does the actual running of CMSIM.... time $CMS_BIN/cmsv112b.exe >cms112.out <