From b25b562b4ec90690794b6a44492cd8d719f38d8d Mon Sep 17 00:00:00 2001 From: David Galiffi Date: Tue, 19 Nov 2024 10:48:29 -0500 Subject: [PATCH] Update workflows --- .github/workflows/opensuse.yml | 10 +++--- .github/workflows/redhat.yml | 5 +-- .github/workflows/ubuntu-focal.yml | 55 ++++++++++++------------------ .github/workflows/ubuntu-jammy.yml | 5 +-- 4 files changed, 33 insertions(+), 42 deletions(-) diff --git a/.github/workflows/opensuse.yml b/.github/workflows/opensuse.yml index 36836733..b2c58ebb 100644 --- a/.github/workflows/opensuse.yml +++ b/.github/workflows/opensuse.yml @@ -60,9 +60,9 @@ jobs: command: | wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell - python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && - for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install numpy perfetto dataclasses; done + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && + for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done - name: Configure Env run: @@ -134,7 +134,7 @@ jobs: - name: CTest Artifacts if: failure() continue-on-error: True - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ctest-${{ github.job }}-${{ strategy.job-index }}-log path: | @@ -143,7 +143,7 @@ jobs: - name: Data Artifacts if: failure() continue-on-error: True - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: data-${{ github.job }}-${{ strategy.job-index }}-files path: | diff --git a/.github/workflows/redhat.yml b/.github/workflows/redhat.yml index 81065b80..ebdfbe03 100644 --- a/.github/workflows/redhat.yml +++ b/.github/workflows/redhat.yml @@ -64,8 +64,9 @@ jobs: wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && - for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install numpy perfetto dataclasses; done + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && + for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done - name: Install ROCm Packages if: ${{ matrix.rocm-version > 0 }} diff --git a/.github/workflows/ubuntu-focal.yml b/.github/workflows/ubuntu-focal.yml index 1b65e5e3..1371fc52 100644 --- a/.github/workflows/ubuntu-focal.yml +++ b/.github/workflows/ubuntu-focal.yml @@ -46,7 +46,7 @@ jobs: compiler: ['g++-7', 'g++-8'] lto: ['OFF'] strip: ['OFF'] - python: ['ON'] + python: ['OFF'] build-type: ['Release'] mpi-headers: ['OFF'] static-libgcc: ['OFF'] @@ -93,12 +93,13 @@ jobs: add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt-get update && apt-get upgrade -y && - apt-get install -y build-essential m4 autoconf libtool python3-pip libiberty-dev clang libmpich-dev mpich environment-modules ${{ matrix.compiler }} && + apt-get install -y autoconf bison build-essential clang environment-modules gettext libiberty-dev libmpich-dev libtool m4 mpich python3-pip texinfo ${{ matrix.compiler }} && wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && - for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install numpy perfetto dataclasses; done && + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && + for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done apt-get -y --purge autoremove && apt-get -y clean && /opt/conda/bin/conda clean -y -a @@ -242,16 +243,10 @@ jobs: fail-fast: false matrix: compiler: ['g++'] - rocm-version: ['6.2'] - mpi-headers: ['OFF'] - build-jobs: ['3'] - ctest-exclude: ['-LE "mpi-example|transpose"'] - include: - - compiler: 'g++' - rocm-version: 'latest' - mpi-headers: 'ON' - build-jobs: '2' - ctest-exclude: '-LE transpose' + rocm-version: ['6.2', 'latest'] + mpi-headers: ['ON'] + build-jobs: ['2'] + ctest-exclude: ['-LE "transpose"'] env: BUILD_TYPE: MinSizeRel @@ -270,16 +265,18 @@ jobs: max_attempts: 5 command: | apt-get update && - apt-get install -y software-properties-common wget gnupg2 && + apt-get install -y gnupg2 software-properties-common wget && wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - && echo "deb [arch=amd64] https://repo.radeon.com/rocm/apt/${{ matrix.rocm-version }}/ ubuntu main" | tee /etc/apt/sources.list.d/rocm.list && apt-get update && - apt-get install -y build-essential m4 autoconf libtool python3-pip clang libomp-dev ${{ matrix.compiler }} libudev1 libnuma1 rocm-dev rocm-utils rocm-smi-lib roctracer-dev rocprofiler-dev rccl-dev hip-base hsa-amd-aqlprofile hsa-rocr-dev hsakmt-roct-dev libpapi-dev curl libopenmpi-dev openmpi-bin libfabric-dev && + apt-get install -y autoconf bison build-essential clang curl gettext libfabric-dev libnuma1 libomp-dev libopenmpi-dev libpapi-dev libtool libudev1 m4 openmpi-bin python3-pip texinfo && + apt-get install -y rocm-dev && wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && - for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install numpy perfetto dataclasses; done && + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && + for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done apt-get -y --purge autoremove && apt-get -y clean && /opt/conda/bin/conda clean -y -a @@ -408,16 +405,6 @@ jobs: ompt: ['ON'] papi: ['ON'] deps: ['libtbb-dev libboost-{atomic,system,thread,date-time,filesystem,timer}-dev'] - include: - - compiler: 'g++' - mpi: 'nompi' - boost: 'ON' - tbb: 'ON' - build-type: 'Release' - python: 'ON' - ompt: 'OFF' - papi: 'OFF' - deps: '' env: ELFUTILS_DOWNLOAD_VERSION: 0.186 @@ -434,13 +421,14 @@ jobs: max_attempts: 5 command: | sudo apt-get update && - sudo apt-get install -y build-essential m4 autoconf libtool python3-pip clang libomp-dev environment-modules ${{ matrix.deps }} ${{ matrix.compiler }} && + sudo apt-get install -y autoconf bison build-essential clang environment-modules gettext libomp-dev libtool m4 python3-pip texinfo ${{ matrix.compiler }} ${{ matrix.deps }} && if [ "${{ matrix.mpi }}" = "mpich" ]; then sudo apt-get install -y libmpich-dev mpich; fi && if [ "${{ matrix.mpi }}" = "openmpi" ]; then sudo apt-get install -y libopenmpi-dev openmpi-bin libfabric-dev; fi && wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && sudo apt-get -y --purge autoremove && sudo apt-get -y clean @@ -588,12 +576,13 @@ jobs: max_attempts: 5 command: | apt-get update && - apt-get install -y build-essential m4 autoconf libtool python3-pip clang libomp-dev environment-modules gcc g++ mpich libmpich-dev texinfo && + apt-get install -y autoconf bison build-essential clang environment-modules gcc g++ libmpich-dev libomp-dev libtool m4 mpich python3-pip texinfo && wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && - for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install numpy perfetto dataclasses; done && + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && + for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done apt-get -y --purge autoremove && apt-get -y clean && /opt/conda/bin/conda clean -y -a diff --git a/.github/workflows/ubuntu-jammy.yml b/.github/workflows/ubuntu-jammy.yml index 342d5544..a23cf360 100644 --- a/.github/workflows/ubuntu-jammy.yml +++ b/.github/workflows/ubuntu-jammy.yml @@ -113,8 +113,9 @@ jobs: wget https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v46.0/linux-amd64/trace_processor_shell -P /opt/trace_processor/bin && chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && - python3 -m pip install numpy perfetto dataclasses && - for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install numpy perfetto dataclasses; done + python3 -m pip install --upgrade numpy perfetto dataclasses && + python3 -m pip install 'cmake==3.18.4' && + for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done - name: Install ROCm Packages timeout-minutes: 25