Starting from CMSSW_14_0_X, releases are built with support for multiple micro-architectures on x86_64.
For CMSSW_14_X:
- The default micro-architecture is
x86-64-v2. - An additional micro-architecture,
x86-64-v3, is also available. - To optimize time and resource usage,
SCRAMis configured by default to use onlyx86-64-v2. - If you need
x86-64-v3libraries and plugins inCMSSW, run:in your development area. This enablesscram build enable-multi-targets
SCRAMto build your checked-out packages for both micro-architectures and automatically select the best set of libraries at runtime.
For CMSSW_15_0_X and Later:
Starting with CMSSW_15_0_X, the following changes apply:
- Default Micro-Architecture:
x86-64-v3 - Additional Micro-Architecture:
x86-64-v2 - Runtime Environment Selection (
cmsenv):- Nodes with only
x86-64-v2support: The runtime environment will usex86-64-v2libraries and plugins. - Nodes with
x86-64-v3(or higher) support: The runtime environment will usex86-64-v3libraries and plugins.
- Nodes with only
- Development Area Configuration:
- Nodes with only
x86-64-v2support:SCRAMwill enable multi-microarchitecture support. Checked-out packages will be built for bothx86-64-v2andx86-64-v3, withSCRAMselecting the best match at runtime. - Nodes with
x86-64-v3(or higher) support:SCRAMwill disable multi-microarchitecture support. Checked-out packages will be built only forx86-64-v3, and at runtime,SCRAMwill use onlyx86-64-v3libraries.
- Nodes with only
- New Environment Variables Set by
SCRAM(forCMSSW_15_0_Xand later):- SCRAM_DEFAULT_MICROARCH: Specifies the default micro-architecture for the
CMSSWrelease (e.g.,x86-64-v3forCMSSW_15_0_X). - SCRAM_MIN_SUPPORTED_MICROARCH: Defines the minimum required micro-architecture for
CMSSW.- If multi-microarchitecture support is enabled in the development area, this will be set to
x86-64-v2. - Otherwise, it will be set to
x86-64-v3
- If multi-microarchitecture support is enabled in the development area, this will be set to
- SCRAM_DEFAULT_MICROARCH: Specifies the default micro-architecture for the