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

Merge dev to dev-unstable after 3.5.3 updates #2164

Merged
merged 284 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
80c88a2
Remove typo in warning, retains c/con option for output flags for bac…
RyanDavies19 Jan 26, 2024
fd41e42
Bathymetry grid bug fix
RyanDavies19 Jan 29, 2024
75f987c
Bathymetry grid slope normal vector bug fix
RyanDavies19 Jan 29, 2024
44cd3f6
Merge pull request #2013 from RyanDavies19/dev
andrew-platt Jan 29, 2024
57e110a
Change input string size for bathgrid and waterkin
RyanDavies19 Jan 30, 2024
e39453a
Merge pull request #2016 from RyanDavies19/dev
andrew-platt Jan 31, 2024
a261f56
Address comments on PR 1874 by Emmanuel Branlard
abhineet-gupta Feb 1, 2024
6e5f71b
TailFinUnsteadyAero: Add regression tests and fix a small bug in Aero…
abhineet-gupta Feb 15, 2024
f8e4813
Lin tests: increase out precision, error printing full filename
andrew-platt Feb 26, 2024
14f20d7
Add SubDyn Linearization test case
deslaughter Feb 26, 2024
3340726
Updated r-test pointer
deslaughter Feb 26, 2024
8e140b9
Lin: incorrect BD index in dUdy for AD motion
andrew-platt Feb 28, 2024
03ecb64
Merge pull request #2055 from andrew-platt/b/LinOutPrec-3.5.3
andrew-platt Feb 28, 2024
db8d795
Lin: sum BD blade root motion to hub moment m_ud term (consistent wit…
andrew-platt Feb 28, 2024
8269984
Update reg test 5MW_Land_BD_Linear_Aero
andrew-platt Feb 28, 2024
94a51d4
Merge pull request #2060 from andrew-platt/b/LinBD_AD
andrew-platt Feb 29, 2024
b6ce4b1
Fix bug in BD linearization resulting from reference rotation change
deslaughter Mar 1, 2024
a37aaaf
Update r-test pointer to revisions to 5MW_Land_BD_Linear and 5MW_Land…
deslaughter Mar 1, 2024
6dac6a0
Updated r-test pointer with new baseline for 5MW_Land_BD_Linear run a…
deslaughter Mar 1, 2024
e5a3bbd
Merge pull request #2063 from deslaughter/b/BeamDynRotStates
andrew-platt Mar 4, 2024
d9edf8f
merge branch 'openfast/dev' into 'f/ua-elast-dev'
bjonkman Mar 7, 2024
ba95b23
UA driver: fix indices on alpha, U, and omega
bjonkman Mar 7, 2024
db02071
Merge remote-tracking branch 'ebranlard/f/ua-elast-dev' into f/ua-ela…
bjonkman Mar 7, 2024
c6f9788
Handling of Paths for SrvD UserSubs Input Files
rdamiani Mar 8, 2024
913914e
Add yaw friction model
kevo331 Jan 31, 2024
e679029
Add two regression tests for yaw friction modeling
abhineet-gupta Feb 13, 2024
4639089
YawFriction: update pointer to r-test (updated input files)
andrew-platt Feb 14, 2024
f50bd28
YawFriction: Clean up the yaw friction code by removing extraneous co…
abhineet-gupta Feb 14, 2024
3ae1722
YawFriction: Add yaw friction documentation
abhineet-gupta Feb 15, 2024
b7dd6b8
YawFriction: Resolve comments for PR# 2017
abhineet-gupta Feb 20, 2024
acd9041
YawFriction: Fix small error in elastodyn
abhineet-gupta Feb 20, 2024
4ee90ba
Update r-test pointer
andrew-platt Mar 8, 2024
bbcf464
Merge pull request #2079 from andrew-platt/f/SrvD_UserSubs_path
andrew-platt Mar 8, 2024
c13a58b
Merge pull request #2017 from abhineet-gupta/YawFrictionImplementation
andrew-platt Mar 8, 2024
d709405
Merge remote-tracking branch 'OpenFAST/dev' into f/tail_fin_unsteadym…
andrew-platt Mar 8, 2024
1b3f797
AD: code alignment (noted in PR)
andrew-platt Mar 8, 2024
9725647
Update input file for Tailfin_FreeYaw1DOF_Unsteady
abhineet-gupta Mar 8, 2024
efa74e1
Merge pull request #23 from bjonkman/f/ua-elast-dev
ebranlard Mar 9, 2024
334c702
Revert " Resolve BeamDyn initial strain for rotated blade"
deslaughter Mar 11, 2024
f588ef5
Disable changing the reference frame
deslaughter Mar 11, 2024
9de4788
Implement new initial strain fix based on OpenTurbine documentation
deslaughter Mar 11, 2024
7a2c43e
SrvD: fix typo in registry from PR #2079
andrew-platt Mar 11, 2024
6a419c7
Merge pull request #1874 from abhineet-gupta/f/tail_fin_unsteadymodel
andrew-platt Mar 11, 2024
1dd60b9
CMake: remove unnecessary openfastlib dependency on lindynlib
andrew-platt Mar 11, 2024
e1dacc3
Merge remote-tracking branch 'OpenFAST/dev' into f/ua-elast-dev
andrew-platt Mar 11, 2024
a2661d2
Merge pull request #1910 from ebranlard/f/ua-elast-dev
andrew-platt Mar 11, 2024
61b6b09
Merge remote-tracking branch 'upstream/rc-3.5.3' into b/BeamDynRotStates
deslaughter Mar 12, 2024
70f32cc
Update r-test pointer for changes to 5MW_Land_BD_Linear tests
deslaughter Mar 12, 2024
37b63c0
Restore previous fix to pitch actuator logic in SetParameters
deslaughter Mar 12, 2024
143b837
Merge pull request #2085 from deslaughter/b/BDInitialStrain
andrew-platt Mar 12, 2024
3d85462
UA driver: fix array size
bjonkman Mar 14, 2024
b272cf9
Change Windows header include
pablo-benito Mar 15, 2024
9fef0c4
Merge pull request #2094 from iat-cener/f/cross_compile
deslaughter Mar 15, 2024
f694008
Merge pull request #2091 from bjonkman/b/UA_driver
andrew-platt Mar 15, 2024
294b261
FASTlib: Turbine(:) array must use Fortran index 1 start
andrew-platt Mar 15, 2024
385c6bb
FASTlib: change ExternInitData%TurbineID to %TurbIDforName
andrew-platt Mar 15, 2024
31a5b03
FASTlib: change iTurb inputs to routines with c-bindings to index 0
andrew-platt Mar 15, 2024
7cd73e4
Set 5MW_Land_DLL_WTurb_cpp as a CPP_API test, not CPP_DRIVER
andrew-platt Mar 15, 2024
bcc91c0
Adjust if statements in FAST_OpFM_Step for iTurb being in range 1:Num…
deslaughter Mar 18, 2024
4c001eb
CPP testing: fix logic setting exec name in CMakeList.txt
andrew-platt Mar 18, 2024
e0cb005
TurbSim: increase filename to 1024 characters
andrew-platt Mar 18, 2024
3e029ef
Merge pull request #2097 from andrew-platt/b/FASTlib_TurbineIndex_1
andrew-platt Mar 20, 2024
51a2902
FIX: Update dockerfile base to get required `cmake` version
cortadocodes Mar 22, 2024
0184e60
CHO: Add `.idea` to `.gitignore`
cortadocodes Mar 22, 2024
2900399
ENH: Make dockerfile base configurable
cortadocodes Mar 22, 2024
8519687
ENH: Make dockerfile timezone configurable
cortadocodes Mar 22, 2024
79f5910
FIX: Fix timezone build arg in dockerfile
cortadocodes Mar 22, 2024
5dc82f4
ENH: Make openfast version configurable in dockerfile
cortadocodes Mar 22, 2024
f6bc0cc
ENH: Make cores available for building configurable in dockerfile
cortadocodes Mar 22, 2024
57a1fbd
ENH: Clone openfast with shallow submodules in dockerfile
cortadocodes Mar 22, 2024
561eb22
REF: Combine apt installation commands into one
cortadocodes Mar 22, 2024
0302ea8
ENH: Use `apt-get` instead of `apt` and remove cache
cortadocodes Mar 22, 2024
5e63e58
ENH: Make `openfast` command available in docker image
cortadocodes Mar 22, 2024
965bfa1
ENH: Make building testing tree optional
cortadocodes Mar 22, 2024
025f117
ENH: Avoid cloning submodules if not building test tree
cortadocodes Mar 22, 2024
bfde527
REF: Sort `apt-get install` lines
cortadocodes Mar 22, 2024
db0a7e7
REF: Factor out repository URL
cortadocodes Mar 25, 2024
5eb65ab
ENH: Remove commented out numpy installation
cortadocodes Mar 25, 2024
38af413
ENH: Set timezone to UTC by default
cortadocodes Mar 25, 2024
cc8a9c9
ENH: Set `BUILD_TESTING` to "OFF" by default
cortadocodes Mar 25, 2024
ce8fa16
REF: Rename `VERSION` build arg to `OPENFAST_VERSION`
cortadocodes Mar 25, 2024
9822a4c
ENH: Remove need to prefix version numbers with `v`
cortadocodes Mar 25, 2024
2b97678
ENH: Build from local context instead of cloning repository
cortadocodes Mar 25, 2024
c8814e0
ENH: Use a multi-stage build to reduce final image size
cortadocodes Mar 25, 2024
c146096
FIX: Ensure system dependencies are available in final image
cortadocodes Mar 25, 2024
dc326b3
ENH: Reduce docker image size by minimising included packages
cortadocodes Mar 25, 2024
19e4051
ENH: Remove extra packages from first build stage
cortadocodes Mar 25, 2024
fb67cc3
ENH: Allow injection of all `cmake` args
cortadocodes Mar 25, 2024
367aca0
REF: Move environment variables and build args to more optimal places
cortadocodes Mar 25, 2024
782041b
ENH: Set `CMAKE_BUILD_TYPE` to `RELEASE` by default
cortadocodes Mar 25, 2024
d994413
FIX: Add essential dependencies back to build stage
cortadocodes Mar 25, 2024
d1c8982
ENH: Add `nano` back to production image
cortadocodes Mar 25, 2024
60a689b
ENH: Add comments explaining build stages
cortadocodes Mar 25, 2024
5ae67cc
CHO: Add dockerfiles to `.dockerignore`
cortadocodes Mar 25, 2024
e07542e
FIX: Add `git` back to build stage
cortadocodes Mar 25, 2024
96a33da
DOC: Add readme explaining dockerfile
cortadocodes Mar 26, 2024
b35146f
OPS: Add `build-docker-image` workflow
cortadocodes Mar 26, 2024
392492b
CHO: Update copyright year in dockerfile
cortadocodes Mar 26, 2024
27a5c66
ENH: Get dockerfile if running workflow on an older version
cortadocodes Mar 26, 2024
ffae93a
MRG: Merge pull request #1 from octue/update-dockerfiles
cortadocodes Mar 26, 2024
e43e760
OPS: Use correct docker action versions
cortadocodes Mar 26, 2024
e63477b
MRG: Merge branch 'update-dockerfiles'
cortadocodes Mar 26, 2024
a51922a
OPS: Use environment context instead of environment variables
cortadocodes Mar 26, 2024
6a47596
MRG: Merge branch 'update-dockerfiles'
cortadocodes Mar 26, 2024
24bd1ff
ENH: Use `--no-install-recommends` in dockerfile
cortadocodes Mar 26, 2024
8cbac60
OPS: Factor out and fix docker repository in docker workflow
cortadocodes Mar 26, 2024
ff51c68
MRG: Merge branch 'update-dockerfiles'
cortadocodes Mar 26, 2024
e38e88b
VSbuild: always build Registry as release x64
andrew-platt Mar 26, 2024
c53164d
Add initialization of MHK, WtrDpth, MSL2SWL in IfW_InitInp for AWAE m…
deslaughter Mar 26, 2024
9f5cb77
Use of potentially unallocated array in AeroDyn_AllBldNdOuts.
deslaughter Mar 26, 2024
75f35b6
VSbuild: increase stack size for FAST.Farm
andrew-platt Mar 26, 2024
0a06e32
Merge pull request #2116 from andrew-platt/b/Reg_x64_VSbuild
andrew-platt Mar 26, 2024
106ed6b
Merge pull request #2118 from deslaughter/b/FAST.FarmMemInit
andrew-platt Mar 26, 2024
70c0870
CMake: openmp optional for FF and CPP if not explicitly requested (#2…
andrew-platt Mar 26, 2024
db7e686
Update docs for release 3.5.3
andrew-platt Mar 26, 2024
8de46aa
OPS: Add comment explaining Dockerfile download step
cortadocodes Mar 27, 2024
c6aee2b
OPS: Rename environment variable for consistency
cortadocodes Mar 27, 2024
9a12135
CHO: Move `.idea` into correct section of `.gitignore`
cortadocodes Mar 27, 2024
520931c
ENH: Add 2016 to start of copyright notice in Dockerfile
cortadocodes Mar 27, 2024
aab4a6d
OPS: Build docker image for `linux/aarch64` too
cortadocodes Mar 27, 2024
d59fccb
MRG: Merge branch 'update-dockerfiles'
cortadocodes Mar 27, 2024
14e77db
OPS: Add description to docker workflow
cortadocodes Mar 27, 2024
3e06eab
OPS: Add automatic docker build on merge into `main` from RC branches
cortadocodes Mar 27, 2024
0e8a61a
OPS: Add `test-build-docker-image` workflow
cortadocodes Mar 27, 2024
7f4b551
CMake: openmp optional for FF and CPP if not explicitly requested (co…
andrew-platt Mar 27, 2024
4a04caa
ENH: Use long-term-support ubuntu base by default
cortadocodes Mar 28, 2024
a6d4197
DOC: Update documentation
cortadocodes Mar 28, 2024
6b2e890
DOC: Update dockerfile readme
cortadocodes Mar 28, 2024
26c48da
DOC: Fix link in docs
cortadocodes Mar 28, 2024
7bd86cc
MRG: Merge branch 'update-dockerfiles'
cortadocodes Mar 28, 2024
11c8cbf
OPS: Fix version extraction
cortadocodes Mar 28, 2024
1c3115f
OPS: Use extracted tag in test workflow
cortadocodes Mar 28, 2024
5e80427
OPS: Fix tag extraction in automated docker workflow
cortadocodes Mar 28, 2024
81357c3
VSbuild: set VS version to VS 2017
andrew-platt Mar 28, 2024
e45a518
Add empty requirements.txt in repo root to work around setup-python i…
deslaughter Mar 28, 2024
b55f2e9
Attempt using requirements.txt to install testing dependencies
deslaughter Mar 28, 2024
cbee1cc
Add vtk package to requirements.txt
deslaughter Mar 28, 2024
b6849ce
Docs: update python modules for regression testing
andrew-platt Mar 28, 2024
afcf7aa
Merge pull request #2128 from andrew-platt/f/VSbuild_2017
andrew-platt Mar 28, 2024
6184f95
FIX: Update dockerfile base to get required `cmake` version
cortadocodes Mar 22, 2024
e1bcb8c
CHO: Add `.idea` to `.gitignore`
cortadocodes Mar 22, 2024
cd05a11
ENH: Make dockerfile base configurable
cortadocodes Mar 22, 2024
de58129
ENH: Make dockerfile timezone configurable
cortadocodes Mar 22, 2024
5f9e3ae
FIX: Fix timezone build arg in dockerfile
cortadocodes Mar 22, 2024
5fc6f79
ENH: Make openfast version configurable in dockerfile
cortadocodes Mar 22, 2024
5a97da4
ENH: Make cores available for building configurable in dockerfile
cortadocodes Mar 22, 2024
5e2ca6b
ENH: Clone openfast with shallow submodules in dockerfile
cortadocodes Mar 22, 2024
c8b817f
REF: Combine apt installation commands into one
cortadocodes Mar 22, 2024
df21818
ENH: Use `apt-get` instead of `apt` and remove cache
cortadocodes Mar 22, 2024
1fd0051
ENH: Make `openfast` command available in docker image
cortadocodes Mar 22, 2024
02d9dea
ENH: Make building testing tree optional
cortadocodes Mar 22, 2024
74753f6
ENH: Avoid cloning submodules if not building test tree
cortadocodes Mar 22, 2024
dadbf1e
REF: Sort `apt-get install` lines
cortadocodes Mar 22, 2024
14d08b6
REF: Factor out repository URL
cortadocodes Mar 25, 2024
971053c
ENH: Remove commented out numpy installation
cortadocodes Mar 25, 2024
baa9969
ENH: Set timezone to UTC by default
cortadocodes Mar 25, 2024
47bf090
ENH: Set `BUILD_TESTING` to "OFF" by default
cortadocodes Mar 25, 2024
ee1c2ae
REF: Rename `VERSION` build arg to `OPENFAST_VERSION`
cortadocodes Mar 25, 2024
59cca57
ENH: Remove need to prefix version numbers with `v`
cortadocodes Mar 25, 2024
81a19d1
ENH: Build from local context instead of cloning repository
cortadocodes Mar 25, 2024
ef8843a
ENH: Use a multi-stage build to reduce final image size
cortadocodes Mar 25, 2024
d51173b
FIX: Ensure system dependencies are available in final image
cortadocodes Mar 25, 2024
de2bc70
ENH: Reduce docker image size by minimising included packages
cortadocodes Mar 25, 2024
ea408d0
ENH: Remove extra packages from first build stage
cortadocodes Mar 25, 2024
e1d51be
ENH: Allow injection of all `cmake` args
cortadocodes Mar 25, 2024
9144086
REF: Move environment variables and build args to more optimal places
cortadocodes Mar 25, 2024
597800d
ENH: Set `CMAKE_BUILD_TYPE` to `RELEASE` by default
cortadocodes Mar 25, 2024
ec7ec82
FIX: Add essential dependencies back to build stage
cortadocodes Mar 25, 2024
161b51b
ENH: Add `nano` back to production image
cortadocodes Mar 25, 2024
180d020
ENH: Add comments explaining build stages
cortadocodes Mar 25, 2024
00067fe
CHO: Add dockerfiles to `.dockerignore`
cortadocodes Mar 25, 2024
8af81e7
FIX: Add `git` back to build stage
cortadocodes Mar 25, 2024
78b5abb
DOC: Add readme explaining dockerfile
cortadocodes Mar 26, 2024
a02ec3d
OPS: Add `build-docker-image` workflow
cortadocodes Mar 26, 2024
6c68da0
CHO: Update copyright year in dockerfile
cortadocodes Mar 26, 2024
1880475
ENH: Get dockerfile if running workflow on an older version
cortadocodes Mar 26, 2024
ebbc2d9
OPS: Use correct docker action versions
cortadocodes Mar 26, 2024
da484ff
OPS: Use environment context instead of environment variables
cortadocodes Mar 26, 2024
c3f105c
ENH: Use `--no-install-recommends` in dockerfile
cortadocodes Mar 26, 2024
dbdcd6b
OPS: Factor out and fix docker repository in docker workflow
cortadocodes Mar 26, 2024
0eae5b5
OPS: Add comment explaining Dockerfile download step
cortadocodes Mar 27, 2024
5a38b4b
OPS: Rename environment variable for consistency
cortadocodes Mar 27, 2024
1a270fa
CHO: Move `.idea` into correct section of `.gitignore`
cortadocodes Mar 27, 2024
061bc25
ENH: Add 2016 to start of copyright notice in Dockerfile
cortadocodes Mar 27, 2024
dc671e9
OPS: Build docker image for `linux/aarch64` too
cortadocodes Mar 27, 2024
b6f9d8e
OPS: Add description to docker workflow
cortadocodes Mar 27, 2024
0c858fa
OPS: Add automatic docker build on merge into `main` from RC branches
cortadocodes Mar 27, 2024
86f3f12
OPS: Add `test-build-docker-image` workflow
cortadocodes Mar 27, 2024
68605cb
ENH: Use long-term-support ubuntu base by default
cortadocodes Mar 28, 2024
2195efa
DOC: Update documentation
cortadocodes Mar 28, 2024
631a44d
DOC: Update dockerfile readme
cortadocodes Mar 28, 2024
11ae1b8
DOC: Fix link in docs
cortadocodes Mar 28, 2024
bdd085b
OPS: Fix version extraction
cortadocodes Mar 28, 2024
c2e744f
OPS: Use extracted tag in test workflow
cortadocodes Mar 28, 2024
58155a4
OPS: Fix tag extraction in automated docker workflow
cortadocodes Mar 28, 2024
ea169e0
Merge pull request #2129 from deslaughter/b/setup-python_cache_failure
andrew-platt Mar 28, 2024
bc5617a
Merge pull request #2130 from andrew-platt/f/Docs_testing
andrew-platt Mar 28, 2024
531dbe9
Update changelog with recent rc-3.5.3 additions
andrew-platt Mar 28, 2024
9ea9441
Remove linking of implicit Fortran libraries.
jrood-nrel Apr 1, 2024
5a0cf8b
SrvD: Fix seg fault if blade StC used while writing summary file
andrew-platt Apr 1, 2024
0b594dd
Update changelog with this PR.
andrew-platt Apr 1, 2024
c5ff09d
Merge pull request #2134 from andrew-platt/b/SrvD_SumFileSegFault
andrew-platt Apr 1, 2024
4f6be20
Changelog: fix entry in 3.5.3 changelog
andrew-platt Apr 1, 2024
8d16cea
Docs: fix rendering of docker commands
andrew-platt Apr 1, 2024
7281803
ADI: adilib was getting included in aerodynlib
andrew-platt Apr 1, 2024
0aca3d0
ENH: Build FAST.Farm in docker image by default
cortadocodes Apr 2, 2024
bd090f0
DEP: Replace `libblas-dev` and `liblapack-dev` with `libopenblas-dev`
cortadocodes Apr 2, 2024
96d0e5e
DOC: Update readme with new cmake default arguments
cortadocodes Apr 2, 2024
c185a0a
REF: Move `Dockerfile` and readme up one directory
cortadocodes Apr 2, 2024
d0ac94b
ENH: Use `nrel` docker and github repository
cortadocodes Apr 2, 2024
4337738
FIX: Add missing packages to final image
cortadocodes Apr 2, 2024
90ad82a
MRG: Merge remote-tracking branch 'upstream/rc-3.5.3' into update-doc…
cortadocodes Apr 2, 2024
5f518a6
Merge pull request #2136 from andrew-platt/b/ADI_cmake_segfaults_OneA…
andrew-platt Apr 2, 2024
5d17a91
Merge pull request #2133 from jrood-nrel/jrood/fix-upstream-linking
andrew-platt Apr 2, 2024
e18dc41
Remove linking of implicit Fortran libraries.
jrood-nrel Apr 1, 2024
fcb2be9
FIX: Remove old dockerfile
cortadocodes Apr 2, 2024
8ea0b9d
Docs: update changelog for PR #2138
andrew-platt Apr 2, 2024
7fb40b0
REF: Combine `make` commands in dockerfile
cortadocodes Apr 2, 2024
db131b1
ENH: Turn off double precision docker builds by default
cortadocodes Apr 2, 2024
85ee2dc
Merge pull request #2138 from andrew-platt/b/cmake_ImplicitLinking
andrew-platt Apr 2, 2024
2784512
ADI: disable OMP in AeroDyn_Inflow.f90
andrew-platt Apr 2, 2024
668607e
Merge pull request #2140 from andrew-platt/b/IntelLLVMsegfault
andrew-platt Apr 2, 2024
b100421
FIX: Revert to single `make` command in dockerfile
cortadocodes Apr 4, 2024
015bdd1
adding GH container registry to the workflows
mayankchetan Apr 4, 2024
2bc30e2
Changing to auto generated token
mayankchetan Apr 4, 2024
f08795d
adding permissions for GHCR and Commenting out dockerhub login until …
mayankchetan Apr 4, 2024
f03df27
Merge pull request #2139 from octue/final-dockerfile-updates
andrew-platt Apr 4, 2024
a56bcc8
correcting GH registry link
mayankchetan Apr 4, 2024
4ac6c8a
Merge pull request #2141 from mayankchetan/ghcr-actions
andrew-platt Apr 4, 2024
612915b
Adding Hyperlink to appendixD.rst
reilandsberger Apr 5, 2024
43866be
Removing the unnecessary undercase
reilandsberger Apr 5, 2024
d4214da
Merge pull request #2144 from reilandsberger/rlandsbe-readthedocs-pat…
andrew-platt Apr 5, 2024
86be053
Docs: docker from GitHub container repo
andrew-platt Apr 5, 2024
368c6b2
docs: update changelog
andrew-platt Apr 5, 2024
8242f76
Docs: set to `latest` for all example docker commands
andrew-platt Apr 5, 2024
d5ce801
Merge pull request #2145 from andrew-platt/docs/update_for_3.5.3_release
andrew-platt Apr 11, 2024
2166f9f
GH actions: build docker on release instead of merge
andrew-platt Apr 11, 2024
26d570f
Merge pull request #2154 from andrew-platt/f/docker_on_release
andrew-platt Apr 11, 2024
eabd6b5
Update r-test pointer to v3.5.3 tag
andrew-platt Apr 11, 2024
6a7a543
Merge pull request #2121 from OpenFAST/rc-3.5.3
andrew-platt Apr 11, 2024
2303ded
Merge remote-tracking branch 'OpenFAST/main' into m/3.5.3_to_dev
andrew-platt Apr 12, 2024
0e68137
Update iTurb indexing in FAST_Library.f90 FSI CFD funcs (See Issue #2…
deslaughter Apr 16, 2024
ce99824
FAST_Library: linting and a few additional comments
andrew-platt Apr 16, 2024
31e9c74
Update r-test
andrew-platt Apr 16, 2024
00ba494
Merge pull request #2156 from OpenFAST/m/3.5.3_to_dev
andrew-platt Apr 17, 2024
4aa99b3
Merge remote-tracking branch 'OpenFAST/dev' into m/3.5.3_dev_to_dev-u…
andrew-platt Apr 17, 2024
0a5a1be
Update a few lin reg tests
andrew-platt Apr 17, 2024
82327e3
Disable cases 5MW_Land_Linear_Aero and 5MW_Land_BD_Linear_Aero
andrew-platt Apr 17, 2024
eb59957
AWAE: use MHK_None flag internally
andrew-platt Apr 22, 2024
6be1288
Adjust formatting of ED tab in OutListParameters.xlsx
andrew-platt Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# System, cache and editor files
**/__pycache__
**/.DS_Store

.editorconfig
.idea
.git
.github
.gitignore
.pytest_cache
.pre-commit-config.yaml
.readthedocs.yml
.coverage
Procfile
README.md

# Never bake in environment variables
.env
.env*
google_credentials.json
# See: https://github.com/google-github-actions/auth/issues/123
gha-creds-*.json
gcp-creds-*.json

.devcontainer/.zsh_history
share/docker
57 changes: 19 additions & 38 deletions .github/workflows/automated-dev-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ jobs:
products: Simulink
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
- name: Setup workspace
Expand Down Expand Up @@ -137,8 +136,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
- name: Setup workspace
Expand Down Expand Up @@ -187,8 +185,7 @@ jobs:
products: Simulink
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev # gcovr
Expand Down Expand Up @@ -242,8 +239,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -280,8 +276,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -318,8 +313,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand All @@ -344,7 +338,7 @@ jobs:
### BUILD AND TEST JOBS

build-test-uadriver-debug:
# UA driver requires -DUA_OUTS, cannot be compiled with other
# UA driver used to require -DUA_OUTS
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand All @@ -358,8 +352,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev
- name: Setup workspace
Expand All @@ -379,7 +372,6 @@ jobs:
-DVARIABLE_TRACKING=OFF \
-DBUILD_TESTING:BOOL=ON \
-DCTEST_PLOT_ERRORS:BOOL=ON \
-DCMAKE_Fortran_FLAGS="-DUA_OUTS=ON" \
${GITHUB_WORKSPACE}
- name: Build all
working-directory: ${{runner.workspace}}/openfast/build
Expand Down Expand Up @@ -420,8 +412,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -478,8 +469,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -539,8 +529,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3" vtk
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -587,8 +576,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -721,8 +709,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -771,8 +758,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -821,8 +807,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -871,8 +856,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -921,8 +905,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -971,8 +954,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down Expand Up @@ -1020,8 +1002,7 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y libopenblas-dev libopenblas-openmp-dev
sudo apt-get install -y libhdf5-dev libnetcdf-dev libopenmpi-dev libyaml-cpp-dev
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/build-docker-image-automatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This workflow builds an OpenFAST docker image for the linux/amd64 and linux/aarch64 architectures on merge into
# `main` from a release candidate branch. The image is tagged both with "latest" and the version extracted from the
# release candidate branch's name (e.g. "rc-3.5.3") before being pushed to the `nrel/openfast` repository. The build
# cache is stored in GitHub actions.
name: build-docker-image-automatic

on:
release:
types:
- released

jobs:
build-and-push:
runs-on: ubuntu-latest
timeout-minutes: 300
env:
DOCKERFILE_PATH: share/docker/Dockerfile
DOCKERHUB_REPOSITORY: nrel/openfast
GH_REGISTRY: ghcr.io/OpenFAST/openfast
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# Commenting out until we get the NREL DockerHub credentials
# - name: Log in to DockerHub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.GH_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract tag from release candidate branch name
id: extract-tag
run: echo "openfast-tag=$(expr substr "${{ github.head_ref }}" 4 100)" >> $GITHUB_OUTPUT

- name: Build and push to registry
uses: docker/build-push-action@v5
with:
context: .
file: ${{ env.DOCKERFILE_PATH }}
platforms: linux/amd64,linux/aarch64
tags: |
${{ env.GH_REGISTRY }}:${{ steps.extract-tag.outputs.openfast-tag }},${{ env.DOCKERHUB_REPOSITORY }}:latest
# ${{ env.DOCKERHUB_REPOSITORY }}:${{ steps.extract-tag.outputs.openfast-tag }},${{ env.DOCKERHUB_REPOSITORY }}:latest
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
72 changes: 72 additions & 0 deletions .github/workflows/build-docker-image-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# This manually-triggered workflow builds OpenFAST docker images for the linux/amd64 and linux/aarch64 architectures for
# the specified git ref (this can be a branch, tag, or commit hash). The image is tagged with the given tag and pushed
# to the `nrel/openfast` repository. The build cache is stored in GitHub actions.
name: build-docker-image-manual

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag for Docker image (excluding the "v" prefix e.g. 3.5.3)'
required: true
ref:
description: 'Branch, tag, or commit SHA to build from'
required: true
default: main

jobs:
build-and-push:
runs-on: ubuntu-latest
timeout-minutes: 300
env:
DOCKERFILE_PATH: share/docker/Dockerfile
DOCKERFILE_PERMALINK: https://raw.githubusercontent.com/OpenFAST/openfast/main/share/docker/Dockerfile
DOCKERHUB_REPOSITORY: nrel/openfast
GH_REGISTRY: ghcr.io/OpenFAST/openfast
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# Commenting out until we get the NREL DockerHub credentials
# - name: Log in to DockerHub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.GH_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# The updated Dockerfile is only available in the repository at the tag v3.5.3 and above. To build versions of
# OpenFAST that are below this version, the updated Dockerfile from that tag of the repository has to be acquired
# before building. For versions >= v3.5.3, the Dockerfile is already there so this step does nothing.
- name: Get Dockerfile for versions < 3.5.3
run: |
if [ ! -f ${{ env.DOCKERFILE_PATH }} ]; \
then wget -O ${{ env.DOCKERFILE_PATH }} ${{ env.DOCKERFILE_PERMALINK }}; \
fi

- name: Build and push to registry
uses: docker/build-push-action@v5
with:
context: .
file: ${{ env.DOCKERFILE_PATH }}
platforms: linux/amd64,linux/aarch64
tags: |
${{ env.GH_REGISTRY }}:${{ github.event.inputs.tag }}
# ${{ env.DOCKERHUB_REPOSITORY }}:${{ github.event.inputs.tag }}
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
38 changes: 38 additions & 0 deletions .github/workflows/test-build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow tests building an OpenFAST docker image for the linux/amd64 architecture on push to a release candidate
# branch. The build cache is stored in GitHub actions.
name: test-build-docker-image

on:
pull_request:
branches:
- main

jobs:
test-build:
if: startsWith(github.head_ref, 'rc-')
runs-on: ubuntu-latest
timeout-minutes: 300
env:
DOCKERFILE_PATH: share/docker/Dockerfile
DOCKERHUB_REPOSITORY: nrel/openfast
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Extract tag from release candidate branch name
id: extract-tag
run: echo "openfast-tag=$(expr substr "${{ github.head_ref }}" 4 100)" >> $GITHUB_OUTPUT

- name: Test building docker image
uses: docker/build-push-action@v5
with:
context: .
file: ${{ env.DOCKERFILE_PATH }}
platforms: linux/amd64
tags: ${{ env.DOCKERHUB_REPOSITORY }}:${{ steps.extract-tag.outputs.openfast-tag }}
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
Loading
Loading