Skip to content

Update packages #1808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ variables:
# Use the service user workspace. Solves permission issues, stores everything
# at the same location whoever triggers a pipeline.
# CUSTOM_CI_BUILDS_DIR: "/usr/workspace/rajasa/gitlab-runner"
# Tells Gitlab to recursively update the submodules when cloning the project.
GIT_SUBMODULE_STRATEGY: recursive
# Submodules: We don't need to fetch dependencies handled by Spack.
GIT_SUBMODULE_STRATEGY: normal
GIT_SUBMODULE_DEPTH: 1
GIT_SUBMODULE_UPDATE_FLAGS: --jobs 3
GIT_SUBMODULE_PATHS: tpl/desul scripts/radiuss-spack-configs scripts/uberenv

##### PROJECT VARIABLES
MP_BRANCH: "develop"
Expand Down
1 change: 0 additions & 1 deletion .gitlab/custom-jobs-and-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ variables:
# Configuration shared by build and test jobs specific to this project.
# Not all configuration can be shared. Here projects can fine tune the
# CI behavior.
# See Umpire for an example (export junit test reports).
.custom_job:
artifacts:
reports:
Expand Down
8 changes: 4 additions & 4 deletions .gitlab/jobs/tioga.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ cce_17_0_1:
SPEC: "${PROJECT_TIOGA_VARIANTS} %cce@=17.0.1 ${PROJECT_TIOGA_DEPS}"
extends: .job_on_tioga

rocmcc_6_3_0_hip_desul_atomics:
rocmcc_6_3_1_hip_desul_atomics:
variables:
SPEC: "~shared +rocm ~openmp +desul +tests amdgpu_target=gfx90a %rocmcc@=6.3.0 ^hip@6.3.0"
SPEC: "~shared +rocm ~openmp +desul +tests amdgpu_target=gfx90a %rocmcc@=6.3.1 ^hip@6.3.1"
extends: .job_on_tioga

rocmcc_6_3_0_hip_openmp:
rocmcc_6_3_1_hip_openmp:
variables:
SPEC: "~shared +rocm +openmp +omptask +tests amdgpu_target=gfx90a %rocmcc@=6.3.0 ^hip@6.3.0"
SPEC: "~shared +rocm +openmp +omptask +tests amdgpu_target=gfx90a %rocmcc@=6.3.1 ^hip@6.3.1"
extends: .job_on_tioga
3 changes: 1 addition & 2 deletions .uberenv_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"package_final_phase" : "initconfig",
"package_source_dir" : "../..",
"spack_url": "https://github.com/spack/spack.git",
"spack_branch": "develop-2025-02-09",
"spack_commit": "280017a9ba3f6a969743deca0eebc96e7c0e5cfd",
"spack_configs_path": "scripts/radiuss-spack-configs",
"spack_packages_path": "scripts/radiuss-spack-configs/packages",
"spack_concretizer": "clingo",
"spack_setup_clingo": false
}
24 changes: 16 additions & 8 deletions scripts/gitlab/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ push_to_registry=${PUSH_TO_REGISTRY:-true}
# REGISTRY_TOKEN allows you to provide your own personal access token to the CI
# registry. Be sure to set the token with at least read access to the registry.
registry_token=${REGISTRY_TOKEN:-""}
ci_registry_user=${CI_REGISTRY_USER:-"${USER}"}
ci_registry_image=${CI_REGISTRY_IMAGE:-"czregistry.llnl.gov:5050/radiuss/raja"}
ci_registry_token=${CI_JOB_TOKEN:-"${registry_token}"}
export ci_registry_user=${CI_REGISTRY_USER:-"${USER}"}
export ci_registry_token=${CI_JOB_TOKEN:-"${registry_token}"}

timed_message ()
{
Expand All @@ -59,9 +59,7 @@ fi

if [[ -n ${module_list} ]]
then
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~~~ Modules to load: ${module_list}"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
timed_message "Modules to load: ${module_list}"
module load ${module_list}
fi

Expand All @@ -81,7 +79,7 @@ then
prefix="${prefix}-${job_unique_id}"
else
# We set the prefix in the parent directory so that spack dependencies are not installed inside the source tree.
prefix="$(pwd)/../spack-and-build-root"
prefix="${project_dir}/../spack-and-build-root"
fi

echo "Creating directory ${prefix}"
Expand Down Expand Up @@ -126,7 +124,7 @@ then
if [[ -n ${ci_registry_token} ]]
then
timed_message "GitLab registry as Spack Buildcache"
${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}
${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}
fi

timed_message "Spack build of dependencies"
Expand Down Expand Up @@ -202,8 +200,18 @@ then
mkdir -p ${build_dir} && cd ${build_dir}

timed_message "Building RAJA"
# We set the MPI tests command to allow overlapping.
# Shared allocation: Allows build_and_test.sh to run within a sub-allocation (see CI config).
# Use /dev/shm: Prevent MPI tests from running on a node where the build dir doesn't exist.
cmake_options=""
if [[ "${truehostname}" == "ruby" || "${truehostname}" == "poodle" ]]
then
cmake_options="-DBLT_MPI_COMMAND_APPEND:STRING=--overlap"
fi

$cmake_exe \
-C ${hostconfig_path} \
${cmake_options} \
-DCMAKE_INSTALL_PREFIX=${install_dir} \
${project_dir}
if ! $cmake_exe --build . -j ${core_counts[$truehostname]}
Expand Down Expand Up @@ -241,7 +249,7 @@ then

timed_message "Preparing tests xml reports for export"
tree Testing
xsltproc -o junit.xml ${project_dir}/blt/tests/ctest-to-junit.xsl Testing/*/Test.xml
xsltproc -o junit.xml ${project_dir}/scripts/radiuss-spack-configs/utilities/ctest-to-junit.xsl Testing/*/Test.xml
mv junit.xml ${project_dir}/junit.xml

if grep -q "Errors while running CTest" ./tests_output.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/radiuss-spack-configs
Submodule radiuss-spack-configs updated 68 files
+46 −0 .gitlab-ci.yml
+97 −0 .gitlab/corona.yml
+64 −0 .gitlab/lassen.yml
+93 −0 .gitlab/poodle.yml
+99 −0 .gitlab/ruby.yml
+42 −0 .gitlab/scripts/get-spack
+16 −0 .gitlab/scripts/print-variables
+14 −0 .gitlab/scripts/remove-spack
+24 −0 .gitlab/spack/ci-script.sh
+70 −0 .gitlab/spack/ci.yaml
+1 −0 .gitlab/spack/envs/cached-cmake/corona
+1 −0 .gitlab/spack/envs/cached-cmake/lassen
+1 −0 .gitlab/spack/envs/cached-cmake/packages
+25 −0 .gitlab/spack/envs/cached-cmake/pipeline.yml
+1 −0 .gitlab/spack/envs/cached-cmake/poodle
+1 −0 .gitlab/spack/envs/cached-cmake/repo.yaml
+1 −0 .gitlab/spack/envs/cached-cmake/ruby
+96 −0 .gitlab/spack/envs/cached-cmake/spack.yaml
+1 −0 .gitlab/spack/envs/cached-cmake/tioga
+1 −0 .gitlab/spack/envs/shared-ci/corona
+1 −0 .gitlab/spack/envs/shared-ci/lassen
+1 −0 .gitlab/spack/envs/shared-ci/packages
+25 −0 .gitlab/spack/envs/shared-ci/pipeline.yml
+1 −0 .gitlab/spack/envs/shared-ci/poodle
+1 −0 .gitlab/spack/envs/shared-ci/repo.yaml
+1 −0 .gitlab/spack/envs/shared-ci/ruby
+82 −0 .gitlab/spack/envs/shared-ci/spack.yaml
+1 −0 .gitlab/spack/envs/shared-ci/tioga
+20 −0 .gitlab/spack/generate-script.sh
+21 −0 .gitlab/spack/reindex-corona.yml
+18 −0 .gitlab/spack/reindex-lassen.yml
+14 −0 .gitlab/spack/reindex-override.yml
+19 −0 .gitlab/spack/reindex-poodle.yml
+19 −0 .gitlab/spack/reindex-ruby.yml
+18 −0 .gitlab/spack/reindex-script.sh
+21 −0 .gitlab/spack/reindex-tioga.yml
+97 −0 .gitlab/tioga.yml
+58 −0 .gitlab/variables.yml
+23 −0 RELEASE_NOTES.md
+20 −98 blueos_3_ppc64le_ib/compilers.yaml
+38 −46 blueos_3_ppc64le_ib/lassen/packages.yaml
+37 −47 blueos_3_ppc64le_ib/packages.yaml
+97 −0 docs/sphinx/ci_implementation/index.rst
+2 −1 docs/sphinx/conf.py
+9 −4 docs/sphinx/index.rst
+3 −3 docs/sphinx/user_guide/build_and_test.rst
+1 −1 docs/sphinx/user_guide/how_to.rst
+2 −2 docs/sphinx/user_guide/index.rst
+1 −1 docs/sphinx/user_guide/use_spack.rst
+1 −1 gitlab/radiuss-jobs/lassen.yml
+2 −2 gitlab/radiuss-jobs/tioga.yml
+1 −0 packages/blt/package.py
+11 −22 packages/camp/package.py
+13 −13 packages/care/package.py
+8 −2 packages/chai/package.py
+67 −0 packages/quandary/package.py
+5 −1 packages/raja-perf/package.py
+14 −1 packages/raja/package.py
+16 −1 packages/umpire/package.py
+0 −13 toss_4_x86_64_ib/compilers.yaml
+49 −145 toss_4_x86_64_ib/corona/packages.yaml
+56 −152 toss_4_x86_64_ib/packages.yaml
+31 −31 toss_4_x86_64_ib/poodle/packages.yaml
+31 −31 toss_4_x86_64_ib/ruby/packages.yaml
+6 −136 toss_4_x86_64_ib_cray/compilers.yaml
+120 −162 toss_4_x86_64_ib_cray/packages.yaml
+120 −162 toss_4_x86_64_ib_cray/tioga/packages.yaml
+62 −0 utilities/ctest-to-junit.xsl