2 # process QA output into plots and trending
3 # run without arguments for examples
4 # origin: Mikolaj Krzewicki, mkrzewic@cern.ch
6 if [ ${BASH_VERSINFO} -lt 4 ]; then
7 echo "bash version >= 4 needed, you have ${BASH_VERSION}, exiting..."
11 ##############################
13 ##############################
16 #where to search for qa files
19 workingDirectory="${PWD}"
20 #where to place the final qa plots
21 #outputDirectory="/afs/cern.ch/work/a/aliqa%det/www/"
22 outputDirectory="${workingDirectory}/%DET"
23 #filter out detector option
24 excludeDetectors="EXAMPLE"
26 logDirectory=${workingDirectory}/logs
30 #MAILTO="fbellini@cern.ch"
42 echo " ${0##*/} option=value [option=value]"
43 echo " at least inputList should be specified, or configFile containing it:"
44 echo " ${0##*/} inputList=file.list"
45 echo " options override config file (if any), e.g.:"
46 echo " ${0##*/} configFile=runQA.config inputList=file.list outputDirectory=%det"
47 echo "some expert options"
48 echo " inputListHighPtTrees=file.list - external list of filtered trees, requires inputList to be set"
49 echo " includeDetectors=TPC,V0,MU - only process those"
50 echo " excludeDetectors=EVS,TPC - skip processing of those"
51 echo " - see example config file for more"
55 if ! parseConfig "$@"; then
60 [[ -z $ALICE_ROOT ]] && echo "ALICE_ROOT not defined" && return 1
63 if [[ ${ocdbStorage} =~ ${ocdbregex} ]]; then
64 alien-token-init ${alienUserName}
65 #this is a hack! alien-token init seems not enough
66 #but the gclient_env script messes up the LD_LIBRARY_PATH
69 done < <(grep -v "LD_LIBRARY_PATH" /tmp/gclient_env_${UID})
81 #be paranoid and make some full paths
82 [[ ! -f ${inputList} ]] && echo "no input list: ${inputList}" && return 1
83 inputList=$(get_realpath ${inputList})
84 mkdir -p ${workingDirectory}
85 #this is a trick to get the full path of workingDirectory
86 #(on a mac 'readlink -f' does not work...)
87 workingDirectory=$(workingDirectory=${workingDirectory%/}; cd ${workingDirectory%/*}; echo "${PWD}/${workingDirectory##*/}")
88 if [[ ! -d ${workingDirectory} ]]; then
89 echo "working dir $workingDirectory does not exist and cannot be created"
92 cd ${workingDirectory}
95 echo inputList=$inputList
96 echo outputDirectory=$outputDirectory
99 dateString=$(date +%Y-%m-%d-%H-%M-%S-%N)
100 echo "Start time QA process: $dateString"
103 mkdir -p $logDirectory
104 [[ ! -d $logDirectory ]] && echo "no log dir $logDirectory" && return 1
105 logFile="$logDirectory/${0##*/}.${dateString}.log"
107 [[ ! -f ${logFile} ]] && echo "cannot write logfile $logfile" && return 1
108 echo "logFile = $logFile"
111 lockFile=${workingDirectory}/runQA.lock
112 [[ -f ${lockFile} ]] && echo "lock ${lockFile} exists!" | tee ${logFile} && return 1
114 [[ ! -f ${lockFile} ]] && echo "cannot lock $lockFile" | tee ${logFile} && return 1
118 ################################################################
120 for detectorScript in $ALICE_ROOT/PWGPP/QA/detectorQAscripts/*; do
122 echo "##############################################"
125 [[ ! ${detectorScript} =~ .*\.sh$ ]] && continue
126 detector=${detectorScript%.sh}
127 detector=${detector##*/}
128 #by default we expect the container in the QA root file to de named like
130 detectorQAcontainerName=${detector}
133 if [[ "${excludeDetectors}" =~ ${detector} ]]; then
134 echo "${detector} is excluded in config, skipping..."
138 #if includeDetectors set, only process thoe detectors specified there
139 if [[ -n ${includeDetectors} && ! "${includeDetectors}" =~ ${detector} ]]; then
140 echo "${detector} not included in includeDetectors, skipping..."
144 logSummary=${logDirectory}/summary-${detector}-${dateString}.log
145 hostInfo >> ${logSummary}
146 outputDir=$(substituteDetectorName ${detector} ${outputDirectory})
147 tmpDetectorRunDir=${workingDirectory}/tmpQAtmpRunDir${detector}-${dateString}
148 if ! mkdir -p ${tmpDetectorRunDir}; then
149 echo "cannot create the temp dir $tmpDetectorRunDir"
152 cd ${tmpDetectorRunDir}
154 tmpPrefix=${tmpDetectorRunDir}/${outputDir}
155 echo "running QA for ${detector}"
156 echo " outputDir=$outputDir"
157 echo " tmpPrefix=$tmpPrefix"
159 #source the detector script
160 #unset the detector functions from previous iterations (detectors)
162 unset -f runLevelQAouter
163 unset -f periodLevelQA
164 unset -f runLevelEventStatQA
165 unset -f runLevelHighPtTreeQA
166 unset -f periodLevelHighPtTreeQA
167 source ${detectorScript}
169 #################################################################
170 #produce the QA and trending tree for each file (run)
171 unset arrOfTouchedProductions
172 declare -A arrOfTouchedProductions
173 while read inputFile; do
177 #first check if input file exists
178 [[ ! -f ${inputFile%\#*} ]] && echo "file ${inputFile%\#*} not accessible" && continue
180 if ! guessRunData ${inputFile}; then
181 echo "could not guess run data from ${inputFile}"
184 echo "anchorYear for ${originalPeriod} is: ${anchorYear}"
186 tmpProductionDir=${tmpPrefix}/${dataType}/${year}/${period}/${pass}
187 tmpRunDir=${tmpProductionDir}/000${runNumber}
188 mkdir -p ${tmpRunDir}
191 #check what kind of input file we have, default is a zip archive
192 #set the inputs accordingly
197 eventStatFileOuter=""
198 #it is possible we get the highPt trees from somewhere else
199 #search the list of high pt trees for the proper run number
200 if [[ -n ${inputListHighPtTrees} ]]; then
201 highPtTree=$(egrep -m1 ${runNumber} ${inputListHighPtTrees})
202 echo "loaded the highPtTree ${highPtTree} from external file ${inputListHighPtTrees}"
204 #if we are explicit about the input file this takes precedence
205 #over earlier additions
206 [[ "${inputFile}" =~ QAresults.root$ ]] && qaFile=${inputFile}
207 [[ "${inputFile}" =~ QAresults_barrel.root$ ]] && qaFile=${inputFile}
208 [[ "${inputFile}" =~ QAresults_outer.root$ ]] && qaFileOuter=${inputFile}
209 [[ "${inputFile}" =~ FilterEvents_Trees.root$ ]] && highPtTree=${inputFile}
210 [[ "${inputFile}" =~ event_stat.root$ ]] && eventStatFile=${inputFile}
211 [[ "${inputFile}" =~ event_stat_outer.root$ ]] && eventStatFileOuter=${inputFile}
212 if [[ "${inputFile}" =~ \.zip$ ]]; then
213 [[ -z ${qaFile} ]] && qaFile=${inputFile}
214 [[ -z ${qaFileOuter} ]] && qaFileOuter=${inputFile}
215 [[ -z ${highPtTree} ]] && highPtTree=${inputFile}
216 [[ -z ${eventStatFile} ]] && eventStatFile=${inputFile}
217 [[ -z ${eventStatFileOuter} ]] && eventStatFileOuter=${inputFile}
220 #if we have zip archives in the input, extract the proper file name
221 #from the archive and append in a root-like fashion
222 if [[ "$qaFile" =~ .*.zip$ ]]; then
223 if unzip -l ${qaFile} | egrep "QAresults.root" &>/dev/null; then
224 qaFile+="#QAresults.root"
225 elif unzip -l ${qaFile} | egrep "QAresults_barrel.root" &>/dev/null; then
226 qaFile+="#QAresults_barrel.root"
231 if [[ "$qaFileOuter" =~ .*.zip$ ]]; then
232 if unzip -l ${qaFileOuter} | egrep "QAresults_outer.root" &>/dev/null; then
233 qaFileOuter+="#QAresults_outer.root"
238 if [[ "$highPtTree" =~ .*.zip$ ]]; then
239 if unzip -l ${highPtTree} | egrep "FilterEvents_Trees.root" &>/dev/null; then
240 highPtTree+="#FilterEvents_Trees.root"
245 if [[ "${eventStatFile}" =~ .*.zip$ ]]; then
246 if unzip -l ${eventStatFile} | egrep "event_stat.root" &>/dev/null; then
247 eventStatFile+="#event_stat.root"
248 elif unzip -l ${eventStatFile} | egrep "event_stat_barrel.root" &>/dev/null; then
249 eventStatFile+="#event_stat_barrel.root"
254 if [[ "${eventStatFileOuter}" =~ .*.zip$ ]]; then
255 if unzip -l ${eventStatFileOuter} | egrep "event_stat_outer.root" &>/dev/null; then
256 eventStatFileOuter+="#event_stat.root"
258 eventStatFileOuter=""
263 echo qaFileOuter=$qaFileOuter
264 echo highPtTree=$highPtTree
265 echo eventStatFile=$eventStatFile
266 echo eventStatFileOuter=$eventStatFileOuter
267 echo ocdbStorage=${ocdbStorage}
270 #standard QA based on QAresults.root file (and variants)
271 if [[ -n ${qaFile} && $(type -t runLevelQA) =~ "function" ]]; then
272 echo running ${detector} runLevelQA for run ${runNumber} from ${qaFile}
273 ( runLevelQA "${qaFile}" ) &>> runLevelQA.log
274 #cache the touched production + an example file to guarantee consistent run data parsing
275 arrOfTouchedProductions[${tmpProductionDir}]="${inputFile%\#*}"
277 #standard QA based on QAresults_outer.root file (there in cpass, with different triggers)
278 if [[ -n ${qaFileOuter} && $(type -t runLevelQAouter) =~ "function" ]]; then
279 echo running ${detector} runLevelQAouter for run ${runNumber} from ${qaFileOuter}
280 ( runLevelQAouter "${qaFileOuter}" ) &>> runLevelQA.log
281 #cache the touched production + an example file to guarantee consistent run data parsing
282 arrOfTouchedProductions[${tmpProductionDir}]="${inputFile%\#*}"
284 #expert QA based on high pt trees
285 if [[ -n ${highPtTree} && $(type -t runLevelHighPtTreeQA) =~ "function" ]]; then
286 echo running ${detector} runLevelHighPtTreeQA for run ${runNumber} from ${highPtTree}
287 ( runLevelHighPtTreeQA "${highPtTree}" ) &>> runLevelQA.log
288 #cache the touched production + an example file to guarantee consistent run data parsing
289 arrOfTouchedProductions[${tmpProductionDir}]="${inputFile%\#*}"
291 #event stat QA based on event_stat.root file
292 if [[ -n ${eventStatFile} && $(type -t runLevelEventStatQA) =~ "function" ]]; then
293 echo running ${detector} runLevelEventStatQA for run ${runNumber} from ${eventStatFile}
294 ( runLevelEventStatQA "${eventStatFile}" ) &>> runLevelQA.log
295 #cache the touched production + an example file to guarantee consistent run data parsing
296 arrOfTouchedProductions[${tmpProductionDir}]="${inputFile%\#*}"
298 #event stat QA based on event_stat_outer.root file
299 if [[ -n ${eventStatFileOuter} && $(type -t runLevelEventStatQAouter) =~ "function" ]]; then
300 echo running ${detector} runLevelEventStatQAouter for run ${runNumber} from ${eventStatFileOuter}
301 ( runLevelEventStatQAouter "${eventStatFileOuter}" ) &>> runLevelQA.log
302 #cache the touched production + an example file to guarantee consistent run data parsing
303 arrOfTouchedProductions[${tmpProductionDir}]="${inputFile%\#*}"
306 #perform some default actions:
307 #if trending.root not created, create a default one
308 if [[ ! -f trending.root ]]; then
309 aliroot -b -q -l "$ALICE_ROOT/PWGPP/macros/simpleTrending.C(\"${qaFile}\",${runNumber},\"${detectorQAcontainerName}\",\"trending.root\",\"trending\",\"recreate\")" 2>&1 | tee -a runLevelQA.log
311 if [[ ! -f trending.root ]]; then
312 echo "trending.root not created"
315 cd ${tmpDetectorRunDir}
319 #################################################################
320 #cache which productions were (re)done
321 echo "list of processed productions:"
322 echo " ${!arrOfTouchedProductions[@]}"
325 #################################################################
326 #(re)do the merging/trending
327 for tmpProductionDir in ${!arrOfTouchedProductions[@]}; do
328 cd ${tmpProductionDir}
330 echo "running period level stuff in ${tmpProductionDir}"
333 productionDir=${outputDir}/${tmpProductionDir#${tmpPrefix}}
334 echo productionDir=${outputDir}/${tmpProductionDir#${tmpPrefix}}
336 mkdir -p ${productionDir}
337 if [[ ! -d ${productionDir} ]]; then
338 echo "cannot make productionDir $productionDir" && continue
341 #move runs to final destination
342 for dir in ${tmpProductionDir}/000*; do
344 oldRunDir=${outputDir}/${dir#${tmpPrefix}}
345 if ! guessRunData "${arrOfTouchedProductions[${tmpProductionDir}]}"; then
346 echo "could not guess run data from ${arrOfTouchedProductions[${tmpProductionDir}]}"
350 #before moving - VALIDATE!!!
351 if ! validate ${dir}; then
355 #moving a dir is an atomic operation, no locking necessary
356 if [[ -d ${oldRunDir} ]]; then
357 echo "removing old ${oldRunDir}"
360 echo "moving new ${runNumber} to ${productionDir}"
361 mv -f ${dir} ${productionDir}
364 #go to a temp dir to do the period level stuff in a completely clean dir
365 tmpPeriodLevelQAdir="${tmpProductionDir}/periodLevelQA"
367 echo tmpPeriodLevelQAdir="${tmpPeriodLevelQAdir}"
368 if ! mkdir -p ${tmpPeriodLevelQAdir}; then continue; fi
369 cd ${tmpPeriodLevelQAdir}
371 #link the final list of per-run dirs here, just the dirs
372 #to have a clean working directory
374 declare -a linkedStuff
375 for x in ${productionDir}/000*; do [[ -d $x ]] && ln -s $x && linkedStuff+=(${x##*/}); done
377 #merge trending files if any
378 if /bin/ls 000*/trending.root &>/dev/null; then
379 hadd trending.root 000*/trending.root &> periodLevelQA.log
382 #run the period level trending/QA
383 if [[ -f "trending.root" && $(type -t periodLevelQA) =~ "function" ]]; then
384 echo running ${detector} periodLevelQA for production ${period}/${pass}
385 ( periodLevelQA trending.root ) &>> periodLevelQA.log
387 echo "WARNING: not running ${detector} periodLevelQA for production ${period}/${pass}, no trending.root"
390 if ! validate ${PWD}; then continue; fi
392 #here we are validated so move the produced QA to the final place
393 #clean up linked stuff first
394 [[ -n ${linkedStuff[@]} ]] && rm ${linkedStuff[@]}
395 periodLevelLock=${productionDir}/runQA.lock
396 if [[ ! -f ${periodLevelLock} ]]; then
397 #some of the output could be a directory, so handle that
398 #TODO: maybe use rsync?
399 #lock to avoid conflicts:
400 echo "${HOSTNAME} ${dateString}" > ${periodLevelLock}
401 for x in ${tmpPeriodLevelQAdir}/*; do
402 if [[ -d ${x} ]]; then
403 echo "removing ${productionDir}/${x##*/}"
404 rm -rf ${productionDir}/${x##*/}
405 echo "moving ${x} to ${productionDir}"
406 mv ${x} ${productionDir}
408 if [[ -f ${x} ]]; then
409 echo "moving ${x} to ${productionDir}"
410 mv -f ${x} ${productionDir}
413 rm -f ${periodLevelLock}
415 rm -rf ${tmpPeriodLevelQAdir}
417 echo "ERROR: cannot move to destination" >> ${logSummary}
418 echo "production dir ${productionDir} locked!" >> ${logSummary}
419 echo "check and maybe manually do:" >> ${logSummary}
420 echo " rm ${periodLevelLock}" >> ${logSummary}
421 echo " rsync -av ${tmpPeriodLevelQAdir}/ ${productionDir}/" >> ${logSummary}
427 cd ${workingDirectory}
429 if [[ -z ${planB} ]]; then
431 echo removing ${tmpDetectorRunDir}
432 rm -rf ${tmpDetectorRunDir}
436 done #end of detector loop
445 #in case of emergency
446 #first check if we have the email of the detector expert defined,
447 #if yes, append to the mailing list
448 local mailTo=${MAILTO}
449 local detExpertEmailVar="MAILTO_${detector}"
450 [[ -n "${!detExpertEmailVar}" ]] && mailTo+=" ${!detExpertEmailVar}"
451 if [[ -n ${mailTo} ]]; then
453 echo "trouble detected, sending email to ${mailTo}"
454 cat ${logSummary} | mail -s "${detector} QA in need of assistance" ${mailTo}
461 summarizeLogs ${1} >> ${logSummary}
463 if [[ ${logStatus} -ne 0 ]]; then
464 echo "WARNING not validated: ${1}"
474 [[ ! -d ${dir} ]] && dir=${PWD}
476 #print a summary of logs
485 for log in ${dir}/${logFiles[*]}; do
486 [[ ! -f ${log} ]] && continue
487 errorSummary=$(validateLog ${log})
489 [[ validationStatus -ne 0 ]] && logstatus=1
490 if [[ ${validationStatus} -eq 0 ]]; then
491 #in pretend mode randomly report an error in rec.log some cases
492 if [[ -n ${pretend} && "${log}" == "rec.log" ]]; then
493 [[ $(( ${RANDOM}%2 )) -ge 1 ]] && echo "${log} BAD random error" || echo "${log} OK"
497 elif [[ ${validationStatus} -eq 1 ]]; then
498 echo "${log} BAD ${errorSummary}"
499 elif [[ ${validationStatus} -eq 2 ]]; then
500 echo "${log} OK MWAH ${errorSummary}"
508 gdb --batch --quiet -ex "bt" -ex "quit" aliroot ${x} > stacktrace_${x//\//_}.log
509 done < <(/bin/ls ${PWD}/*/core 2>/dev/null; /bin/ls ${PWD}/core 2>/dev/null)
520 'error while loading shared libraries'
523 'Thread [0-9]* (Thread'
526 '\.C.*error:.*\.h: No such file'
528 'Interpreter error recovered'
529 ': command not found'
530 ': comando non trovato'
538 local errorSummary=""
539 local warningSummary=""
541 for ((i=0; i<${#errorConditions[@]};i++)); do
542 local tmp=$(grep -m1 -e "${errorConditions[${i}]}" ${log})
543 [[ -n ${tmp} ]] && tmp+=" : "
547 for ((i=0; i<${#warningConditions[@]};i++)); do
548 local tmp=$(grep -m1 -e "${warningConditions[${i}]}" ${log})
549 [[ -n ${tmp} ]] && tmp+=" : "
550 warningSummary+=${tmp}
553 if [[ -n ${errorSummary} ]]; then
554 echo "${errorSummary}"
558 if [[ -n ${warningSummary} ]]; then
559 echo "${warningSummary}"
570 #first, check if the config file is configured
571 #is yes - source it so that other options can override it
573 for opt in "${args[@]}"; do
574 if [[ ${opt} =~ configFile=.* ]]; then
576 [[ ! -f ${configFile} ]] && echo "configFile ${configFile} not found, exiting..." && return 1
577 echo "using config file: ${configFile}"
578 source "${configFile}"
583 #then, parse the options as they override the options from file
584 for opt in "${args[@]}"; do
585 if [[ ! "${opt}" =~ .*=.* ]]; then
586 echo "badly formatted option ${var}, should be: option=value, stopping..."
589 local var="${opt%%=*}"
590 local value="${opt#*=}"
591 echo "${var}=${value}"
592 export ${var}="${value}"
599 #guess the period from the path, pick the rightmost one
604 legoTrainRunNumber=""
613 declare -a path=( $1 )
615 local dirDepth=$(( ${#path[*]}-1 ))
617 for ((x=${dirDepth};x>=0;x--)); do
619 [[ $((x-1)) -ge 0 ]] && local fieldPrev=${path[$((x-1))]}
620 local field=${path[${x}]}
621 local fieldNext=${path[$((x+1))]}
623 [[ ${field} =~ ^[0-9]*$ && ${fieldNext} =~ (.*\.zip$|.*\.root$) ]] && legoTrainRunNumber=${field}
624 [[ -n ${legoTrainRunNumber} && -z ${pass} ]] && pass=${fieldPrev}
625 [[ ${field} =~ ^LHC[0-9][0-9][a-z].*$ ]] && period=${field%_*} && originalPeriod=${field}
626 [[ ${field} =~ ^000[0-9][0-9][0-9][0-9][0-9][0-9]$ ]] && runNumber=${field#000}
627 [[ ${field} =~ ^[0-9][0-9][0-9][0-9][0-9][0-9]$ ]] && shortRunNumber=${field}
628 [[ ${field} =~ ^20[0-9][0-9]$ ]] && year=${field}
629 [[ ${field} =~ ^(^sim$|^data$) ]] && dataType=${field}
633 [[ -n ${shortRunNumber} && "${legoTrainRunNumber}" =~ ${shortRunNumber} ]] && legoTrainRunNumber=""
634 [[ -z ${legoTrainRunNumber} ]] && pass=${path[$((dirDepth-1))]}
635 [[ "${dataType}" =~ ^sim$ ]] && pass="passMC" && runNumber=${shortRunNumber} && originalPass="" #for MC not from lego, the runnumber is identified as lego train number, thus needs to be nulled
636 [[ -n ${legoTrainRunNumber} ]] && pass+="_lego${legoTrainRunNumber}"
638 #modify the OCDB: set the year
639 if [[ ${dataType} =~ sim ]]; then
640 anchorYear=$(run2year $runNumber)
641 if [[ -z "${anchorYear}" ]]; then
642 echo "WARNING: anchorYear not available for this production: ${originalPeriod}, runNumber: ${runNumber}. Cannot set the OCDB."
645 ocdbStorage=$(setYear ${anchorYear} ${ocdbStorage})
647 ocdbStorage=$(setYear ${year} ${ocdbStorage})
650 #if [[ -z ${dataType} || -z ${year} || -z ${period} || -z ${runNumber}} || -z ${pass} ]];
651 if [[ -z ${runNumber} ]]
663 #for a given run print the year.
664 #the run-year table is ${runMap} (a string)
665 #defined in the config file
666 #one line per year, format: year runMin runMax
668 [[ -z ${run} ]] && return 1
672 while read year runMin runMax; do
673 [[ -z ${year} || -z ${runMin} || -z ${runMax} ]] && continue
674 [[ ${run} -ge ${runMin} && ${run} -le ${runMax} ]] && echo ${year} && break
675 done < <(echo "${runMap}")
679 substituteDetectorName()
683 [[ ${dir} =~ \%det ]] && det=${det,,} && echo ${dir/\%det/${det}}
684 [[ ${dir} =~ \%DET ]] && det=${det} && echo ${dir/\%DET/${det}}
693 if cd "$(echo "${1%/*}")" &>/dev/null
695 # file *may* not be local
696 # exception is ./file.ext
697 # try 'cd .; cd -;' *works!*
701 # file *must* be local
705 # file *cannot* exist
708 # reassemble realpath
709 echo "$tmppwd"/"${1##*/}"
716 # ${1} - year to be set
717 # ${2} - where to set the year
718 local year1=$(guessYear ${1})
719 local year2=$(guessYear ${2})
721 [[ ${year1} -ne ${year2} && -n ${year2} && -n ${year1} ]] && path=${2/\/${year2}\//\/${year1}\/}
728 #guess the year from the path, pick the rightmost one
730 declare -a pathArray=( ${1} )
733 for field in ${pathArray[@]}; do
734 [[ ${field} =~ ^20[0-9][0-9]$ ]] && year=${field}
742 # Hallo world - Print AliRoot/Root/Alien system info
748 echo --------------------------------------
752 echo HOSTINFO HOSTNAME" "$HOSTNAME
753 echo HOSTINFO DATE" "`date`
754 echo HOSTINFO gccpath" "`which gcc`
755 echo HOSTINFO gcc version" "`gcc --version | grep gcc`
756 echo --------------------------------------
761 echo --------------------------------------
765 echo ROOTINFO ROOT" "`which root`
766 echo ROOTINFO VERSION" "`root-config --version`
768 echo --------------------------------------
774 echo --------------------------------------
778 echo ALIROOTINFO ALIROOT" "`which aliroot`
779 echo ALIROOTINFO VERSION" "`echo $ALICE_LEVEL`
780 echo ALIROOTINFO TARGET" "`echo $ALICE_TARGET`
782 echo --------------------------------------
787 #echo --------------------------------------
790 #for a in `alien --printenv`; do echo ALIENINFO $a; done
792 #echo --------------------------------------