From cc1cb58f64bac8bb2c1eb44731448737b793da5e Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 11 Dec 2024 12:02:13 +0100 Subject: [PATCH] allocate 2 core/4GB ram for crab short matrix test --- crab/short-matrix1/pset.py | 2 +- crab/short-matrix1/run.sh | 3 ++- crab/short-matrix1/task.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/crab/short-matrix1/pset.py b/crab/short-matrix1/pset.py index 6c21333b697..cab33fbec1f 100644 --- a/crab/short-matrix1/pset.py +++ b/crab/short-matrix1/pset.py @@ -31,7 +31,7 @@ process.source = cms.Source("EmptySource") process.options = cms.untracked.PSet() -process.options.numberOfThreads = cms.untracked.uint32(1) +process.options.numberOfThreads = cms.untracked.uint32(2) # Production Info process.configurationMetadata = cms.untracked.PSet( diff --git a/crab/short-matrix1/run.sh b/crab/short-matrix1/run.sh index 83afad1239e..83a55b5c48e 100755 --- a/crab/short-matrix1/run.sh +++ b/crab/short-matrix1/run.sh @@ -11,6 +11,7 @@ pushd matrix esac done popd +tar -czvf matrix.tar.gz matrix >>run.log 2>&1 mv matrix/runall-report-step123-.log matrix.log grep -E ' Step[0-9]' matrix.log || true -tar -czvf matrix.tar.gz matrix +grep ' tests passed' matrix.log || true diff --git a/crab/short-matrix1/task.py b/crab/short-matrix1/task.py index cd6b416bfa8..a3d0acf95d2 100644 --- a/crab/short-matrix1/task.py +++ b/crab/short-matrix1/task.py @@ -18,8 +18,8 @@ config.JobType.psetName = "pset.py" config.JobType.pluginName = "PrivateMC" config.JobType.maxJobRuntimeMin = 600 -config.JobType.maxMemoryMB = 2000 -config.JobType.numCores = 1 +config.JobType.maxMemoryMB = 4000 +config.JobType.numCores = 2 config.JobType.allowUndistributedCMSSW = True config.JobType.scriptExe = "run.sh" config.JobType.disableAutomaticOutputCollection = True