Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEKO v0.8.0 #1229

Merged
merged 1,005 commits into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1005 commits
Select commit Hold shift + click to select a range
39304d9
Update src/bc/field_dirichlet.f90
njansson Mar 20, 2024
4c9a703
Import field_ptr_t to the main module
timofeymukha Mar 21, 2024
bc95689
Facelift for field registry, add optional to add_field
timofeymukha Mar 21, 2024
2606de1
Rename optional argument to add_field
timofeymukha Mar 21, 2024
2a7a06d
Add field_writer
timofeymukha Mar 21, 2024
e832187
Disable CI checks on drafts.
timfelle Mar 21, 2024
0d456d7
Change argument inent in field_list append
timofeymukha Mar 21, 2024
916a944
Merge pull request #1191 from timfelle/cicd/disable_on_draft
njansson Mar 21, 2024
f723da8
Update doc/pages/simcomps.md
timofeymukha Mar 21, 2024
076d085
Update doc/pages/simcomps.md
timofeymukha Mar 21, 2024
11ea32e
Small fixes
timofeymukha Mar 21, 2024
450bbb7
Remove unused variables
timofeymukha Mar 21, 2024
3795018
pass case_t%params instead of case_t as constuctor of time_step_contr…
Shiyu-Sandy-Du Mar 21, 2024
e71bfd2
minor changes
Shiyu-Sandy-Du Mar 21, 2024
9b5a53c
minor changes
Shiyu-Sandy-Du Mar 21, 2024
eff9298
Merge pull request #1192 from ExtremeFLOW/feature/field_writer
njansson Mar 21, 2024
f1f980a
Update src/fluid/fluid_pnpn.f90
vbaconnet Mar 21, 2024
ffdc114
Merge branch 'develop' of github.com:ExtremeFLOW/neko into feature/fi…
vbaconnet Mar 21, 2024
ae7912b
Moved the min distance to the node rather than the aabb.
timfelle Mar 21, 2024
82fd744
Increase robustness when box is uninitialized.
timfelle Mar 21, 2024
74da7ca
Moved padding away from element specific operator.
timfelle Mar 21, 2024
cc5b606
Added support for meshes
timfelle Mar 21, 2024
d4c98d2
Crude implementation of the mesh transform for brinkman.
timfelle Mar 21, 2024
8c80e1e
Transform the bunny instead of the domain.
timfelle Mar 21, 2024
0d01030
Fix bug where distance function still used aabb fro min_distance even…
timfelle Mar 21, 2024
10a75a7
Fixed dependencies.
timfelle Mar 21, 2024
7a0b0ee
wrap up projection pre- and post-equation-solving
Shiyu-Sandy-Du Mar 22, 2024
aace7f1
delete mistakenly copied files
Shiyu-Sandy-Du Mar 22, 2024
53715c7
solving problem on ubuntu gfortran-10 compiler
Shiyu-Sandy-Du Mar 22, 2024
73adb31
Added getters for min and max corners
timfelle Mar 22, 2024
03877cd
Update example for new ksp interface
njansson Mar 22, 2024
55b66b4
Merge remote-tracking branch 'upstream/develop' into f2py_coupling
adperezm Mar 22, 2024
3faad53
Merge pull request #1174 from ExtremeFLOW/projection
njansson Mar 22, 2024
5e03a62
Merge pull request #1195 from adperezm/f2py_coupling
njansson Mar 22, 2024
d16c23d
Merge pull request #1194 from ExtremeFLOW/fix/poisson_example
njansson Mar 22, 2024
9f361c0
Fixed missing initialization in aabb
timfelle Mar 22, 2024
d67571c
Brinkman terms updates.
timfelle Mar 22, 2024
84f61f9
Update documentation
timfelle Mar 22, 2024
2133200
Update doc/pages/case-file.md
njansson Mar 22, 2024
e21fabc
Update doc/pages/case-file.md
njansson Mar 22, 2024
ea031aa
Merge commit 'd16c23db721af1d5d470b0f70b98310b0293090b' into enhancem…
timfelle Mar 22, 2024
484c053
Fix dangling pointers
njansson Mar 22, 2024
bc0a552
Merge with develop
njansson Mar 22, 2024
87d1276
debug projection to make simulation work without projection and remov…
Shiyu-Sandy-Du Mar 22, 2024
a225850
remove ifs in projection objects' construction
Shiyu-Sandy-Du Mar 23, 2024
46aef7c
Ensure bc_inflow is allocated before resolving its type
njansson Mar 23, 2024
2051c86
Merge pull request #1198 from ExtremeFLOW/projection_debug
njansson Mar 23, 2024
b15e298
Merge remote-tracking branch 'origin/develop' into fix/dangling_ptrs
njansson Mar 23, 2024
6e8e799
Merge remote-tracking branch 'origin/develop' into fix/fluid_validate
njansson Mar 23, 2024
2133c52
Cleanup
njansson Mar 23, 2024
5627076
Fix danling pointers in usr_neko
njansson Mar 23, 2024
44c7fe5
Fix dangling ptrs in simcomps
njansson Mar 23, 2024
473e9ce
Merge pull request #1199 from ExtremeFLOW/fix/fluid_validate
njansson Mar 23, 2024
72e777c
Merge pull request #1197 from ExtremeFLOW/fix/dangling_ptrs
njansson Mar 23, 2024
495d496
Merge pull request #1187 from timfelle/fix/tests
njansson Mar 24, 2024
58c3c36
Use field_writer in lambda2 and vorticity
timofeymukha Mar 24, 2024
c1607e3
Update depends
timofeymukha Mar 24, 2024
8165c61
Cleanup dead code
njansson Mar 24, 2024
8c45585
Added specific routines for double and single array options
timfelle Mar 25, 2024
9099b55
Merge pull request #1196 from timfelle/enhancement/stl_transform
njansson Mar 25, 2024
cf4b463
Merge pull request #1200 from ExtremeFLOW/feature/writing_simcomps
timofeymukha Mar 25, 2024
a57e24b
Merge branch 'develop' into feature/boussinesq_source
timofeymukha Mar 25, 2024
a3dce5e
Update depends
timofeymukha Mar 25, 2024
589eb8e
Merge pull request #1154 from ExtremeFLOW/feature/boussinesq_source
njansson Mar 25, 2024
9c13e3e
Merge pull request #1201 from ExtremeFLOW/fix/cleanup_projection
timofeymukha Mar 25, 2024
4ebf527
edit doc
vbaconnet Mar 25, 2024
a6691dc
free fields and bcs
vbaconnet Mar 25, 2024
0dcbc9c
Merge branch 'develop' of github.com:ExtremeFLOW/neko into feature/fi…
vbaconnet Mar 25, 2024
6b78ea3
edit dep
vbaconnet Mar 25, 2024
6d76394
Fix possible dis-cont. warnings
njansson Mar 25, 2024
8fd827e
small edits
vbaconnet Mar 26, 2024
bfbc2fc
Merge pull request #1202 from ExtremeFLOW/fix/cont_arrays
njansson Mar 26, 2024
fc561f3
Fix danling pointers in mesh
njansson Mar 26, 2024
3fc26cc
Harmonize factory module names
timofeymukha Mar 27, 2024
b3280a6
Try to fix Intel CI
njansson Mar 27, 2024
be3be19
Debug workflow
njansson Mar 27, 2024
da3440c
Debug workflow
njansson Mar 27, 2024
8943a22
Debug workflow
njansson Mar 27, 2024
0d3a767
Fixed a stochastic bug where the type would sometimes not be read cor…
timfelle Mar 27, 2024
891fe91
Update develop.yml
njansson Mar 27, 2024
82ac05c
Merge pull request #1208 from ExtremeFLOW/fix/ci-intel
njansson Mar 27, 2024
aaaca4b
Merge branch 'develop' into fix/mesh_dangling_ptrs
njansson Mar 27, 2024
1503cf6
Merge pull request #1206 from ExtremeFLOW/fix/mesh_dangling_ptrs
njansson Mar 27, 2024
4533b24
update example
vbaconnet Mar 27, 2024
1031c91
add global flag for max length of boundary labels
vbaconnet Mar 27, 2024
54bd717
add extra parameter to check if dirichlet_update is called from fluid…
vbaconnet Mar 27, 2024
ea13df6
Move dirichlet_update inside fluid and scalar
vbaconnet Mar 27, 2024
e947ca6
update depends
vbaconnet Mar 27, 2024
89bb9cc
Merge branch 'develop' of github.com:ExtremeFLOW/neko into feature/fi…
vbaconnet Mar 27, 2024
ed7285a
make CI happY
vbaconnet Mar 27, 2024
eb4c354
Update user_intf.f90
vbaconnet Mar 27, 2024
fb7d9d5
Some doc and example update
vbaconnet Mar 28, 2024
55a6b57
Merge branch 'feature/field_bcs' of github.com:ExtremeFLOW/neko into …
vbaconnet Mar 28, 2024
de84667
Use proper abscmp to check for 0.0_rp
njansson Mar 29, 2024
e2f5f6a
Merge pull request #1211 from ExtremeFLOW/fix/krylov_abscmp_checks
njansson Mar 30, 2024
50e7dcd
Merge commit 'e2f5f6ad7bc038b1d59ce7522f69200677549608' into fix/brin…
timfelle Mar 31, 2024
5bca5a0
Add "only" to places
timofeymukha Mar 31, 2024
c70f766
Modernize advection
timofeymukha Mar 31, 2024
dea7218
Fix module docstring
timofeymukha Mar 31, 2024
063bb3e
Copyright year
timofeymukha Mar 31, 2024
f8752e4
Merge branch 'develop' into fix/factory_modules
timofeymukha Apr 1, 2024
b4f1bd5
Promote coef to bc_t
timofeymukha Apr 1, 2024
49ec4c3
Trim down Dong bc constructor interface
timofeymukha Apr 1, 2024
df5e77f
Small fix in dong_outflow
timofeymukha Apr 1, 2024
c674bb7
Update src/fluid/fluid_pnpn.f90
timofeymukha Apr 2, 2024
319b0d9
Update src/fluid/fluid_pnpn.f90
timofeymukha Apr 2, 2024
2c0db41
Merge pull request #1209 from timfelle/fix/brinkman_term
timofeymukha Apr 2, 2024
0059870
Add mising imports
timofeymukha Apr 2, 2024
ac21fd0
fix bugs in average_field_in_space: allow avg on multiple time steps
Shiyu-Sandy-Du Apr 2, 2024
6de9c50
Remove unused shmem variable
njansson Apr 2, 2024
c9486a7
Finalize doc
vbaconnet Apr 2, 2024
08dc2fd
Merge pull request #1212 from ExtremeFLOW/fix/more_only
timofeymukha Apr 2, 2024
82576bb
Fix invalid, expensive sync in gmres
njansson Apr 2, 2024
f0eb47a
Introduction of a probe header.
timfelle Apr 3, 2024
fe40f96
Updated documentation of probes to include output format
timfelle Apr 3, 2024
0becdd2
Merge pull request #1221 from ExtremeFLOW/fix/gmres_gs_sync
njansson Apr 3, 2024
3389447
Merge branch 'develop' into feature/json_advection
timofeymukha Apr 3, 2024
7e8cce3
Fix use conflict
timofeymukha Apr 3, 2024
f482705
Add field%size
timofeymukha Apr 3, 2024
9babd41
Merge pull request #1223 from ExtremeFLOW/feature/field_size
njansson Apr 3, 2024
c3e2ea1
Merge pull request #1220 from ExtremeFLOW/fix/cleanup_cdtp
njansson Apr 3, 2024
392c2ab
Fix pressure dirichlet bc not added to the bc_list
vbaconnet Apr 3, 2024
58d93c6
finalize example
vbaconnet Apr 3, 2024
9ce886d
edit doc
vbaconnet Apr 3, 2024
8ac7c28
Merge branch 'develop' of github.com:ExtremeFLOW/neko into feature/fi…
vbaconnet Apr 3, 2024
9bcd3e5
Throw errors in scalar/vector apply
vbaconnet Apr 3, 2024
c415375
Update src/fluid/fluid_scheme.f90
njansson Apr 3, 2024
eaf61b9
Apply suggestions from code review
njansson Apr 3, 2024
65ebcdb
Merge pull request #1171 from ExtremeFLOW/fix/pc_jacobi_vector
njansson Apr 4, 2024
9e7155f
Merge pull request #1222 from timfelle/enhancement/probe_header
timofeymukha Apr 4, 2024
b519456
Merge branch 'develop' into feature/bc_interface
timofeymukha Apr 4, 2024
0ae37d1
Merge pull request #985 from ExtremeFLOW/feature/field_bcs
njansson Apr 4, 2024
b637887
Merge branch 'develop' into feature/bc_interface
timofeymukha Apr 4, 2024
a29d7c6
Merge
timofeymukha Apr 4, 2024
6d717d7
Merge pull request #1215 from ExtremeFLOW/feature/bc_interface
timofeymukha Apr 4, 2024
36d14ca
Merge pull request #1218 from ExtremeFLOW/fix/averaging_field_in_space
njansson Apr 4, 2024
fcc3964
Resolve merge conflicts
njansson Apr 4, 2024
8380df2
Fix build issues
njansson Apr 4, 2024
da56d60
Merge branch 'develop' into feature/json_advection
timofeymukha Apr 4, 2024
928c175
Fix leftover from merge
njansson Apr 4, 2024
cf7be6c
Merge pull request #1213 from ExtremeFLOW/feature/json_advection
njansson Apr 4, 2024
f54eb7c
Merge pull request #1207 from ExtremeFLOW/fix/factory_modules
timofeymukha Apr 4, 2024
7a0a6c4
Merge pull request #1216 from ExtremeFLOW/feature/slim_dong
njansson Apr 4, 2024
e649530
Restructure lambda2 routine, and fix calculation on SX
njansson Apr 5, 2024
cfd58d6
Add missing file
njansson Apr 5, 2024
393cd50
Make flint happy
njansson Apr 5, 2024
a504aff
Merge pull request #1224 from ExtremeFLOW/fix/lambda2_sx
njansson Apr 5, 2024
bafc24f
Updated cff file to include all authors
njansson Apr 5, 2024
a4f4df1
Update doi
njansson Apr 5, 2024
eb620d1
Merge pull request #1225 from ExtremeFLOW/fix/citation_authors
njansson Apr 5, 2024
d7053d2
Update publist, fixes #1188
njansson Apr 6, 2024
227aa60
Merge pull request #1227 from ExtremeFLOW/fix/publist
njansson Apr 6, 2024
d4f778a
Migrate authors info
njansson Apr 8, 2024
0d33afc
Create release branch for 0.8, with first release candidate
njansson Apr 8, 2024
cbd9b63
Sync with master
njansson Apr 8, 2024
06af899
Fixes from previous merge
njansson Apr 9, 2024
ccb4c11
More fixes after bad merge
njansson Apr 9, 2024
20149fa
Remove explicit mention of KTH
njansson Apr 12, 2024
a7b0916
Update release CI
njansson Apr 13, 2024
219b0b3
Update release CI
njansson Apr 13, 2024
cfb4fd3
Update release workflow
njansson Apr 13, 2024
07d76ba
Fix typo
njansson Apr 13, 2024
1bed765
Fix OpenCL build
njansson Apr 13, 2024
670dcbe
Fix math rendering for Brinkmann source term
njansson Apr 13, 2024
67305e9
reformat links for doxygen
vbaconnet Apr 15, 2024
03d8c56
Merge pull request #1233 from ExtremeFLOW/doc/fix-user-file-links
njansson Apr 15, 2024
b396d24
add TOC
vbaconnet Apr 15, 2024
57037a9
fix links
vbaconnet Apr 15, 2024
c46cf55
Add contributing.md to pages
vbaconnet Apr 15, 2024
5693008
fix link
vbaconnet Apr 15, 2024
2c3bfb0
Change title to html tags due to known Doxygen bug not resolving code…
vbaconnet Apr 15, 2024
95b4cf8
Revamping the documentation.
timfelle Apr 16, 2024
520051a
Adding a few more table of contents
timfelle Apr 16, 2024
ec3d8d9
Fix links on landing page
timfelle Apr 16, 2024
c2b9026
Update documentation.yml
njansson Apr 16, 2024
be7dff8
Update documentation.yml
njansson Apr 16, 2024
0047afd
Update documentation.yml
njansson Apr 16, 2024
bd28d1d
Update documentation.yml
njansson Apr 16, 2024
5cbe0ae
Link to headings instead of files
timfelle Apr 16, 2024
43181aa
Update links to publications
njansson Apr 16, 2024
45f6018
fixed mistake in appendices
timfelle Apr 16, 2024
ee8c76a
Update index.md with ref instead if md references
njansson Apr 16, 2024
16350da
Update appendices.md, fixed ref
njansson Apr 16, 2024
42c248a
Update appendices.md
njansson Apr 16, 2024
73772c3
Merge branch 'release/0.8' into doc/reformat-index-and-contrib
njansson Apr 16, 2024
e5b890c
add small extra explanations
vbaconnet Apr 16, 2024
180fc45
Updated Makefile.am
timfelle Apr 16, 2024
fc839f5
Don't do blank line
timfelle Apr 16, 2024
4fd74ac
Fix indentation bug
timfelle Apr 16, 2024
8480b4e
add link to statistics page
vbaconnet Apr 16, 2024
1b358bd
remove blank causing table to not render
vbaconnet Apr 16, 2024
c8fb121
Merge pull request #1235 from ExtremeFLOW/doc/reformat-index-and-contrib
njansson Apr 16, 2024
71a32df
Update main.yml
njansson Apr 16, 2024
2ec8a28
Update README.md
njansson Apr 17, 2024
3244051
Add marker for serial files, and fix deadlock, fixes #1239
njansson Apr 19, 2024
5ae21bc
Update rocm version
njansson Apr 19, 2024
1784cc6
Add missing call to padded version of Axhelm
njansson Apr 22, 2024
60b1451
Cleanup pnpn res device from invalid chars...
njansson Apr 22, 2024
ca4da4b
modify apply_vector to account for optional args
vbaconnet Apr 23, 2024
3f9c020
Merge pull request #1249 from ExtremeFLOW/fix/field-dirichlet-optiona…
timofeymukha Apr 23, 2024
cbb00ce
Fix plot script in scalar_mms
timofeymukha Apr 22, 2024
931591f
Fix invalid conversion when naming members of a field series
njansson Apr 26, 2024
2dd5ce8
Update main.yml
njansson Apr 29, 2024
93bea4b
Update main.yml
njansson Apr 29, 2024
3ba2961
Update documentation.yml
njansson Apr 29, 2024
cbf544f
Update main.yml
njansson Apr 29, 2024
27904d1
Update README.md
MartinKarp Apr 25, 2024
aa332bc
Update README.md
MartinKarp Apr 25, 2024
87ea75b
Update README.md
MartinKarp Apr 25, 2024
0e7fd66
Update README.md
MartinKarp Apr 25, 2024
1db74f4
Update README.md
MartinKarp Apr 25, 2024
2bbd1a8
Update README.md
MartinKarp Apr 25, 2024
457b78e
Update README.md
MartinKarp Apr 25, 2024
aa22220
Update README.md
MartinKarp Apr 25, 2024
c238d1d
Update README.md
MartinKarp Apr 25, 2024
9d78401
Update README.md
MartinKarp Apr 25, 2024
8360112
Update README.md
MartinKarp Apr 26, 2024
a042f64
Update README.md
MartinKarp Apr 26, 2024
72933c7
Update README.md
MartinKarp Apr 26, 2024
cde4ef4
Update README.md
MartinKarp Apr 26, 2024
3af5898
Update README.md
timofeymukha Apr 30, 2024
4157cd8
Update doc workflow
njansson May 1, 2024
31144af
Prevent memory issues during bc mark zones from list
njansson May 2, 2024
813564d
Fix regression in interface
njansson May 3, 2024
7ca777e
Add missing logic for
njansson Apr 30, 2024
1c57190
fixes
njansson May 3, 2024
a14401b
Fix invalid logic, preventing contrib from being built
njansson May 9, 2024
33cfaf6
Fix invalid dimension specification (overriden by array declaration)
njansson May 22, 2024
f9c1d0b
Update release CI
njansson May 22, 2024
a60891b
Fix reporting of ARM Neoverse V2 (eg. Nvidia Grace)
njansson May 27, 2024
4d03281
Use standard language constructs to guide vectorisation
njansson May 29, 2024
e91b172
Fix some more loops
njansson May 29, 2024
294c4c0
Bump version
njansson Jun 2, 2024
7bd983f
some initial draft
Jun 6, 2024
163cc49
add little text
Jun 6, 2024
bc1dae8
Update doc/pages/user-guide/statistics-guide.md
MartinKarp Jun 6, 2024
644068f
Update doc/pages/user-guide/statistics-guide.md
MartinKarp Jun 6, 2024
c421859
Update doc/pages/user-guide/statistics-guide.md
MartinKarp Jun 6, 2024
e97465a
typos
Jun 6, 2024
7a1a620
fix roccm version
timfelle Jun 13, 2024
6cfc8a0
Remove release from main cI again. we do not want to run the document…
timfelle Jun 13, 2024
f478d80
develop CI must also be updated to the new rocm to be able to merge i…
timfelle Jun 13, 2024
0f6c66f
Fix the `dist` steps as well
timfelle Jun 13, 2024
a4a3956
Merge pull request #1309 from timfelle/fix/main-ci
njansson Jun 13, 2024
af20fd2
Fix typo in code snippet
vbaconnet Jun 26, 2024
ace818a
Fix more typo in code snippet
vbaconnet Jun 26, 2024
4ba9c18
Backport CI fixes for Intel
njansson Jun 27, 2024
3918fc8
Bump version
njansson Jul 5, 2024
f56d046
Fix invalid links in documentation
njansson Jul 7, 2024
c3650f5
Fix order in cff file
njansson Jul 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .github/workflows/citation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
# push:
# paths:
# - CITATION.cff
workflow_dispatch:

name: CITATION.cff
jobs:
Validate-CITATION-cff:
runs-on: ubuntu-latest
name: Validate CITATION.cff
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate CITATION.cff
uses: dieghernan/cff-validator@v3
102 changes: 72 additions & 30 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,54 @@
name: develop

# Controls when the action will run.
# Controls when the action will run.
on:
pull_request:
branches: [develop,release/*]
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:

jobs:
is_draft:
name: Check if PR is a draft
if: github.event.pull_request.draft == true

runs-on: ubuntu-latest
steps:
- name: Check if PR is a draft
run: echo "This PR is a draft"

linting:
name: "Flint"
if: github.event.pull_request.draft != true
runs-on: ubuntu-20.04
steps:
- name: Setup env.
run: |
sudo apt-get update && sudo apt-get install -yq python3-dev python3-pip python3-tk
pip install nobvisual==0.2.0 flinter==0.4.0
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Lint
run: |
flint score src/ -d 10 -r flinter_rc.yml | tee flint.txt
score=$(awk '$1==0{print $3}' flint.txt)
if (( $(echo "$score < 8.13" |bc -l) )) ; then
if (( $(echo "$score < 8.06" |bc -l) )) ; then
exit 1
fi
- name: Archive linter report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: flint-report
path: flint.txt
retention-days: 5
GNU:
if: github.event.pull_request.draft != true
needs: linting
runs-on: ${{matrix.os}}
strategy:
Expand All @@ -58,7 +74,7 @@ jobs:
include:
- os: ubuntu-20.04
setup-env: |
sudo apt-get update && sudo apt-get install -y openmpi-bin libopenmpi-dev autoconf automake autotools-dev libopenblas-dev make git m4 python3 cmake-curses-gui
sudo apt-get update && sudo apt-get install -y openmpi-bin libopenmpi-dev autoconf automake autotools-dev libopenblas-dev make git m4 python3 cmake-curses-gui
- os: macos-13
setup-env: export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 && brew install openmpi && brew install automake && brew install gcc@11 && brew install gcc@12
env:
Expand All @@ -74,7 +90,7 @@ jobs:
run: ${{ matrix.setup-env }}
- name: Cache pFUnit
id: cache-pfunit
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pkg/pfunit
key: pfunit-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}
Expand All @@ -96,14 +112,14 @@ jobs:
+ error stop '*** Encountered 1 or more failures/errors during testing. ***'
#endif
end if

_ACEOF
git apply pfunit_error_stop.patch && mkdir b && cd b
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/pkg/pfunit ..
make -j$(nproc) && make install && cd ../../
- name: Cache json-fortran
id: cache-json-fortran
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pkg/json-fortran
key: json-fortran-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}
Expand All @@ -121,36 +137,36 @@ jobs:
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${HOME}/pkg/json-fortran/lib/pkgconfig/" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/pkg/json-fortran/lib/" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build (CPU backend)
if: matrix.backend == 'cpu'
run: |
echo $PKG_CONFIG_PATH
./regen.sh
./regen.sh
./configure FC=${FC} FCFLAGS="-O2 -pedantic -std=f2008" --with-pfunit=${HOME}/pkg/pfunit/PFUNIT-4.4 --enable-real=${RP}
make -j$(nproc)
- name: Build (CUDA backend)
- name: Build (CUDA backend)
if: matrix.backend == 'cuda'
run: |
sudo apt-get install -y nvidia-cuda-toolkit
./regen.sh
./regen.sh
./configure FC=${FC} FCFLAGS="-O2 -pedantic -std=f2008" --enable-real=${RP} --with-cuda=/usr
make -j$(nproc)
- name: Build (HIP backend)
- name: Build (HIP backend)
if: matrix.backend == 'HIP'
run: |
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt-get update && sudo apt-get install -y rocm-dev
./regen.sh
./configure FC=${FC} FCFLAGS="-O2 -pedantic -std=f2008" HIP_HIPCC_FLAGS="-O2 -fPIE" --enable-real=${RP} --with-hip=/opt/rocm-6.0.0
./regen.sh
./configure FC=${FC} FCFLAGS="-O2 -pedantic -std=f2008" HIP_HIPCC_FLAGS="-O2 -fPIE" --enable-real=${RP} --with-hip=/opt/rocm-6.1.2
make -j$(nproc)
- name: Build (OpenCL backend)
if: matrix.backend == 'opencl'
run: |
./regen.sh
./regen.sh
./configure FC=${FC} FCFLAGS="-O2 -pedantic -std=f2008" --enable-real=${RP} --with-opencl
make -j$(nproc)
- name: Check
Expand Down Expand Up @@ -190,7 +206,7 @@ jobs:
mkdir releng
tar xf neko-*.tar.gz -C releng
cd releng/neko-*
./configure FC=${FC} FCFLAGS="-fPIE" --enable-real=${RP} HIP_HIPCC_FLAGS="-O2 -fPIE" --with-hip=/opt/rocm-6.0.0
./configure FC=${FC} FCFLAGS="-fPIE" --enable-real=${RP} HIP_HIPCC_FLAGS="-O2 -fPIE" --with-hip=/opt/rocm-6.1.2
make -j $(nproc)
- name: Dist (OpenCL backend)
if: matrix.backend == 'opencl'
Expand All @@ -201,8 +217,9 @@ jobs:
cd releng/neko-*
./configure FC=${FC} --enable-real=${RP} --with-opencl
make -j $(nproc)

Intel:
if: github.event.pull_request.draft != true
needs: linting
runs-on: ${{matrix.os}}
strategy:
Expand All @@ -218,7 +235,8 @@ jobs:
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list && sudo apt-get update -y && sudo apt install -y --no-install-recommends intel-oneapi-compiler-fortran intel-oneapi-mpi intel-oneapi-mpi-devel intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
source /opt/intel/oneapi/setvars.sh
sudo apt install -y autoconf automake autotools-dev libopenblas-dev make git m4 python3 ca-certificates cmake
export PATH=/opt/intel/oneapi/compiler/2024.0/bin:${PATH}
INTEL_PATH=$(find /opt/intel/oneapi/compiler/ -name "${FC}" -type f | xargs dirname)
export PATH=$INTEL_PATH:${PATH}
printenv >> $GITHUB_ENV
env:
CC: icc
Expand All @@ -230,7 +248,7 @@ jobs:
run: ${{ matrix.setup-env }}
- name: Cache json-fortran
id: cache-json-fortran
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pkg/json-fortran
key: json-fortran-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}
Expand All @@ -248,16 +266,17 @@ jobs:
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${HOME}/pkg/json-fortran/lib/pkgconfig/" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/pkg/json-fortran/lib/" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build
run: |
echo $PKG_CONFIG_PATH
./regen.sh
./configure FC=${FC} CC=${CC} MPIFC"=mpiifort -fc=${FC}" --enable-real=${RP}
./configure FC=${FC} CC=${CC} MPIFC"=mpiifort -fc=${FC}" --enable-real=${RP}
make FCFLAGS="-O2 -stand f08 -warn errors `pkg-config --cflags json-fortran`" -j$(nproc)
NVIDIA:
if: github.event.pull_request.draft != true
needs: linting
runs-on: ${{matrix.os}}
strategy:
Expand All @@ -269,7 +288,7 @@ jobs:
precision: [dp]
include:
- os: ubuntu-20.04
setup-env: sudo apt-get update && sudo apt-get install -y autoconf automake autotools-dev make git m4 libopenblas-dev && curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg && echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list && sudo apt-get update -y && sudo apt-get install -y nvhpc-23-7 && NVARCH=`uname -s`_`uname -m`; export NVARCH && NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS && PATH=$NVCOMPILERS/$NVARCH/23.7/compilers/bin:$PATH; export PATH && export PATH=$NVCOMPILERS/$NVARCH/23.7/comm_libs/mpi/bin:$PATH && printenv >> $GITHUB_ENV
setup-env: sudo apt-get update && sudo apt-get install -y autoconf automake autotools-dev make git m4 libopenblas-dev && curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg && echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list && sudo apt-get update -y && sudo apt-get install -y nvhpc-24-3 && NVARCH=`uname -s`_`uname -m`; export NVARCH && NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS && PATH=$NVCOMPILERS/$NVARCH/24.3/compilers/bin:$PATH; export PATH && export PATH=$NVCOMPILERS/$NVARCH/24.3/comm_libs/mpi/bin:$PATH && printenv >> $GITHUB_ENV
env:
CC: gcc
FC: ${{ matrix.compiler }}
Expand All @@ -285,7 +304,7 @@ jobs:
run: ${{ matrix.setup-env }}
- name: Cache json-fortran
id: cache-json-fortran
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pkg/json-fortran
key: json-fortran-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}
Expand All @@ -303,7 +322,7 @@ jobs:
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${HOME}/pkg/json-fortran/lib/pkgconfig/" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/pkg/json-fortran/lib/" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build (CPU backend)
Expand All @@ -318,9 +337,32 @@ jobs:
run: |
git apply patches/nvhpc_bge.patch
./regen.sh
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/23.7/cuda/
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.3/cuda/
make
- name: Dist (CPU backend)
if: matrix.backend == 'cpu'
run: |
git stash
make dist
mkdir releng
tar xf neko-*.tar.gz -C releng
cd releng/neko-*
patch -u src/common/signal.f90 -i patches/nvhpc_bge.patch
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP}
make -j $(nproc)
- name: Dist (CUDA backend)
if: matrix.backend == 'cuda'
run: |
git stash
make dist
mkdir releng
tar xf neko-*.tar.gz -C releng
cd releng/neko-*
patch -u src/common/signal.f90 -i patches/nvhpc_bge.patch
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.3/cuda/
make -j $(nproc)
ReFrame:
if: github.event.pull_request.draft != true
needs: GNU
runs-on: ubuntu-20.04
strategy:
Expand All @@ -340,10 +382,10 @@ jobs:
- name: Setup env.
run: |
sudo apt-get update && sudo apt-get install -y openmpi-bin libopenmpi-dev autoconf automake autotools-dev libopenblas-dev make git m4 python3
pip install reframe-hpc
pip install reframe-hpc
- name: Cache json-fortran
id: cache-json-fortran
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pkg/json-fortran
key: json-fortran-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}
Expand All @@ -364,7 +406,7 @@ jobs:
run: |
reframe --detect-host-topology
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Regression tests
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/docsdev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: Documentation (develop)
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '55 19 * * *'
- cron: '30 03 * * *'
# workflow_dispatch:

jobs:
build-dev-documentation:
# This workflow runs only on the official repository.
if: github.repository == 'ExtremeFLOW/neko'
runs-on: ubuntu-latest

steps:
Expand All @@ -28,7 +30,7 @@ jobs:
./regen.sh
./configure FC=${FC}
make html

# Deploy the HTML documentation to GitHub Pages
- name: GH Pages Deployment
uses: peaceiris/actions-gh-pages@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup env.
run: |
sudo apt-get update && sudo apt-get install -y git openmpi-bin libopenmpi-dev autoconf automake autotools-dev libopenblas-dev make git m4 python3 doxygen fonts-freefont-ttf graphviz
Expand All @@ -30,13 +30,13 @@ jobs:

# Deploy the HTML documentation to GitHub Pages
- name: GH Pages Deployment
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/html/
allow_empty_commit: false
force_orphan: false
publish_branch: gh-pages
destination_dir: docs
destination_dir: docs/release
keep_files: false
enable_jekyll: true
31 changes: 31 additions & 0 deletions .github/workflows/formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Formatting

# Controls when the action will run.
on:
# pull_request:
# branches: [develop,release/*,master]
workflow_dispatch:

jobs:
formatting:
name: "Formatter (findent)"
description: "Check if the code is formatted according to the rules"
runs-on: ubuntu-20.04
steps:
- name: Setup env.
run: |
sudo apt-get update && sudo apt-get install -yq python3-dev python3-pip python3-tk
pip install findent
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Check Format
run: |
export FINDENT_FLAGS="-i2 -d3 -f3 -s3 -w3 -t3 -j3 -k- -Rr -c3"
find src/ -name "*.f90" -exec bash -c 'findent < {} > {}.tmp; mv -f {}.tmp {}' \;
if [ "$(git diff --exit-code)" != 0 ]; then
>&2 echo "Formatting rules violated"
git diff --exit-code
exit 1
fi
Loading
Loading