forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#249 from nclopezo/add-comparison-cms-bot
Add the baseline script to cms-bot, it now also generates a file
Showing
2 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh -ex | ||
export SCRAM_ARCH=$ARCHITECTURE | ||
scram project $RELEASE_FORMAT | ||
cd $RELEASE_FORMAT | ||
eval `scram run -sh` | ||
mkdir -p "$WORKSPACE/matrix-results" | ||
pushd "$WORKSPACE/matrix-results" | ||
|
||
case $RELEASE_FORMAT in | ||
*THREADED*) | ||
echo "Threaded!" | ||
runTheMatrix.py --command '--customise FWCore/Concurrency/dropNonMTSafe.dropNonMTSafe' -s -j $(getconf _NPROCESSORS_ONLN) -l 401,1306,101.0,1003.0;; | ||
*) runTheMatrix.py -s -j $(getconf _NPROCESSORS_ONLN) -l 401,1306,101.0,1003.0 | ||
esac | ||
|
||
MAPPING_FILE=wf_mapping.txt | ||
ROOT_FILES=`find $WORKSPACE/matrix-results -name DQM*.root` | ||
PKGTOOLS_PATH=$WORKSPACE/pkgtools | ||
for f in $ROOT_FILES | ||
do | ||
WF_PATH=`echo $f | sed 's/^\.\///'` | ||
WF_NUMBER=`echo $WF_PATH | sed 's/_.*$//'` | ||
echo $WF_PATH >> $MAPPING_FILE | ||
done | ||
|
||
popd | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters