4 echo
Site:${GLIDEIN_ResourceName}
5 echo
"the worker node is " `hostname`
"OS: " `uname -
a`
9 cd $_CONDOR_SCRATCH_DIR
13 if [ -
z $GROUP ]; then
15 # try to figure out what group the user is in
33 source /cvmfs/oasis.opensciencegrid.org/fermilab/products/larsoft/
setup
37 echo
"Here is the your environment in this job: " > job_output_${CLUSTER}.${PROCESS}.log
38 env >> job_output_${CLUSTER}.${PROCESS}.log
43 GRID_USER=`basename $X509_USER_PROXY | cut -d
"_" -f 2`
46 echo
"GRID_USER = `echo $GRID_USER`"
48 sleep $[ ( $RANDOM % 10 ) + 1 ]
m
52 cd $_CONDOR_SCRATCH_DIR
55 ####################################
56 ######
setup your needed products here,
e.g. geant4 etc...
57 ####################################
65 ####################################
67 ####################################
75 cd /
sbnd/app/users/andrzejs/
81 ####################################
82 #### This is where you copy all of your necessary files to the worker node
83 #### ( If applicable )
84 ####################################
86 # ifdh cp /pnfs/sbnd/scratch/users/andrzejs/hello.out .
91 ####### launch executable
94 cd $_CONDOR_SCRATCH_DIR
96 lar -c prodsingle_sbnd.fcl -
n 5 -o
test.root -T test_hist.root &> output_${CLUSTER}.${PROCESS}.log
101 ####### Copy results back
113 #ifdh cp debug*log ${SCRATCH_DIR}/${GRID_USER}/output_${CLUSTER}.${PROCESS}/
116 ####### The rest is some copying info, that is not necessarily relevant.
120 if [ -
z "$SCRATCH_DIR" ]; then
121 echo
"Invalid dCache scratch directory, not copying back"
128 # first do lfdh ls to check if directory exists
130 # A non-zero exit value probably means it doesn't, so create it
131 if [ $? -ne 0 && -
z "$IFDH_OPTION" ]; then
133 echo
"Unable to read ${SCRATCH_DIR}/$GRID_USER. Make sure that you have created this directory and given it group write permission (chmod g+w ${SCRATCH_DIR}/$GRID_USER)."
135 # ifdh mkdir ${SCRATCH_DIR}/$GRID_USER
136 # if [ "$?" -ne "0" ]; then
137 # echo "Unable to make ${SCRATCH_DIR}/$GRID_USER directory"
139 # ifdh cp -D --force=gridftp job_output_${CLUSTER}.${PROCESS}.log ${SCRATCH_DIR}/${GRID_USER}/
140 # if [ "$?" -ne "0" ]; then
141 # echo "Error $? when copying to dCache scratch area!!!"
145 # directory already exists, so let's copy
146 ifdh cp -D $IFDH_OPTION job_output_${CLUSTER}.${PROCESS}.log ${
SCRATCH_DIR}/${
GRID_USER}/output_${CLUSTER}.${PROCESS}/
147 if [ $? -ne 0 ]; then
148 echo
"Error $? when copying to dCache scratch area!\n If you created ${SCRATCH_DIR}/${GRID_USER} yourself,\n make sure that it has group write permission."
process_name opflash particleana ie ie ie z
then source grid fermiapp products dune setup_dune_fermiapp sh exit else echo No setup file found exit fi setup
process_name opflash particleana ie x
then setup git exit fi setup gitflow exit export MRB_PROJECT
set x echo Start date echo Site
then echo Invalid dCache scratch not copying back else ifdh ls
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...
then echo echo For and will not be changed by echo further linking echo echo B echo The symbol is in the uninitialized data multiple common symbols may appear with the echo same name If the symbol is defined the common echo symbols are treated as undefined references For more echo details on common see the discussion of warn common echo in *Note Linker see the discussion of warn common echo in *Note Linker such as a global int variable echo as opposed to a large global array echo echo I echo The symbol is an indirect reference to another symbol This echo is a GNU extension to the a out object file format which is echo rarely used echo echo N echo The symbol is a debugging symbol echo echo R echo The symbol is in a read only data section echo echo S echo The symbol is in an uninitialized data section for small echo objects echo echo T echo The symbol is in the the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo W echo The symbol is a weak symbol that has not been specifically echo tagged as a weak object symbol When a weak defined symbol echo is linked with a normal defined the normal defined echo symbol is used with no error When a weak undefined symbol echo is linked and the symbol is not the value of the echo weak symbol becomes zero with no error echo echo echo The symbol is a stabs symbol in an a out object file In echo this the next values printed are the stabs other echo the stabs desc and the stab type Stabs symbols are echo used to hold debugging information For more information
then echo Setting up ifdhc
esac shift done rm f *xml find $SBNDCODE_DIR source fcl gen name *fcl while read fcl do if!echo $fcl grep q common
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
stream1 can override from command line with o or output services user sbnd
BEGIN_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree showermakertwo END_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree sequence::inline_paths sequence::inline_paths sequence::inline_paths showermakers test