Skip to content

Tpetra: add is_unified_memory_space to Node #4519

Tpetra: add is_unified_memory_space to Node

Tpetra: add is_unified_memory_space to Node #4519

Workflow file for this run

name: AT2
on:
pull_request:
types:
- opened
- synchronize
workflow_dispatch:
# Cancels any in progress 'workflows' associated with this PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# actions: write needed by skip-duplicate-actions (handled below as per OpenSSF scorecard)
permissions:
contents: read
jobs:
# Jobs depend on the output of pre-checks to run.
# Cancels new workflows if prior runs were successful (same tree hash)
pre-checks:
runs-on: ubuntu-latest
# actions: write needed by skip-duplicate-actions
permissions:
actions: write
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5.3.1
with:
skip_after_successful_duplicate: 'true'
gcc10-openmpi4:
needs: pre-checks
runs-on: [self-hosted, gcc-10.4.0-openmpi-4.1.6, 20251023]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: Output ccache stats
run: |
bash -l -c "ccache --show-stats --verbose"
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
# Set up python-is-python3 hackery
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel8_gcc-openmpi_debug_shared_no-kokkos-arch_no-asan_complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_debug_shared \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=29 \
--num-concurrent-tests=16
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
clang19-openmpi4:
needs: pre-checks
runs-on: [self-hosted, clang-19.1.6-openmpi-4.1.6, 20250723]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: Output ccache stats
run: |
bash -l -c "ccache --show-stats --verbose"
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
# Set up python-is-python3 hackery
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel_clang-openmpi_release-debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_release-debug_shared \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=29 \
--num-concurrent-tests=16
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
cuda12:
needs: pre-checks
runs-on: [self-hosted, cuda-12.4.1-gcc-10.4.0-openmpi-4.1.6, 20250723, gpu:A100]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: Output ccache stats
run: |
bash -l -c "ccache --show-stats --verbose"
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel_cuda-12-gcc-openmpi_release_static_Ampere80_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
type python
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_release_static \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=56 \
--num-concurrent-tests=112 \
--slots-per-gpu=8
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
gcc14:
needs: pre-checks
runs-on: [self-hosted, gcc-14, 20250724]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: Output ccache stats
run: |
bash -l -c "ccache --show-stats --verbose"
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
# Set up python-is-python3 hackery
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel_gcc_release-debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_release-debug_shared \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=29 \
--num-concurrent-tests=16
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
cuda12-uvm:
needs: pre-checks
runs-on: [self-hosted, cuda-12.4.1-gcc-10.4.0-openmpi-4.1.6, 20250723]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: Output ccache stats
run: |
bash -l -c "ccache --show-stats --verbose"
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel_cuda-gcc-openmpi_release_static_Ampere80_no-asan_complex_no-fpic_mpi_pt_no-rdc_uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
type python
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_release_static_uvm \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=56 \
--skip-run-tests
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
oneapi2024:
needs: pre-checks
runs-on: [self-hosted, oneapi-2024.2, 20251007]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
# Set up python-is-python3 hackery
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel_oneapi-intelmpi_release-debug_shared_no-kokkos-arch_no-asan_no-complex_fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_release-debug_shared \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=29 \
--num-concurrent-tests=16
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
openmp:
needs: pre-checks
runs-on: [self-hosted, gcc-10.4.0-openmpi-4.1.6, 20251023]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: Output ccache stats
run: |
bash -l -c "ccache --show-stats --verbose"
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
# Set up python-is-python3 hackery
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel8_gcc-openmpi-openmp_release-debug_static_no-kokkos-arch_no-asan_no-complex_no-fpic_mpi_no-pt_no-rdc_no-uvm_deprecated-on_no-package-enables
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_release-debug_static_openmp \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--filename-packageenables ./packageEnables.cmake \
--max-cores-allowed=29 \
--num-concurrent-tests=16
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary
framework-tests:
needs: pre-checks
runs-on: [self-hosted, python-3.9, 20250811]
if: ${{ needs.pre-checks.outputs.should_skip != 'true' && (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.review.state == 'APPROVED') }}
steps:
- name: env
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
env
- name: module list
shell: bash
run: |
bash -l -c "module list"
printenv PATH
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- name: make dirs
working-directory: /
run: |
mkdir -p /home/Trilinos/src/Trilinos
mkdir -p /home/Trilinos/build
- name: Clone trilinos
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Repo status
run: |
git fetch --all
pwd
ls -lhat
git status
git branch -vv
git branch -a
- name: get dependencies
working-directory: ./packages/framework
run: |
bash -l -c "./get_dependencies.sh"
- name: PullRequestLinuxDriverTest.py
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
mkdir bin
pushd bin
ln -s $(type -p python3) python
export PATH=$(pwd):${PATH}
popd
export TRILINOS_DIR=${GITHUB_WORKSPACE:?}
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/GenConfig
export PYTHONPATH=${PYTHONPATH}:${TRILINOS_DIR}/packages/framework/pr_tools
export GENCONFIG_BUILD_NAME=rhel8_python_debug_shared_no-kokkos-arch_no-asan_no-complex_no-fpic_no-mpi_no-pt_no-rdc_no-uvm_deprecated-on_pr-framework
printf "\n\n\n"
echo "image: ${AT2_IMAGE_FULLPATH:-${AT2_IMAGE:-unknown}}"
type python
python3 ${GITHUB_WORKSPACE}/packages/framework/pr_tools/PullRequestLinuxDriverTest.py \
--target-branch-name ${{ github.event.pull_request.base.ref }} \
--genconfig-build-name ${GENCONFIG_BUILD_NAME} \
--pullrequest-number ${{ github.event.pull_request.number }} \
--pullrequest-env-config-file ${GITHUB_WORKSPACE}/packages/framework/pr_tools/trilinos_pr.ini \
--pullrequest-gen-config-file ${GITHUB_WORKSPACE}/packages/framework/GenConfig/src/gen-config.ini \
--workspace-dir /home/runner/_work/Trilinos \
--source-dir ${GITHUB_WORKSPACE} \
--build-dir /home/Trilinos/build \
--dashboard-build-name=PR-${{ github.event.pull_request.number }}_${AT2_IMAGE}_framework-tests \
--ctest-driver /home/runner/_work/Trilinos/Trilinos/cmake/SimpleTesting/cmake/ctest-driver.cmake \
--ctest-drop-site sems-cdash-son.sandia.gov/cdash \
--filename-subprojects ./package_subproject_list.cmake \
--skip-create-packageenables
- name: Copy artifacts
if: success() || failure()
shell: bash -l {0}
working-directory: /home/Trilinos/build
run: |
cp ./packageEnables.cmake /home/runner/artifacts/
cp ./configure_command.txt /home/runner/artifacts/
cp ./genconfig_build_name.txt /home/runner/artifacts/
- name: Upload artifacts
if: success() || failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
with:
name: ${{ github.job }}-artifacts
path: /home/runner/artifacts/*
retention-days: 90
- name: Write Summary
if: ${{ !cancelled() }}
uses: ./.github/workflows/actions/summary