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
36 source /cvmfs/oasis.opensciencegrid.org/fermilab/products/larsoft/
setup
40 echo
"Here is the your environment in this job: " > job_output_${CLUSTER}.${PROCESS}.log
41 env >> job_output_${CLUSTER}.${PROCESS}.log
46 GRID_USER=`basename $X509_USER_PROXY | cut -d
"_" -f 2`
49 echo
"GRID_USER = `echo $GRID_USER`"
51 sleep $[ ( $RANDOM % 10 ) + 1 ]
m
55 cd $_CONDOR_SCRATCH_DIR
58 ####################################
59 ######
setup your needed products here,
e.g. geant4 etc...
60 ####################################
68 ####################################
69 #### This is where you
copy all of your executable/necessary files to
the worker node
70 #### ( If applicable )
71 ####################################
76 ####### ifdh cp does not preserve permissions, so need to add executable. #########
81 ####### launch executable
88 ####### Copy results back
98 ####### The rest is some copying info, that is not necessarily relevant.
102 if [ -
z "$SCRATCH_DIR" ]; then
103 echo
"Invalid dCache scratch directory, not copying back"
110 # first do lfdh ls to check if directory exists
112 # A non-zero exit value probably means it doesn't, so create it
113 if [ $? -ne 0 && -
z "$IFDH_OPTION" ]; then
115 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)."
117 # ifdh mkdir ${SCRATCH_DIR}/$GRID_USER
118 # if [ "$?" -ne "0" ]; then
119 # echo "Unable to make ${SCRATCH_DIR}/$GRID_USER directory"
121 # ifdh cp -D --force=gridftp job_output_${CLUSTER}.${PROCESS}.log ${SCRATCH_DIR}/${GRID_USER}/
122 # if [ "$?" -ne "0" ]; then
123 # echo "Error $? when copying to dCache scratch area!!!"
127 # directory already exists, so let's copy
128 ifdh cp -D $IFDH_OPTION job_output_${CLUSTER}.${PROCESS}.log ${
SCRATCH_DIR}/${
GRID_USER}/output_${CLUSTER}.${PROCESS}/
129 if [ $? -ne 0 ]; then
130 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
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
stream1 can override from command line with o or output services user sbnd