Commit in projects/slic/trunk/scripts on MAIN | |||
fwdTest.sh | -2 | 3250 removed | |
gdb.cmd | -4 | 3250 removed | |
gdb.sh | -2 | 3250 removed | |
grep-evt.sh | -17 | 3250 removed | |
ld-path.sh | -2 | 3250 removed | |
mkG4libList.sh | -20 | 3250 removed | |
rtag.sh | -30 | 3250 removed | |
run-ecap.sh | -2 | 3250 removed | |
run-log.sh | -13 | 3250 removed | |
run-segtest.sh | -18 | 3250 removed | |
run-tbeam.sh | -2 | 3250 removed | |
run-test.sh | -2 | 3250 removed | |
run-valgrind.sh | +1 | -1 | 3250 -> 3251 |
run.sh | -43 | 3250 removed | |
setup-basedir.sh | -2 | 3250 removed | |
test-opts.sh | -18 | 3250 removed | |
testLcioInput.sh | -1 | 3250 removed | |
testLimits.sh | -2 | 3250 removed | |
+1 | -181 |
Remove old SLIC scripts.
--- projects/slic/trunk/scripts/fwdTest.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/fwdTest.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-compact2lcdd compact_test.xml t.lcdd -slic -g t.lcdd -z -m macros/fwd_det_vis.mac -n
--- projects/slic/trunk/scripts/gdb.cmd 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/gdb.cmd 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,4 +0,0 @@
-exec-file ./build/bin/slic -set args -g ../../lcdd/HEAD/examples/detectors/sidloi3.lcdd -i /nfs/slac/g/lcd/mc/prj/data/singleParticle/stdhep/muons_Theta4-176_1-10GeV.stdhep -O -x -r 10 -r -
--- projects/slic/trunk/scripts/gdb.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/gdb.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-source $SLIC_BASE/scripts/ld-path.sh -gdb $SLIC_BASE/bin/Linux-g++/slic -command=gdb.cmd
--- projects/slic/trunk/scripts/grep-evt.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/grep-evt.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,17 +0,0 @@
-#!/bin/sh - -if [ -n "$1" ] -then - fname=$1 -else - fname="logfile" -fi - -echo "filename: $fname" - -if [ ! -e "$fname" ]; then - echo "ERROR: $fname does not exist!" - exit 1 -fi - -tail -f $@ | egrep "(BeginEvent|EndEvent)"
--- projects/slic/trunk/scripts/ld-path.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/ld-path.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-#!/bin/sh -export LD_LIBRARY_PATH=$PRJ_EXTERN/xerces-c/pro/lib:$LD_LIBRARY_PATH
--- projects/slic/trunk/scripts/mkG4libList.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/mkG4libList.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,20 +0,0 @@
-#!/bin/sh - -source config/setup/setup-slic-slac.sh - -./configure --enable-compile-verbose - -gmake all &> gmake.log - -grep succeeded gmake.log | sed -e 's/attempt to open //' -e 's/succeeded//' &> link_libs - -> g4_link_libs -for l in `cat link_libs`; do - basename $l | grep -v G4Processor | grep -v G4Subscribers | grep G4 | sed -e 's/lib//' -e 's/\.a$//' -e 's/\.so$//' >> g4_link_libs -done - -# don't sort -- maintain order for static linking -cat g4_link_libs | uniq > g4_link_libs.tmp -mv g4_link_libs.tmp g4_link_libs - -#egrep -v "[G4Processor|G4Subscriber]"
--- projects/slic/trunk/scripts/rtag.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/rtag.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,30 +0,0 @@
-#!/bin/sh - -if [ -z "${SLIC_BASE}" ]; then - echo "ERROR: Set SLIC_BASE." -else - - if [ -e ${SLIC_BASE}/VERSION ]; then - appname=`cat ${SLIC_BASE}/VERSION | awk '{print $1}'` - ver=`cat ${SLIC_BASE}/VERSION | awk '{print $2}'` - - echo "appname=$appname" - echo "ver=$ver" - - ver_okay=`echo $ver | egrep "^v[0-9]*r[0-9]*p[0-9_]*$"` - - if [ -n "${ver_okay}" ]; then - cmd="cvs rtag $ver_okay slic" - echo "exec: $cmd" - echo "Press ENTER to rtag..." - read - $cmd - else - echo "$ver does not match v#r#p#[_#] format." - fi - - else - echo "ERROR: Could not find VERSION." - fi - -fi
--- projects/slic/trunk/scripts/run-ecap.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run-ecap.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-#!/bin/sh -echo "exit" | $G4WORKDIR/bin/$G4SYSTEM/slic $G4WORKDIR/macros/ecap.mac &> logfile
--- projects/slic/trunk/scripts/run-log.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run-log.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,13 +0,0 @@
-#!/bin/sh -pre="." -if [ -n "$SLIC_BASE" ]; then - pre=$SLIC_BASE -fi - -run=$pre/bin/$G4SYSTEM/slic - -if [ ! -e "$run" ]; then - echo "$run does not exist! Source your Geant4 setup script and/or run from \$SLIC_BASE." -else - echo "exit" | $run $@ &> logfile -fi
--- projects/slic/trunk/scripts/run-segtest.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run-segtest.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,18 +0,0 @@
-#!/bin/sh - -# $Header: /nfs/slac/g/lcd/cvs/lcdroot/slic/scripts/run-segtest.sh,v 1.1 2005-01-10 18:28:22 jeremy Exp $ - -echo "Running SLIC segmentation tests..." -echo - -for s in NPCylBarr.mac NPPolyBarr.mac NPPolyEcap.mac PrjBarr.mac PrjEcap.mac; do - echo $s - logname=`echo $s | sed s/.mac//g` - logname=${logname}_log - ./scripts/run-log.sh macros/$s - mv logfile $logname - echo "logfile: $logname" - echo -done - -echo "Done."
--- projects/slic/trunk/scripts/run-tbeam.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run-tbeam.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-#!/bin/sh -echo "exit" | $G4WORKDIR/bin/$G4SYSTEM/slic $G4WORKDIR/macros/tbeam.mac &> logfile
--- projects/slic/trunk/scripts/run-test.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run-test.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-#!/bin/sh -echo "exit" | $G4WORKDIR/bin/$G4SYSTEM/slic $G4WORKDIR/macros/test.mac &> logfile
--- projects/slic/trunk/scripts/run-valgrind.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run-valgrind.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -8,7 +8,7 @@
--tool=memcheck \ --log-file-exactly=valgrind.log \ --suppressions=./valgrind.supp \
-$SLIC_BASE/bin/$G4SYSTEM/slic $@
+./build/bin/slic $@
# gdb #--gdb-attach=yes \
--- projects/slic/trunk/scripts/run.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/run.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,43 +0,0 @@
-#!/bin/sh - -# set G4SYSTEM by guessing (should be right) -if [ -z "$G4SYSTEM" ]; then - g4sys=`uname`-g++ -# or from env if set -else - g4sys=$G4SYSTEM -fi - -# check for SLIC_BASE -if [ -z "$SLIC_BASE" ]; then - echo "ERROR: Set SLIC_BASE to slic's root area." - exit 1 -fi - -# executable path -cmd=$SLIC_BASE/bin/$g4sys/slic - -# check for executable -if [ ! -e "$cmd" ]; then - echo "slic executable not found at $cmd. Did you build slic?" - exit 1 -fi - -# check if can exec -if [ ! -x "$cmd" ]; then - echo "slic binary not executable. Permissions problem?" - exit 1 -fi - -# set LD path because Xerces is shared lib -xml="$XERCESCROOT" -if [ -n "$xml" ]; then - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$XERCESCROOT/lib - echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" -fi - -# If XERCESCROOT was not found in env, SLIC might fail to load unless -# $XERCESROOT/lib is in LD_LIBRARY_PATH. - -# exec with all CL -time $cmd $@
--- projects/slic/trunk/scripts/setup-basedir.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/setup-basedir.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-#!/bin/sh -export SLIC_BASE=`pwd`
--- projects/slic/trunk/scripts/test-opts.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/test-opts.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,18 +0,0 @@
-#!/bin/sh - -# -# Script to test command-line parsing. -# - -$SLIC_BASE/scripts/run-log.sh \ - -h \ - --help \ - --version \ - -v \ - -g $SLIC_BASE/examples/template.lcdd \ - -i muons \ - -l LHEP \ - -o test_ops_lcio_output_file \ - -p `pwd` \ - -m $SLIC_BASE/macros/mandatory.mac \ - -z
\ No newline at end of file
--- projects/slic/trunk/scripts/testLcioInput.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/testLcioInput.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1 +0,0 @@
-bin/Linux-g++/slic -g ./examples/template.lcdd -m macros/test_lcio_input.mac -z -r 1 &> log
--- projects/slic/trunk/scripts/testLimits.sh 2014-08-11 21:45:07 UTC (rev 3250) +++ projects/slic/trunk/scripts/testLimits.sh 2014-08-11 22:21:39 UTC (rev 3251) @@ -1,2 +0,0 @@
-rm outfile.slcio -bin/Linux-g++/slic -g ./examples/limits.lcdd --limits -z -m macros/limits.mac &> log
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1