Merge pull request #324 from 2decomp-fft/mathrack-patch-1 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: FastCI4Push_double | |
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 ~/.bashrc | |
source ~/.profile_github | |
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 ~/.bashrc | |
source ~/.profile_github | |
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 ~/.bashrc | |
source ~/.profile_github | |
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_Work/ADIOS2/build_install_gcc12_cpu/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 ~/.bashrc | |
source ~/.profile_github | |
module load intel | |
export export FC="mpiifort -fc=ifx" | |
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 | |