Skip to content

feat(release): openfast.exe in double precision - #200

Merged
SMI-Lab-Inha merged 2 commits into
devfrom
feat/release-double
Dec 4, 2026
Merged

SMI-Lab-Inha merged 2 commits into
devfrom
feat/release-double

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Why

The release openfast.exe has been OpenFAST's single-precision build: the Visual Studio Release configuration, ReKi = 4 bytes. ElastoDyn, AeroDyn and HydroDyn then keep their states, meshes and outputs to 7 digits. Every OpenFAST validation of CableDyn ran in double precision, as every CMake build of OpenFAST does. The single-precision mesh already forced the linearisation to take its output differences from CableDyn's own double-precision loads (0.4.0).

What

  • release/build_static_windows.ps1 takes -OpenFASTConfiguration: Double_Release (the default) or Release. It builds openfast.exe from that solution configuration.
    • The CableDyn adapter template already carries Double_Release (with RealKIND8).
    • The integration links the static core into every link configuration, and Double_Release has whole-program optimisation, as Release does.
  • New gate: the build fails unless openfast.exe -v reports the precision of the configuration (Precision: double).
  • RELEASE.md, the coupling, OpenFAST and installation pages, the README and the CHANGELOG name the double-precision executable. The linearisation check of RELEASE.md runs on it.

Results

The release workflow on this branch (run 47244174771) passed every gate of build_static_windows.ps1:

Gate Result
OpenFAST solution build (`Double_Release x64`)
Identity and precision OpenFAST-v5.0.0-CableDyn-0.5.0, Precision: double
Imports, stack, processor check, exit contract, memory growth as for the single-precision build
CompMooring = 5 smoke t = 0 fairlead tensions 2.43621 / 2.43561 / 2.43561 MN, the values of the single-precision 0.5.0 asset to every printed digit; normal termination

Downloaded, the executable reports Precision: double, and the four files match the manifest.

build_static_windows.ps1 takes -OpenFASTConfiguration (Double_Release,
the default, or Release) and builds openfast.exe from that Visual Studio
solution configuration; Double_Release is OpenFAST's double-precision
build (ReKi = 8 bytes), as its CMake builds and every OpenFAST validation
of CableDyn. The build fails unless openfast.exe -v reports the
precision of the configuration. The CableDyn adapter template already
carries Double_Release, and the integration adds the static core to
every link configuration.

RELEASE.md, the coupling, OpenFAST and installation pages, the README and
the CHANGELOG name the double-precision executable.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T04:04:59.403112Z f0b6ae0 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@read-the-docs-community

read-the-docs-community Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

📖 4 files modified


Preview · build overview · CableDyn · built Dec. 4, 2026, 3:58 a.m. UTC

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 57fbf5ccd9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…check

test_windows_release_is_publicly_reproducible looked for the literal
Release|x64 target in build_static_windows.ps1. It now checks that the
script builds the configured solution target, that Double_Release is the
default, and that it checks the precision openfast.exe reports.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: f0b6ae040a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@SMI-Lab-Inha
SMI-Lab-Inha merged commit 0fcd75d into dev Dec 4, 2026
22 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the feat/release-double branch December 4, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant