Skip to content

Commit 2e83ca8

Browse files
authored
Merge pull request #319 from LLNL/v2025.03.1-RC
v2025.03.1 RC
2 parents 79f6414 + e69dca4 commit 2e83ca8

15 files changed

+64
-21
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ variables:
3434
# Use the service user workspace. Solves permission issues, stores everything
3535
# at the same location whoever triggers a pipeline.
3636
CUSTOM_CI_BUILDS_DIR: /usr/workspace/umdev/gitlab-runner
37-
# Tells Gitlab to recursively update the submodules when cloning the project.
38-
GIT_SUBMODULE_STRATEGY: recursive
37+
# Submodules: We don't need to fetch dependencies handled by Spack.
38+
GIT_SUBMODULE_STRATEGY: normal
39+
GIT_SUBMODULE_DEPTH: 1
40+
GIT_SUBMODULE_UPDATE_FLAGS: --jobs 2
41+
GIT_SUBMODULE_PATHS: scripts/radiuss-spack-configs scripts/uberenv
3942

4043
##### PROJECT VARIABLES
4144
# We build the projects in the CI clone directory (used in

.uberenv_config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
"package_final_phase" : "initconfig",
55
"package_source_dir" : "../..",
66
"spack_url": "https://github.com/spack/spack.git",
7-
"spack_branch": "develop-2025-02-09",
7+
"spack_commit": "280017a9ba3f6a969743deca0eebc96e7c0e5cfd",
88
"spack_configs_path": "scripts/radiuss-spack-configs",
99
"spack_packages_path": "scripts/radiuss-spack-configs/packages",
10-
"spack_concretizer": "clingo",
1110
"spack_setup_clingo": false
1211
}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cmake_policy(SET CMP0025 NEW)
1111
include(CMakeDependentOption)
1212
include(CMakePackageConfigHelpers)
1313

14-
project(Chai LANGUAGES C CXX VERSION 2025.03.0)
14+
project(Chai LANGUAGES C CXX VERSION 2025.03.1)
1515
cmake_minimum_required(VERSION 3.23)
1616

1717
include(cmake/SetupChaiOptions.cmake)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[comment]: # (# SPDX-License-Identifier: BSD-3-Clause)
77
[comment]: # (#################################################################)
88

9-
# CHAI v2025.03.0
9+
# CHAI v2025.03.1
1010

1111
[![Azure Build Status](https://dev.azure.com/davidbeckingsale/CHAI/_apis/build/status/LLNL.CHAI?branchName=develop)](https://dev.azure.com/davidbeckingsale/CHAI/_build/latest?definitionId=2&branchName=develop)
1212
[![Build Status](https://travis-ci.org/LLNL/CHAI.svg?branch=develop)](https://travis-ci.org/LLNL/CHAI)

RELEASE_NOTES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ in this file.
1313

1414
The format of this file is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
1515

16+
## [Version 2025.03.1] - Release date 2025-06-23
17+
18+
### Changed
19+
- Updated to RAJA v2025.03.2
20+
- Use memcpy instead of umpire copy for CPU-only thin managed array realloc (allows tracking to be disabled).
21+
22+
### Fixed
23+
- Fixed ManagedArray::set when CHAI\_DISABLE\_RM=OFF and the initial space is not CPU.
24+
- Fixed memory leaks in ArrayManager.
25+
1626
## [Version 2025.03.0] - Release date 2025-03-19
1727

1828
### Added

docs/sphinx/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# The short X.Y version.
6464
version = u'2025.03'
6565
# The full version, including alpha/beta/rc tags.
66-
release = u'2025.03.0'
66+
release = u'2025.03.1'
6767

6868
# The language for content autogenerated by Sphinx. Refer to documentation
6969
# for a list of supported languages.

docs/sphinx/conf.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ author = u''
6262
# The short X.Y version.
6363
version = u'2025.03'
6464
# The full version, including alpha/beta/rc tags.
65-
release = u'2025.03.0'
65+
release = u'2025.03.1'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

scripts/gitlab/build_and_test.sh

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ push_to_registry=${PUSH_TO_REGISTRY:-true}
3333
# REGISTRY_TOKEN allows you to provide your own personal access token to the CI
3434
# registry. Be sure to set the token with at least read access to the registry.
3535
registry_token=${REGISTRY_TOKEN:-""}
36-
ci_registry_user=${CI_REGISTRY_USER:-"${USER}"}
3736
ci_registry_image=${CI_REGISTRY_IMAGE:-"czregistry.llnl.gov:5050/radiuss/chai"}
38-
ci_registry_token=${CI_JOB_TOKEN:-"${registry_token}"}
37+
export ci_registry_user=${CI_REGISTRY_USER:-"${USER}"}
38+
export ci_registry_token=${CI_JOB_TOKEN:-"${registry_token}"}
3939

4040
timed_message ()
4141
{
@@ -62,9 +62,7 @@ fi
6262

6363
if [[ -n ${module_list} ]]
6464
then
65-
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
66-
echo "~~~~~ Modules to load: ${module_list}"
67-
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
65+
timed_message "Modules to load: ${module_list}"
6866
module load ${module_list}
6967
fi
7068

@@ -84,7 +82,7 @@ then
8482
prefix="${prefix}-${job_unique_id}"
8583
else
8684
# We set the prefix in the parent directory so that spack dependencies are not installed inside the source tree.
87-
prefix="$(pwd)/../spack-and-build-root"
85+
prefix="${project_dir}/../spack-and-build-root"
8886
fi
8987

9088
echo "Creating directory ${prefix}"
@@ -146,7 +144,7 @@ then
146144
if [[ -n ${ci_registry_token} ]]
147145
then
148146
timed_message "GitLab registry as Spack Buildcache"
149-
${spack_cmd} -D ${spack_env_path} mirror add --unsigned --oci-username ${ci_registry_user} --oci-password ${ci_registry_token} gitlab_ci oci://${ci_registry_image}
147+
${spack_cmd} -D ${spack_env_path} mirror add --unsigned --oci-username-variable ci_registry_user --oci-password-variable ci_registry_token gitlab_ci oci://${ci_registry_image}
150148
fi
151149

152150
timed_message "Spack build of dependencies"
@@ -222,8 +220,18 @@ then
222220
mkdir -p ${build_dir} && cd ${build_dir}
223221

224222
timed_message "Building CHAI"
223+
# We set the MPI tests command to allow overlapping.
224+
# Shared allocation: Allows build_and_test.sh to run within a sub-allocation (see CI config).
225+
# Use /dev/shm: Prevent MPI tests from running on a node where the build dir doesn't exist.
226+
cmake_options=""
227+
if [[ "${truehostname}" == "ruby" || "${truehostname}" == "poodle" ]]
228+
then
229+
cmake_options="-DBLT_MPI_COMMAND_APPEND:STRING=--overlap"
230+
fi
231+
225232
$cmake_exe \
226233
-C ${hostconfig_path} \
234+
${cmake_options} \
227235
-DCMAKE_INSTALL_PREFIX=${install_dir} \
228236
${project_dir}
229237
if ! $cmake_exe --build . -j ${core_counts[$truehostname]}
@@ -259,9 +267,9 @@ then
259267
echo "[Error]: No tests were found" && exit 1
260268
fi
261269

262-
timed_message "Preparing testing xml reports for export"
270+
timed_message "Preparing tests xml reports for export"
263271
tree Testing
264-
xsltproc -o junit.xml ${project_dir}/blt/tests/ctest-to-junit.xsl Testing/*/Test.xml
272+
xsltproc -o junit.xml ${project_dir}/scripts/radiuss-spack-configs/utilities/ctest-to-junit.xsl Testing/*/Test.xml
265273
mv junit.xml ${project_dir}/junit.xml
266274

267275
if grep -q "Errors while running CTest" ./tests_output.txt

scripts/make_release_tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
##############################################################################
88

99
TAR_CMD=gtar
10-
VERSION=2025.03.0
10+
VERSION=2025.03.1
1111

1212
git archive --prefix=chai-${VERSION}/ -o chai-${VERSION}.tar HEAD 2> /dev/null
1313

scripts/radiuss-spack-configs

0 commit comments

Comments
 (0)