Commit 0edecc1f authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

More concise printout

parent e4b51cc8
......@@ -6,13 +6,11 @@
# 1) environmental variables SAME_OK, SAME_WARNING and SAME_ERROR are defined
# 2) . $CMS_PATH/cmsset_default.sh has already been run
#
# $Id: CMSSW_frontier.sh,v 1.70 2012/06/04 13:51:06 rdu Exp $
# $Id: CMSSW_frontier.sh,v 1.71 2012/10/24 13:33:10 asciaba Exp $
#
uname -a
date
node=`uname -n`
printf "node: $node\n"
cat /etc/issue
#
# Choose CMSSW version
#
......@@ -45,7 +43,7 @@ fi
#
# Print CMS_PATH
#
printf "CMS_PATH $CMS_PATH\n"
printf "CMS_PATH: $CMS_PATH\n"
#
# Check that scramv1 command was defined by . $CMS_PATH/cmsset_default.sh
#
......@@ -67,7 +65,6 @@ printf "Current directory is: $current\n"
# Set up CMSSW
#
printf "scramv1 project CMSSW $cmsswvsn ... starting\n"
printf "scramv1 project CMSSW $cmsswvsn ... starting\n" 1>&2
scramv1 project CMSSW $cmsswvsn
scms=$?
if [ $scms -ne 0 ]
......@@ -76,20 +73,18 @@ then
exit $SAME_WARNING
fi
printf "scramv1 project CMSSW $cmsswvsn ... completed\n"
printf "scramv1 project CMSSW $cmsswvsn ... completed\n" 1>&2
#
cd $cmsswvsn/src
printf "scramv1 runtime -sh ... starting\n"
printf "scramv1 runtime -sh ... starting\n" 1>&2
eval `scramv1 runtime -sh | grep -v SCRAMRT_LSB_EXIT_REQUEUE | grep -v SCRAMRT_DOMAINNAME | grep -v SCRAMRT_LSB_JOBNAME`
printf "scramv1 runtime -sh ... completed\n"
printf "scramv1 runtime -sh ... completed\n" 1>&2
#
# Return to working directory
#
cd $current
ever_warning=0
# Execute squid test script
echo
echo "Executing the Squid test"
$SAME_SENSOR_HOME/tests/test_frontier.py 2>&1
resquid=$?
......@@ -105,7 +100,7 @@ fi
#
# Print out version
#
printf 'version $Id: CMSSW_frontier.sh,v 1.70 2012/06/04 13:51:06 rdu Exp $\n'
printf 'version: $Id: CMSSW_frontier.sh,v 1.71 2012/10/24 13:33:10 asciaba Exp $\n'
#
# Set environmenal variable for FroNtier
#
......@@ -153,7 +148,6 @@ process.ep = cms.EndPath(process.dump)
EOI
printf "configuration script:\n"
cat ecal_pedestals.py
#sleep 300
start=`date +%s`
#
# Run cmsRun
......@@ -214,4 +208,3 @@ fi
printf "ELAPSED TIME: $[ $stop - $start ] seconds\n"
printf "OK\n"
exit $SAME_OK
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment