Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on:
jobs:
ubuntu-gcc-build-perf-stats:
runs-on: ubuntu-24.04
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -25,6 +28,8 @@ jobs:
env:
PPC_NUM_PROC: 2
PPC_NUM_THREADS: 2
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
- name: Archive results
working-directory: build
run: zip -r ../perf-stat.zip perf_stat_dir
Expand Down
129 changes: 66 additions & 63 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
jobs:
gcc-build:
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
Expand All @@ -14,9 +19,7 @@ jobs:
submodules: recursive
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down Expand Up @@ -57,16 +60,19 @@ jobs:
needs:
- gcc-build
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -76,9 +82,11 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-gcc-install-${{ matrix.os }}.tar.gz -C install
- name: Run func tests (MPI)
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4 --additional-mpi-args="--oversubscribe"
env:
PPC_NUM_THREADS: 1
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
- name: Run func tests (threads)
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
Expand All @@ -87,16 +95,19 @@ jobs:
needs:
- gcc-test
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -111,20 +122,18 @@ jobs:
PPC_NUM_PROC: 1
clang-build:
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20 all
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down Expand Up @@ -157,18 +166,16 @@ jobs:
needs:
- clang-build
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20 all
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -178,9 +185,11 @@ jobs:
mkdir -p install
tar -xzvf ubuntu-clang-install-${{ matrix.os }}.tar.gz -C install
- name: Run func tests (MPI)
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
run: scripts/run_tests.py --running-type="processes" --counts 1 2 3 4 --additional-mpi-args="--oversubscribe"
env:
PPC_NUM_THREADS: 1
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
- name: Run tests (threads)
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
Expand All @@ -189,18 +198,16 @@ jobs:
needs:
- clang-test
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20 all
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -217,21 +224,18 @@ jobs:
needs:
- clang-build
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y ninja-build python3-pip \
openmpi-bin openmpi-common libopenmpi-dev
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20 all
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand Down Expand Up @@ -266,19 +270,16 @@ jobs:
needs:
- clang-sanitizer-build
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04"]
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y ninja-build python3-pip valgrind \
openmpi-bin openmpi-common libopenmpi-dev
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20 all
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -294,6 +295,8 @@ jobs:
PPC_ASAN_RUN: 1
ASAN_OPTIONS: abort_on_error=1
UBSAN_OPTIONS: halt_on_error=1
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
- name: Run tests (threads)
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
Expand All @@ -305,19 +308,16 @@ jobs:
needs:
- clang-sanitizer-test
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04"]
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y ninja-build python3-pip valgrind \
openmpi-bin openmpi-common libopenmpi-dev
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20 all
- name: Download installed package
uses: actions/download-artifact@v4
with:
Expand All @@ -336,15 +336,15 @@ jobs:
- gcc-test-extended
- clang-test-extended
runs-on: ubuntu-24.04
container:
image: ghcr.io/learning-process/ppc-ubuntu:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup environment
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y \
gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind gcovr
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
Expand All @@ -361,10 +361,12 @@ jobs:
run: |
cmake --build build --parallel
- name: Run tests (MPI)
run: scripts/run_tests.py --running-type="processes"
run: scripts/run_tests.py --running-type="processes" --additional-mpi-args="--oversubscribe"
env:
PPC_NUM_PROC: 2
PPC_NUM_THREADS: 2
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
- name: Run tests (threads)
run: scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
env:
Expand All @@ -373,7 +375,8 @@ jobs:
run: |
mkdir cov-report
cd build
gcovr -r ../ \
gcovr --gcov-executable `which gcov-14` \
-r ../ \
--exclude '.*3rdparty/.*' \
--exclude '/usr/.*' \
--exclude '.*tasks/.*/tests/.*' \
Expand Down
1 change: 0 additions & 1 deletion cmake/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ if(UNIX)
add_compile_options(
-Wpedantic
-Wpointer-arith
-Wcast-align
-Wwrite-strings
-Wswitch-enum
-Wnull-dereference
Expand Down
Loading