Skip to content

Commit 8d2470b

Browse files
authored
Merge pull request #2871 from OpenFAST/dev
Release 4.1.0
2 parents f4c0b48 + 356d869 commit 8d2470b

File tree

216 files changed

+24337
-23169
lines changed

Some content is hidden

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

216 files changed

+24337
-23169
lines changed

.github/scripts/build_windows_executables.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ devenv vs-build/MoorDyn/MoorDynDriver.sln /Build "Release|x64"
2828
devenv vs-build/MoorDyn_c_binding/MoorDyn_c_binding.sln /Build "Release|x64"
2929
devenv vs-build/FAST/FAST.sln /Build "Release|x64"
3030
devenv vs-build/SeaState/SeaStateDriver.sln /Build "Release|x64"
31+
devenv vs-build/SeaState_c_binding/SeaState_c_binding.sln /Build "Release|x64"
3132
devenv vs-build/SimpleElastoDyn/SimpleElastoDyn_Driver.sln /Build "Release|x64"
3233
devenv vs-build/SubDyn/SubDyn.sln /Build "Release|x64"
3334
devenv vs-build/TurbSim/TurbSim.vfproj /Build "Release|x64"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@REM Check if devenv actually works
2+
for /f "usebackq tokens=1* delims=: " %%i in (`"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest`) do (
3+
if /i "%%i"=="productPath" set devenv=%%j
4+
)
5+
6+
@REM above command finds devenv.exe, but that opens the VS instance. We need the devenv.com version
7+
set devenv=%devenv:devenv.exe=devenv.com%
8+
9+
echo Using Visual Studio: %devenv%
10+
11+
"%devenv%" /?
12+
13+
exit /b %ERRORLEVEL%

.github/workflows/automated-dev-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
- name: Install dependencies
8080
run: |
8181
pip install -r requirements.txt
82+
pip install glue-codes/python/. # Installs the interface library
8283
sudo apt-get update -y
8384
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
8485
- name: Setup workspace
@@ -136,6 +137,7 @@ jobs:
136137
- name: Install dependencies
137138
run: |
138139
pip install -r requirements.txt
140+
pip install glue-codes/python/. # Installs the interface library
139141
sudo apt-get update -y
140142
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
141143
- name: Setup workspace
@@ -258,6 +260,7 @@ jobs:
258260
- name: Install dependencies
259261
run: |
260262
pip install -r requirements.txt
263+
pip install glue-codes/python/. # Installs the interface library
261264
sudo apt-get update -y
262265
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
263266
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -316,6 +319,7 @@ jobs:
316319
- name: Install dependencies
317320
run: |
318321
pip install -r requirements.txt
322+
pip install glue-codes/python/. # Installs the interface library
319323
sudo apt-get update -y
320324
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
321325
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -366,6 +370,7 @@ jobs:
366370
- name: Install dependencies
367371
run: |
368372
pip install -r requirements.txt
373+
pip install glue-codes/python/. # Installs the interface library
369374
sudo apt-get update -y
370375
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
371376
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -415,6 +420,7 @@ jobs:
415420
- name: Install dependencies
416421
run: |
417422
pip install -r requirements.txt
423+
pip install glue-codes/python/. # Installs the interface library
418424
sudo apt-get update -y
419425
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
420426
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -466,6 +472,7 @@ jobs:
466472
- name: Install dependencies
467473
run: |
468474
pip install -r requirements.txt
475+
pip install glue-codes/python/. # Installs the interface library
469476
sudo apt-get update -y
470477
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
471478
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -513,6 +520,7 @@ jobs:
513520
- name: Install dependencies
514521
run: |
515522
pip install -r requirements.txt
523+
pip install glue-codes/python/. # Installs the interface library
516524
sudo apt-get update -y
517525
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
518526
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -561,6 +569,7 @@ jobs:
561569
- name: Install dependencies
562570
run: |
563571
pip install -r requirements.txt
572+
pip install glue-codes/python/. # Installs the interface library
564573
sudo apt-get update -y
565574
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
566575
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
@@ -608,6 +617,7 @@ jobs:
608617
- name: Install dependencies
609618
run: |
610619
pip install -r requirements.txt
620+
pip install glue-codes/python/. # Installs the interface library
611621
sudo apt-get update -y
612622
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
613623
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev

.github/workflows/conda-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
update-dev:
1717
if: github.repository_owner == 'OpenFAST'
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
# - name: Echo path
2121
# run: |

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ jobs:
145145
submodules: true
146146
fetch-depth: 0
147147

148+
- name: Test devenv actually works
149+
shell: cmd
150+
run: .github/scripts/windows_devenv_test.bat
151+
148152
- name: Install Intel oneAPI BaseKit (Windows)
149153
shell: cmd
150154
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*.app
3030
__pycache__/*
3131
*.pyc
32+
*.egg-info
3233

3334
# Build specific files
3435
build*/

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ set(OPENFAST_MODULES
208208
lindyn
209209
map
210210
turbsim
211-
supercontroller
212211
externalinflow
213212
openfast-library
214213
simple-elastodyn

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ tag.
2525

2626
**OpenFAST is under active development**.
2727

28+
29+
30+
Part of the WETO Stack
31+
----------------------
32+
33+
OpenFAST is primarily developed with the support of the U.S. Department of Energy and is part of the `WETO Software Stack <https://nrel.github.io/WETOStack>`_. For more information and other integrated modeling software, see:
34+
35+
* `Portfolio Overview <https://nrel.github.io/WETOStack/portfolio_analysis/overview.html>`_
36+
* `Entry Guide <https://nrel.github.io/WETOStack/_static/entry_guide/index.html>`_
37+
* `OpenFAST Workshop <https://nrel.github.io/WETOStack/workshops/user_workshops_2024.html#openfast-ecosystem>`_
38+
39+
2840
FAST v8 - OpenFAST
2941
------------------
3042
The transition from FAST v8 to OpenFAST represents the effort to better
-6.9 KB
Binary file not shown.

docs/changelogs/ReleaseProcess.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
3. Update the versions in docs/source/user/api_change.rst
1414
4. Verify readthedocs builds correctly
1515
5. Update `openfast_io/pyproject.toml`
16+
6. Update `glue-codes/python/pyproject.toml` (for `pyOpenFAST`)
1617

1718
****
1819

@@ -45,7 +46,7 @@ After posting and tagging release
4546
git update-index --assume-unchanged vs-build/MAPlib/MAP_dll.vcxproj vs-uild/Registry/FAST_Registry.vcxproj
4647
```
4748

48-
4. Compile executables for Windows builds
49+
4. Compile executables for Windows builds (manual process - use GH actions `deploy` if possible)
4950
* Run one of the executables and check the version info. Muck about with VS if there is an issue.
5051
* Also run `dumpbin.exe /dependents <exe>.exe` to check static linking
5152
* NOTE: build the simulink last -- it messes up some things otherwise
@@ -58,7 +59,6 @@ After posting and tagging release
5859
- [ ] `DISCON.dll` (x64)
5960
- [ ] `DISCON_ITIBarge.dll` (x64)
6061
- [ ] `DISCON_OC3Hywind.dll` (x64)
61-
- [ ] `DISCON_SC.dll` (x64)
6262
- [ ] `FAST.Farm_x64.exe`
6363
- [ ] `FAST.Farm_x64_OMP.exe`
6464
- [ ] `FAST_SFunc.mexw64` -- build from MATLAB
@@ -72,6 +72,7 @@ After posting and tagging release
7272
- [ ] `OpenFAST-Simulink_x64.dll` -- change `additional dependencies` in the `OpenFAST-Simulink` project in `FAST` to point to correct install of MATLAB
7373
- [ ] `openfast_x64.exe`
7474
- [ ] `SeaStateDriver_x64.exe`
75+
- [ ] `SeaState_c_binding_x64.dll`
7576
- [ ] `SimpleElastoDyn_x64.exe`
7677
- [ ] `SubDyn_x64.exe`
7778
- [ ] `Turbsim_x64.exe`
@@ -83,6 +84,6 @@ After posting and tagging release
8384
```
8485
## Post-release
8586
### Docker Image push to ghcr.io
86-
1. Build latest `OpenFAST/main` image locally.
87+
1. Build latest `OpenFAST/main` image locally (GH actions fails due to memory usage)
8788
2. Push image to ghcr.io/openfast/openfast using tags `latest` and `<version>`
8889

0 commit comments

Comments
 (0)