forked from 2decomp-fft/2decomp-fft
-
Notifications
You must be signed in to change notification settings - Fork 0
92 lines (83 loc) · 2.86 KB
/
RunnerFastCI.yml
File metadata and controls
92 lines (83 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# 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:
# This workflow contains a job called "bld_gnu_ompi"
Full_CI_workflow:
# 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@v3
with:
clean: true
# Configure-Build-Run-Run on 4 cores
- name: Compile NHVHPC CPU
run: |
ls -ltr ~/.bashrc
source /etc/profile.d/lmod.sh
source ~/.bash_aliases
module load nvhpc
export FC=mpif90
cmake -S . -B build -DBUILD_TESTING=ON
cmake -S . -B build -DMPIEXEC_MAX_NUMPROCS=4
cmake --build build -j 4
cmake --install build
ctest --test-dir build
rm -rf build
# Configure-Build-Run
- name: Compile NHVHPC GPU NCCL
run: |
ls -ltr ~/.bashrc
source /etc/profile.d/lmod.sh
source ~/.bash_aliases
module load nvhpc
export FC=mpif90
cmake -S . -B build -DBUILD_TESTING=ON -DBUILD_TARGET=gpu -DENABLE_NCCL=yes
cmake --build build -j 4
cmake --install build
ctest --test-dir build
rm -rf build
# Configure-Build-Run-Run on 4 cores
- name: Compile GNU_Dev openMPI FFTW_F03 ADIOS2 CPU
run: |
ls -ltr ~/.bashrc
source /etc/profile.d/lmod.sh
source ~/.bash_aliases
module load foss
export FC=mpif90
export CC=mpicc
export CXX=mpicxx
cmake -S . -B build -DCMAKE_BUILD_TYPE=Dev -DBUILD_TESTING=ON -DIO_BACKEND=adios2 -Dadios2_DIR=~/GIT/ADIOS2/build/build_foss2023b/opt/lib/cmake/adios2 -DFFT_Choice=fftw_f03
cmake -S . -B build -DMPIEXEC_MAX_NUMPROCS=4
cmake --build build -j 4
cmake --install build
ctest --test-dir build
rm -rf build
# Configure-Build-Run-Run on 4 cores
- name: Compile IntelLLVM MKL CPU
run: |
ls -ltr ~/.bashrc
source /etc/profile.d/lmod.sh
source ~/.bash_aliases
ml tbb
ml compiler-rt
ml oclfpga
ml compiler
ml mpi
ml mkl
export FC=mpiifx
export MKL_DIR=${MKLROOT}/lib/cmake/mkl
cmake -S . -B build -DCMAKE_BUILD_TYPE=Dev -DBUILD_TESTING=ON -DFFT_Choice=mkl
cmake -S . -B build -DMPIEXEC_MAX_NUMPROCS=4
cmake --build build -j 4
cmake --install build
ctest --test-dir build
rm -rf build