Skip to content

Commit 6a7f3c7

Browse files
authored
Merge pull request #64 from FluidNumerics/main
Merge recent updates to shallow water branch
2 parents bc9abbb + 63a53fd commit 6a7f3c7

File tree

990 files changed

+2859
-371979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

990 files changed

+2859
-371979
lines changed

.github/workflows/fprettify-lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: fprettify-lint
33
on:
44
push:
55
branches:
6-
- master
76
- main
87
paths-ignore:
98
- 'AUTHORS.md'

.github/workflows/linux-amdflang-cmake.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ name: linux-amdflang-cmake
33
on:
44
push:
55
branches:
6-
- master
76
- main
87
paths-ignore:
8+
- 'docs/'
99
- 'AUTHORS.md'
1010
- 'LICENSE.md'
1111
- 'README.md'
1212
pull_request:
1313
paths-ignore:
14+
- 'docs/'
1415
- 'AUTHORS.md'
1516
- 'LICENSE.md'
1617
- 'README.md'
1718

1819
jobs:
1920
linux-tests:
20-
timeout-minutes: 30
21+
timeout-minutes: 60
2122
if: "!contains(github.event.head_commit.message, 'skip ci')"
2223
name: ${{ matrix.os }} - ${{ matrix.fcompiler }} - ${{ matrix.build_type }}
2324
runs-on: ${{ matrix.os }}
@@ -56,6 +57,8 @@ jobs:
5657
5758
- name: Set up Spack
5859
uses: spack/setup-spack@v2
60+
with:
61+
ref: develop-2024-10-06
5962

6063
- name: Install dependencies in spack environment
6164
run: |

.github/workflows/linux-gnu-cmake.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ name: linux-gnu-cmake
33
on:
44
push:
55
branches:
6-
- master
76
- main
87
paths-ignore:
8+
- 'docs/'
99
- 'AUTHORS.md'
1010
- 'LICENSE.md'
1111
- 'README.md'
1212
pull_request:
1313
paths-ignore:
14+
- 'docs/'
1415
- 'AUTHORS.md'
1516
- 'LICENSE.md'
1617
- 'README.md'
1718

1819
jobs:
1920
linux-tests:
20-
timeout-minutes: 30
21+
timeout-minutes: 60
2122
if: "!contains(github.event.head_commit.message, 'skip ci')"
2223
name: ${{ matrix.os }} - ${{ matrix.fcompiler }} - ${{ matrix.build_type }}
2324
runs-on: ${{ matrix.os }}
@@ -80,6 +81,8 @@ jobs:
8081
8182
- name: Set up Spack
8283
uses: spack/setup-spack@v2
84+
with:
85+
ref: develop-2024-10-06
8386

8487
- name: Install dependencies in spack environment
8588
run: |

.github/workflows/linux-gnu-multithreaded-cmake.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ name: linux-gnu-multithreaded-cmake
33
on:
44
push:
55
branches:
6-
- master
76
- main
87
paths-ignore:
8+
- 'docs/'
99
- 'AUTHORS.md'
1010
- 'LICENSE.md'
1111
- 'README.md'
1212
pull_request:
1313
paths-ignore:
14+
- 'docs/'
1415
- 'AUTHORS.md'
1516
- 'LICENSE.md'
1617
- 'README.md'
1718

1819
jobs:
1920
linux-tests:
20-
timeout-minutes: 30
21+
timeout-minutes: 60
2122
if: "!contains(github.event.head_commit.message, 'skip ci')"
2223
name: ${{ matrix.os }} - ${{ matrix.fcompiler }} - ${{ matrix.build_type }}
2324
runs-on: ${{ matrix.os }}
@@ -80,6 +81,8 @@ jobs:
8081
8182
- name: Set up Spack
8283
uses: spack/setup-spack@v2
84+
with:
85+
ref: develop-2024-10-06
8386

8487
- name: Install dependencies in spack environment
8588
run: |

.github/workflows/linux-nvfortran-cmake.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ name: linux-nvidia-hpc-cmake
33
on:
44
push:
55
branches:
6-
- master
76
- main
87
paths-ignore:
8+
- 'docs/'
99
- 'AUTHORS.md'
1010
- 'LICENSE.md'
1111
- 'README.md'
1212
pull_request:
1313
paths-ignore:
14+
- 'docs/'
1415
- 'AUTHORS.md'
1516
- 'LICENSE.md'
1617
- 'README.md'
1718

1819
jobs:
1920
linux-tests:
20-
timeout-minutes: 45
21+
timeout-minutes: 60
2122
if: "!contains(github.event.head_commit.message, 'skip ci')"
2223
name: ${{ matrix.os }} - ${{ matrix.toolchain.compiler }} - ${{ matrix.build_type }}
2324
runs-on: ${{ matrix.os }}
@@ -63,6 +64,8 @@ jobs:
6364
6465
- name: Set up Spack
6566
uses: spack/setup-spack@v2
67+
with:
68+
ref: develop-2024-10-06
6669

6770
- name: Install dependencies in spack environment
6871
run: |

.github/workflows/main-docs.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish documentation
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
name: Deploy docs
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout main
13+
uses: actions/checkout@v2
14+
15+
- name: Set up Python 3.9
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: 3.9
19+
20+
- name: Install docs dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install -r docs/requirements.txt
24+
25+
- name: Generate API docs
26+
run: |
27+
ford self.md
28+
29+
- name: Deploy docs
30+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
CONFIG_FILE: mkdocs.yml
34+
REQUIREMENTS: docs/requirements.txt

CONTRIBUTING.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
# Spectral Element Library in Fortran (SELF)
2-
Copyright 2017-2020 Fluid Numerics LLC
3-
4-
## What do I need to know to help?
5-
If you are looking to help to with a code contribution, SELF uses the following programming languages and tools
6-
* Fortran (2008 Standard)
7-
* [HIP](link needed) for GPU acceleration
8-
* [MPI](link needed) for Multi-Process parallelization (multi-core, multi-gpu)
9-
* [CMake](https://cmake.org) (Build System)
10-
* [HDF5](https://www.hdfgroup.org/solutions/hdf5/)
11-
12-
If you are interested in making a code contribution and would like to learn more about the technologies that we use, check out the list below.
13-
14-
* [SELF Specifications](./SPECIFICATIONS.md)
15-
* [Understanding the SELF Software Layout](link needed)
16-
* [Commit Guidelines](link needed)
17-
18-
## Branching Model
2+
Copyright 2017-2024 Fluid Numerics LLC
193

204
## Contribute Code
215
1. Find an issue that you are interested in addressing or a feature that you would like to add.
@@ -24,7 +8,7 @@ If you are interested in making a code contribution and would like to learn more
248
4. Create a new branch for your contribution. To help maintainers easily determine the type of code contribution, name your branch using bugfix/issue-NN or feature/issue-NN prefixes.
259
5. Make the appropriate changes for the issue you are trying to address or the feature that you want to add.
2610
6. When committing your changes, follow the commit guidelines when writing your commit messages.
27-
7. You are encouraged to run the SELF test harness before opening a pull request. These tests will help you make sure you're changes meet formatting guidelines, build successfully, and produce test results within acceptable tolerance levels. If you don't have a GPU, that's ok. Your contribution will be fully tested when you open a pull request.
11+
7. You are encouraged to run the SELF tests using `ctest` on your local system before opening a pull request. If you don't have a GPU, that's ok. Your contribution will be fully tested when you open a pull request.
2812
8. Open a pull request with the upstream SELF repository. In the title, reference the issue number that you worked on. Include a detailed description of the changes you made and why. If you have recommendations for updates to documentation as a result of your changes, please indicate so. If you've added a new routine, you will need to work with the maintainers to develop tests when integrating your new feature in.
2913

3014
### Code formatting

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
# Spectral Element Libraries in Fortran (SELF)
2-
Copyright 2020-2023 Fluid Numerics LLC
2+
Copyright 2017-2024 Fluid Numerics LLC
33

44
[![codecov](https://codecov.io/gh/FluidNumerics/SELF/branch/main/graph/badge.svg?token=AKKSL5CWK6)](https://codecov.io/gh/FluidNumerics/SELF)
55

66
[![linux-gnu-cmake](https://github.com/FluidNumerics/SELF/actions/workflows/linux-gnu-cmake.yml/badge.svg)](https://github.com/FluidNumerics/SELF/actions/workflows/linux-gnu-cmake.yml)
77

88
[![linux-gnu-multithreaded-cmake](https://github.com/FluidNumerics/SELF/actions/workflows/linux-gnu-multithreaded-cmake.yml/badge.svg)](https://github.com/FluidNumerics/SELF/actions/workflows/linux-gnu-multithreaded-cmake.yml)
99

10-
[![linux-amdflang-cmake](https://github.com/FluidNumerics/SELF/actions/workflows/linux-amdflang-cmake.yaml/badge.svg)](https://github.com/FluidNumerics/SELF/actions/workflows/linux-amdflang-cmake.yaml)
11-
1210
## Licensing
13-
SELF is licensed for use under a [non-commercial use visible-source license](./LICENSE). Fluid Numerics is a small family-owned business and wants to make SELF available to researchers for academic use. Under the license, you can use, modify, and redistribute SELF so long as attribution is given to Fluid Numerics. However, since we are interested in protecting our time-and-effort investment in SELF, sale and commercial-use of SELF is prohibited under the license.
11+
SELF is licensed for use under a [3 Clause BSD with attribution license](./LICENSE). [Fluid Numerics](https://www.fluidnumerics.com) is a small family-owned business. We want to make SELF available to folks who want to build conservation laws that run on a wide range of platforms. Under the license, you can use, modify, and redistribute SELF so long as attribution is given to Fluid Numerics.
12+
13+
## How to support this repository
14+
Continued support of SELF relies on users and customers. Here's a few ways you can support this project:
1415

15-
If you are interested in commercial licensure and would like support from Fluid Numerics, reach out to support@fluidnumerics.com
16+
* Give this repository a star on Github
17+
* [Open an issue](https://github.com/FluidNumerics/SELF/issues/new/choose) if you have a question or want to report a problem. We want to help!
18+
* [Subscribe to Fluid Numerics on Youtube](https://www.youtube.com/@FluidNumerics?sub_confirmation=1)
19+
* [Sponsor this project on Open Collective](https://opencollective.com/opensource-fluidnumerics)
20+
* [Work with us](https://www.fluidnumerics.com/services)
1621

1722
## About
1823
SELF is an object-oriented Fortran library that support the implementation of Spectral Element Methods for solving partial differential equations.
@@ -29,25 +34,24 @@ The following combinations are tested on the main branch of self :
2934

3035
Name | Version | Platform | Build System | Stack | Architecture
3136
--- | --- | --- | --- | --- | --- |
32-
GNU Fortran `gfortran` | 13.2.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64 - gfx90a (MI210)
37+
GNU Fortran `gfortran` | 13.2.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3, rocm/6.1.0 | x86_64 - gfx90a (MI210)
3338
GNU Fortran `gfortran` | 13.2.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64
3439
GNU Fortran `gfortran` | 12.3.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64
35-
GNU Fortran `gfortran` | 12.3.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.3 (ucx+rocm), feq-parse/2.2.2, hdf5/1.14.3 | x86_64 - gfx90a (MI210)
40+
GNU Fortran `gfortran` | 12.3.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.3 (ucx+rocm), feq-parse/2.2.2, hdf5/1.14.3, rocm/6.0.2 | x86_64 - gfx90a (MI210)
3641
GNU Fortran `gfortran` | 11.4.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64
3742
GNU Fortran `gfortran` | 10.5.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64
3843
GNU Fortran `gfortran` | 9.5.0 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64
39-
AOMP `amdflang` | 6.1.2 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64 - gfx90a (MI210)
40-
AOMP `amdflang` | 6.1.2 | Ubuntu 22.04.2 LTS | `cmake` | openmpi/5.0.1, feq-parse/2.2.2, hdf5/1.14.3 | x86_64
4144

4245

43-
"Supported" for us means that we test `self` regularly on the platforms listed. Of course, we want to have `self` working on as many platforms as possible; [open an issue](https://github.com/FluidNumerics/SELF/issues/new/choose) if you encounter any problems installing or running `self` on your own platform.
46+
47+
"Supported" for us means that we test `self` regularly on the platforms listed; `self` may work just fine on a different platform. Of course, we want to have `self` working on as many platforms as possible; [open an issue](https://github.com/FluidNumerics/SELF/issues/new/choose) if you encounter any problems installing or running `self` on your own platform.
4448

4549
## Support
4650

4751
### Documentation
4852

49-
* [**User & Developer Documentation**](https://fluidnumerics.github.io/SELF)
50-
* [**API Documentation**](https://fluidnumerics.github.io/SELF/ford/)
53+
* [**User & Developer Documentation**](https://self.fluidnumerics.com)
54+
* [**API Documentation**](https://self.fluidnumerics.com/ford/)
5155

5256

5357
If you'd like to contribute, see [CONTRIBUTING.md](./CONTRIBUTING.md) to get started.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Using SELF to Build your own applications
File renamed without changes.

0 commit comments

Comments
 (0)