forked from CFD-GO/TCLB
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
251 changed files
with
119,016 additions
and
11,612 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
ignore: | ||
- "**/pugi*" # ignore pugixml | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
threshold: 100% |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "Big (R+VTK)", | ||
"image": "cfdgo/tclb:ubuntu-22.04-big", | ||
"postCreateCommand": "make configure && ./configure --disable-cuda --enable-cpu-layout --with-openmp", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"REditorSupport.r", | ||
"CFD-GO.tclb-helper" | ||
] | ||
} | ||
} | ||
} |
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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: TESTS | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
- solid | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install dependencies | ||
uses: ./.github/actions/install | ||
with: | ||
essentials: true | ||
r: false | ||
rdep: false | ||
cuda: false | ||
hip: false | ||
openmpi: false | ||
lcov: true | ||
- name: Compile | ||
shell: bash | ||
run: | | ||
cd tests/${{ matrix.test }} | ||
make ADD_FLAGS="-fprofile-arcs -ftest-coverage" | ||
- name: Run | ||
shell: bash | ||
run: | | ||
cd tests/${{ matrix.test }} | ||
make run | ||
- name: Gather coverage data | ||
uses: ./.github/actions/coverage | ||
id: coverage | ||
- name: Send coverage data | ||
uses: codecov/codecov-action@v3 | ||
if: steps.coverage.outputs.reports != '' | ||
with: | ||
files: ${{ steps.coverage.outputs.reports }} | ||
flags: ${{ matrix.model }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: RInside | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
model: | ||
- d2q9 | ||
precision: | ||
- float | ||
- double | ||
arch: | ||
- cpu | ||
- cuda | ||
- hip | ||
include: | ||
- precision: "double" | ||
arch: "cpu" | ||
test: true | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: ${{ matrix.test }} | ||
- name: Install dependencies | ||
uses: ./.github/actions/install | ||
with: | ||
r: true | ||
rdep: true | ||
openmpi: true | ||
rinside: true | ||
reticulate: ${{ matrix.test }} | ||
cuda: ${{ matrix.arch == 'cuda' }} | ||
hip: ${{ matrix.arch == 'hip' }} | ||
- name: Configure | ||
uses: ./.github/actions/configure | ||
with: | ||
gpu: ${{ matrix.arch == 'cuda' }} | ||
hip: ${{ matrix.arch == 'hip' }} | ||
cuda_arch: sm_60 | ||
rinside: true | ||
paranoid: true | ||
precision: ${{ matrix.precision }} | ||
- name: Compile | ||
uses: ./.github/actions/compile | ||
with: | ||
model: ${{ matrix.model }} | ||
- if: matrix.test | ||
name: Run tests | ||
uses: ./.github/actions/test | ||
with: | ||
model: ${{ matrix.model }} | ||
tests: rinside |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,49 @@ | ||
*~ | ||
makefile.main | ||
output* | ||
Running*.log | ||
Running*.time | ||
aux | ||
CLB | ||
*.cbp | ||
Snap*.dat | ||
/*.xml | ||
# files generated during compilation: | ||
/makefile.main | ||
/CLB/ | ||
/config.* | ||
/configure | ||
src/test | ||
my/* | ||
|
||
# common temporary folders: | ||
aux/ | ||
tmp/ | ||
|
||
# common temporary files to ignore: | ||
*.cbp | ||
*.gcov | ||
*.gcda | ||
*.gcno | ||
wiki | ||
p | ||
*~ | ||
*.pyc | ||
*.ipynb_checkpoint* | ||
|
||
# IDE related files: | ||
.idea/ | ||
.vscode/ | ||
.Rproj.user | ||
*.Rproj | ||
|
||
# file generated during runs: | ||
output/ | ||
Snap*.dat | ||
/*.vtu | ||
/*.txt | ||
.idea/* | ||
*.ipynb_checkpoint* | ||
|
||
# files generated during tests: | ||
test-*/ | ||
Running*.log | ||
Running*.time | ||
|
||
# cluster & overlay: | ||
/p | ||
/.tclb/ | ||
|
||
# generated documentation files: | ||
/wiki | ||
/tools/.format/ | ||
|
||
# tidy home directory: [discard in overlay] | ||
/*.xml | ||
/*.csv | ||
update.sh | ||
/.overlay* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "TCLB_tests"] | ||
path = tests | ||
path = tests/external | ||
url = ../../CFD-GO/TCLB_tests.git |
Oops, something went wrong.