-
Notifications
You must be signed in to change notification settings - Fork 511
Release 4.0.3 #2740
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
Release 4.0.3 #2740
Conversation
There is a bug in 2024 and 2025 IFX compiler that creates a conflict with `-lm` and `-ldl` if `check uninit` is enabled.
Add "nouninit" to debug flags for IntelLLVM
The `close(Un)` is not atomic, so it may not have released the file before declaring the unit available. This can cause issues with opening a whole bunch of files simulataneously. There are other places that need this fix as well.
Increase length of error messages
generate BD files if fst_vt dictionary BD keys are not empty
Co-authored-by: Derek Slaughter <deslaughter@gmail.com>
Changed fileopenNWTCio_critical to fileopen_critical so all file open is the same OMP critical
Also remove from Read84AryWDefault. Somehow this was triggering a segfault with IFX. No idea how.
Segmentation faults can occur if the OMP PARALLEL DO has enough private memory per thread that it exceeds the default OMP_STACKSIZE="4 M". If this happens, `export OMP_STACKSIZE="32 M"` or suitably large value. Calculating the values for this don't exactly work out as I would expect, but are in the ballpark (see code note)
The routine isn't actually used... yet. But for completeness adding the critical around the close so it isn't an issue later when I actually use the routine
…ory leak with the IFX compiler.
Disable use of heap arrays for the Intel fortran compilers
Fix FAST.Farm issues with OMP (segfaults mostly)
deslaughter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
jjonkman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this release out!
bug in sim status days left
…tion build dependencies instead.
rthedin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Stress-tested it on a 114-turbine case for 10s. Everything is working as expected.
Fix VS build for FAST when using IFX Complier
Release 4.0.3
|
This was merged into |
|
THIS WAS MERGED!!!! Something on the backend at GH failed to show this as merged even though it was merged to main with commit 20632d7 on April 9, 2025. |
Feature or improvement description
Pull request to merge
rc-4.0.3intomainand create a tagged release for v4.0.3See the milestone and project pages for additional information
Test results, if applicable
See GitHub Actions
Release checklist:
AeroDisk_Driver_x64.exeAeroDyn_Driver_x64.exeAeroDyn_Driver_x64_OpenMP.exeAeroDyn_Inflow_c_binding_x64.dllAeroDyn_Inflow_c_binding_x64_OpenMP.dllBeamDyn_Driver_x64.exeDISCON.dll (x64)DISCON_ITIBarge.dll (x64)DISCON_OC3Hywind.dll (x64)DISCON_SC.dll (x64)FAST.Farm_x64.exeFAST.Farm_x64_OMP.exeFAST_SFunc.mexw64HydroDynDriver_x64.exeHydroDyn_C_Binding_x64.dllIinflowWind_c_binding_x64.dllInflowWind_Driver_x64.exeInflowWind_Driver_x64_OpenMP.exeMoorDyn_Driver_x64.exeMoorDyn_c_binding_x64.dllOpenFAST-Simulink_x64.dllopenfast_x64.exeSeaStateDriver_x64.exeSimpleElastoDyn_x64.exeSubDyn_x64.exeTurbsim_x64.exeUnsteadyAero_x64.exeChangelog
Overview
This release includes several bug fixes and improvements for FAST.Farm, including segmentation faults with large farms, file I/O collision fixes, increased error message length, and compile issues.
General
CMake Build System
#2709 Add "nouninit" to debug flags for IntelLLVM (@andrew-platt)
#2732 Disable use of heap arrays for the Intel fortran compilers (@deslaughter)
openfast_io
#2727 generate BD files if fst_vt dictionary BD keys are not empty (@mayankchetan)
Visual Studio build
#2742 Fix VS build for FAST when using IFX Complier (@deslaughter)
Solvers
FAST.Farm
#2711 Fix FAST.Farm issues with OMP (segfaults mostly) (@andrew-platt)
Module changes
NWTC library
#2710 Increase length of error messages (@andrew-platt)
#2741 bug in simulation status number of days left (@andrew-platt)
Input file changes
No input file changes are required from 4.0.2.