Skip to content

Commit

Permalink
allocate 2 core/4GB ram for crab short matrix test
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Dec 11, 2024
1 parent 8be22e2 commit cc1cb58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crab/short-matrix1/pset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion crab/short-matrix1/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions crab/short-matrix1/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc1cb58

Please sign in to comment.