Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
841d4e4
Update the CI file
rfj82982 Mar 19, 2024
5c37e5e
Update the CI file
rfj82982 Mar 19, 2024
80a1bf3
Update the CI file
rfj82982 Mar 19, 2024
077acfc
First commit to new CMake
rfj82982 Apr 12, 2024
05d749a
Initial modifications to CMake build
rfj82982 May 10, 2024
c84b283
Update gitignore not to track build dirs
rfj82982 May 10, 2024
0e5560f
Reshape the CMake build for OPS/C retionalising the build of a target
rfj82982 Jun 14, 2024
fcda57d
Add the Python3 translator
rfj82982 Jun 14, 2024
f1598d9
Full CMake rewrite including CTest.
rfj82982 Jun 20, 2024
d39d69a
Adding missing file
rfj82982 Jun 20, 2024
9a3908d
Add sequential targets to the poisson example
rfj82982 Jun 21, 2024
c9d572d
Update the Gitlab CI
rfj82982 Jun 27, 2024
c6e1e89
Add OmpeMP offload
rfj82982 Jun 29, 2024
4a751e5
Update CMake build for mpi_cuda
rfj82982 Jul 8, 2024
1060c80
Update the CI
rfj82982 Jul 8, 2024
ed8a256
Fix CTest and update the CI
rfj82982 Aug 23, 2024
f5e0d8c
Add all APPS to CTest. Split of Tests with possibility to control OMP
rfj82982 Aug 24, 2024
96590e4
Update the CI with NVHPC
rfj82982 Aug 24, 2024
e633987
rebase with develop
Ashutosh-Londhe Aug 29, 2024
9144874
added OpenMP4.5 APIs to test with cray compiler
Ashutosh-Londhe Oct 16, 2024
9a7c7cd
Add OpenSBLI to CI
rfj82982 Oct 30, 2024
b0f4628
Merge branch 'test_runner' of github.com:OP-DSL/OPS into test_runner
rfj82982 Oct 30, 2024
b1e887f
test clone locally
rfj82982 Oct 30, 2024
c474cbe
test clone locally
rfj82982 Oct 30, 2024
c89a900
test clone locally
rfj82982 Oct 30, 2024
d35d216
Update CI
rfj82982 Oct 30, 2024
0f203ca
Update path for OPS install location
rfj82982 Oct 30, 2024
6beeca6
Update the CI
rfj82982 Oct 31, 2024
bb4114c
Merge branch 'develop' into test_runner
rfj82982 Nov 27, 2024
fd2e150
Fix bug in listing the linking libraries for OPS targets
rfj82982 Dec 2, 2024
76b8f0f
Add OMP offload and HIP to CMake
rfj82982 Feb 21, 2025
ffef64c
Add deactivation of OMP for NVHPC above 23.1
rfj82982 Mar 10, 2025
91947ad
Update OMP offload build
rfj82982 Apr 16, 2025
d816e3b
updated sycl rt support for mixed precision copy routines
Jun 30, 2025
287202a
added f2c_sycl target, all fortran apps passed. f2c_mpi_sycl remaining
Jul 3, 2025
51e566e
added support to build mpi_sycl in Fortran backend library and apps
Jul 9, 2025
55e1898
combined intel-sycl and icx to single compiler make
Jul 15, 2025
de531f6
Merge branch 'develop' into feature/ops_f2c_sycl
Jul 23, 2025
a4b3771
Merge branch 'develop' into test_runner
rfj82982 Jul 29, 2025
00be64a
Merge remote-tracking branch 'origin/feature/ops_f2c_sycl' into test_…
rfj82982 Jul 29, 2025
91ac272
Add GitHub runner
rfj82982 Jul 29, 2025
bab6823
Add GNU13 to Fast CI
rfj82982 Jul 29, 2025
a34eb74
Update MPI and Intel Compilers Flags
rfj82982 Oct 8, 2025
97250d6
Merge branch 'develop' into test_nunner_merge
rfj82982 Oct 8, 2025
3a89b75
Add linking to nvidia-ml lib for CUDA libraries
rfj82982 Oct 8, 2025
e2ef2eb
Update CMake for Fortran
rfj82982 Nov 15, 2025
06bc874
Merge branch 'develop' into test_runner_merge_dev
rfj82982 Apr 28, 2026
9eabb33
Update YML script
rfj82982 Aug 19, 2026
15c6dec
Merge branch 'test_runner_merge' of github.com:OP-DSL/OPS into test_r…
rfj82982 Aug 19, 2026
f0b5106
Redure the number to treads to build GCC
rfj82982 Aug 20, 2026
7a3327b
Add back C++ tests
rfj82982 Aug 24, 2026
368025d
Do not Run NVHPC tests
rfj82982 Aug 24, 2026
7c3eaf8
Remove some dubug print
rfj82982 Sep 3, 2026
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
52 changes: 52 additions & 0 deletions .github/workflows/RunnerFastCI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This is a basic workflow to help you get started with Actions
name: FastCI4Push

defaults:
run:
shell: bash

# Controls when the action will run. Triggers the workflow on pull request
# events but only for the master branch
on: [push, fork]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
FastCI4Push:
# The type of runner that the job will run on
runs-on: [self-hosted, linux, x64]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
clean: true

# Configure-Build-Test
- name: Compile-Test NHVHPC
run: |
ls -ltr ~/.bashrc
source /etc/profile.d/lmod.sh
source ~/.bash_aliases
module load nvhpc
export CXX=mpicxx
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=./build/opt -DCMAKE_BUILD_TYPE=Release -DLEGACY_CODEGEN=OFF -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
cmake --build build -j 12
cmake --install build
#ctest --test-dir build --output-on-failure
rm -rf build

# Configure-Build-Test
- name: Compile-Test GCC13
run: |
ls -ltr ~/.bashrc
source /etc/profile.d/lmod.sh
source ~/.bash_aliases
module load OpenMPI
module load CUDA
export CXX=mpicxx
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=./build/opt -DCMAKE_CUDA_HOST_COMPILER=gcc-11 -DCMAKE_BUILD_TYPE=Release -DLEGACY_CODEGEN=OFF -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
cmake --build build -j 8
cmake --install build
ctest --test-dir build --output-on-failure
rm -rf build
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ ops/fortran/mod
*.lst
tea*.in
.clang-format
build*
Build*
BUILD*

198 changes: 25 additions & 173 deletions .gitlab-ci.yml → .gitlab-ci.yml_nouse
Original file line number Diff line number Diff line change
@@ -1,193 +1,45 @@
# Defines stages which are to be executed
stages:
- API_CXX_Build
- API_FORTRAN_Build
- APPS_CXX_Build_and_Test
- APPS_FORTRAN_Build_and_Test
- test_gnu11
- test_nvhpc239

# Stage "API_Build"
build:GNU11:API_CXX:
stage: API_CXX_Build
build_test_gnu11:
stage: test_gnu11
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load CUDA
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DGPU_ARCH=75
- cmake --build . -j 4
- cmake --install .
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-INSTALL
#- cmake -S . -B build -DCMAKE_INSTALL_PREFIX=./build/opt -DOPS_TEST_FULL=OFF
- cmake -S . -B build -DCMAKE_INSTALL_PREFIX=./build/opt -DOPS_TEST=OFF
- cmake --build build -j 6
- cmake --install build
- echo `pwd`
- echo $CI_PROJECT_DIR
- ctest --test-dir build --output-on-failure
#- mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts
#- ssh-keyscan -H bitbucket.org >> ~/.ssh/known_hosts
#- echo -e "machine bitbucket.org\nlogin gitlab-ci-token\npassword ${CI_JOB_TOKEN}" > ~/.netrc
- git config --global --add safe.directory /home/rfj82982/GIT/opensbli_jaxa.git
- git clone /home/rfj82982/GIT/opensbli_jaxa
- cd opensbli_jaxa
- git checkout UpdateTests
- git status
- ls $CI_PROJECT_DIR/build/opt
- ./RunTests.sh /usr/lib/x86_64-linux-gnu/hdf5/openmpi $CI_PROJECT_DIR/build/opt

build:GNU11:API_FORTRAN:
stage: API_FORTRAN_Build
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load CUDA
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DBUILD_OPS_CXX=OFF -DBUILD_OPS_FORTRAN=ON -DGPU_ARCH=75
- cmake --build .
- cmake --install .
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-INSTALL

# This is the latest easybuild based on GNU
build:foss:API_CXX:
stage: API_CXX_Build
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load foss CUDA
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DGPU_ARCH=75 -DCMAKE_CUDA_HOST_COMPILER=gcc-11
- cmake --build . -j 4
- cmake --install .
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-INSTALL

# Build with NVHPC compiler
build:NVHCP23:API_CXX:
stage: API_CXX_Build
build_test_nvhpc239:
stage: test_nvhpc239
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load nvhpc/23.9
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DGPU_ARCH=75
- cmake --build . -j 4
- cmake --install .
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-INSTALL

# Build with NVHPC compiler
build:NVHCP23:API_FORTRAN:
stage: API_FORTRAN_Build
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load nvhpc/23.9
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DBUILD_OPS_CXX=OFF -DBUILD_OPS_FORTRAN=ON -DGPU_ARCH=75
- cmake --build .
- cmake --install .
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-INSTALL

# Stage "Test"
build_and_test:GNU11:APPS_CXX:
stage: APPS_CXX_Build_and_Test
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load CUDA
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DBUILD_OPS_APPS=ON -DAPP_INSTALL_DIR=$CI_PROJECT_DIR/OPS-APP -DOPS_TEST=ON -DGPU_ARCH=75 -DGPU_NUMBER=1
- cmake --build . -j 4
- cmake --install .
# - ctest -V
- ctest
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-APP

build_and_test:GNU11:APPS_FORTRAN:
stage: APPS_FORTRAN_Build_and_Test
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load CUDA
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DBUILD_OPS_CXX=OFF -DBUILD_OPS_FORTRAN=ON -DBUILD_OPS_APPS=ON -DAPP_INSTALL_DIR=$CI_PROJECT_DIR/OPS-APP -DOPS_TEST=ON -DGPU_ARCH=75 -DGPU_NUMBER=1
- cmake --build .
- cmake --install .
# - ctest -V
- ctest
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-APP

build_and_test:NVHCP23:APPS_FORTRAN:
stage: APPS_FORTRAN_Build_and_Test
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load nvhpc/23.9
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DBUILD_OPS_CXX=OFF -DBUILD_OPS_FORTRAN=ON -DBUILD_OPS_APPS=ON -DAPP_INSTALL_DIR=$CI_PROJECT_DIR/OPS-APP -DOPS_TEST=ON -DGPU_ARCH=75 -DGPU_NUMBER=1
- cmake --build . --verbose
- cmake --install .
# - ctest -V
- ctest
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-INSTALL

build_and_test:foss:APPS_CXX:
stage: APPS_CXX_Build_and_Test
tags:
- CCP, test
script:
- source ~/.bash_aliases
- module avail
- module load foss CUDA
- export CXX=mpicxx
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/OPS-INSTALL -DBUILD_OPS_APPS=ON -DAPP_INSTALL_DIR=$CI_PROJECT_DIR/OPS-APP -DOPS_TEST=ON -DGPU_ARCH=75 -DCMAKE_CUDA_HOST_COMPILER=gcc-11 -DGPU_NUMBER=1
- cmake --build . -j 4
- cmake --install .
# - ctest -V
- ctest
artifacts:
expire_in: 1 week
paths:
- $CI_PROJECT_DIR/OPS-APP
#- cmake -S . -B build -DCMAKE_INSTALL_PREFIX=./build/opt -DOPS_TEST_FULL=ON -DOPS_TEST_DEV=ON -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/openmpi/
#- cmake --build build -j 6

# Build and Test with NVHPC compiler
#build_and_test:NVHCP23:APPS:
Expand Down
Loading
Loading