Skip to content

Commit c478bde

Browse files
committed
Constrain PWGJE to only one compilation thread
Breaks the build due to very heavy memory usage otherwise.
1 parent 90b28a4 commit c478bde

File tree

3 files changed

+328
-301
lines changed

3 files changed

+328
-301
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ if(_total_analysis_jobs LESS_EQUAL 0)
2727
set(_total_analysis_jobs 1)
2828
endif()
2929
set(ANALYSIS_COMPILE_POOL ${_total_analysis_jobs} CACHE STRING "How many parallel analysis compilation jobs")
30-
set_property(GLOBAL PROPERTY JOB_POOLS analysis=${ANALYSIS_COMPILE_POOL})
30+
set(HIGH_MEMORY_COMPILE_POOL 1 CACHE STRING "Pool for tasks which use a lot of memory")
31+
set_property(GLOBAL PROPERTY JOB_POOLS analysis=${ANALYSIS_COMPILE_POOL} serial=${HIGH_MEMORY_COMPILE_POOL})
3132
message(STATUS "Limiting workflow compilations in parallel to: ${ANALYSIS_COMPILE_POOL}")
3233

3334
# C++ standard

PWGJE/TableProducer/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ o2physics_add_dpl_workflow(jet-deriveddata-selector
3030

3131
o2physics_add_dpl_workflow(jet-deriveddata-writer
3232
SOURCES derivedDataWriter.cxx
33+
JOB_POOL serial
3334
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::PWGJECore O2Physics::AnalysisCore
3435
COMPONENT_NAME Analysis)
3536

0 commit comments

Comments
 (0)