Skip to content

Commit

Permalink
Merge pull request #1 from ShatrovOA/dev
Browse files Browse the repository at this point in the history
Version 0.2.0 Released
  • Loading branch information
ShatrovOA authored Oct 24, 2024
2 parents e1cfbf5 + 2c08078 commit f9531fc
Show file tree
Hide file tree
Showing 104 changed files with 7,659 additions and 6,743 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: dtfft workflow

on: [push]
jobs:
open_mpi:
name: Open MPI with Coverage
runs-on: ubuntu-latest
steps:
- name: Get Requirements
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -q update
sudo apt-get -y install gfortran-10
sudo apt-get install libopenmpi-dev openmpi-bin
sudo apt-get install libfftw3-dev
export CTEST_OUTPUT_ON_FAILURE=1
- name: Checkout
uses: actions/checkout@v4
- name: Create Build Directory
run: mkdir build
- name: Setup and run tests
working-directory: ./build
run: |
cmake -DCMAKE_C_COMPILER=gcc-10 \
-DCMAKE_CXX_COMPILER=g++-10 \
-DCMAKE_Fortran_COMPILER=gfortran-10 \
-DCMAKE_BUILD_TYPE=Debug \
-DDTFFT_RUNNING_CICD=on \
-DDTFFT_WITH_FFTW=on \
-DDTFFT_MPI_VENDOR=openmpi \
-DDTFFT_BUILD_C_CXX_API=on ..
make
make coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

mpich_persistent:
name: MPICH with persistent communications
runs-on: ubuntu-latest
steps:
- name: Get Requirements
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -q update
sudo apt-get -y install gfortran-12
sudo apt-get install mpich libmpich-dev
sudo apt-get install libfftw3-dev
export CTEST_OUTPUT_ON_FAILURE=1
- name: Checkout
uses: actions/checkout@v4
- name: Create Build Directory
run: mkdir build
- name: Setup and run tests
working-directory: ./build
run: |
cmake -DCMAKE_C_COMPILER=gcc-12 \
-DCMAKE_CXX_COMPILER=g++-12 \
-DCMAKE_Fortran_COMPILER=gfortran-12 \
-DCMAKE_BUILD_TYPE=Debug \
-DDTFFT_RUNNING_CICD=on \
-DDTFFT_WITH_FFTW=on \
-DDTFFT_ENABLE_PERSISTENT_COMM=on \
-DDTFFT_BUILD_C_CXX_API=on ..
make
make coverage
37 changes: 32 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,43 @@
# MacOS files
.DS_Store

# Intel preprocessed
*.i90

# Coverage files
*.gcno
*.gcda
*.gcov

# Build directory
build/
build*/

# Generated api docs
doc/html/*
doc/html/*

# Distribution / packaging
.Python
env/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
__pycache__/


# Jupyter Notebook
.ipynb_checkpoints

# PyCharm Staff
.idea/
.fleet/

# MacOS staff
.DS_Store
46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit f9531fc

Please sign in to comment.