File indexing completed on 2025-08-02 08:19:35
0001
0002
0003 export USER="$(id -u -n)"
0004 export LOGNAME=${USER}
0005 export HOME=/sphenix/u/${USER}
0006
0007 hostname
0008
0009 this_script=$BASH_SOURCE
0010 this_script=`readlink -f $this_script`
0011 this_dir=`dirname $this_script`
0012 echo rsyncing from $this_dir
0013 echo running: $this_script $*
0014
0015 source /cvmfs/sphenix.sdcc.bnl.gov/gcc-12.1.0/opt/sphenix/core/bin/sphenix_setup.sh -n
0016
0017
0018 if [[ ! -z "$_CONDOR_SCRATCH_DIR" && -d $_CONDOR_SCRATCH_DIR ]]
0019 then
0020 cd $_CONDOR_SCRATCH_DIR
0021 rsync -av $this_dir/* .
0022 else
0023 echo condor scratch NOT set
0024 exit -1
0025 fi
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 echo 'here comes your environment'
0037 printenv
0038
0039 sh makelist.sh $1
0040
0041 root.exe -q -b Fun4All_Combiner.C\(0\)
0042
0043 echo "script done"