-
Notifications
You must be signed in to change notification settings - Fork 461
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
FAST.Farm #2053
Comments
For compliteness |
Dear @ILDENIEL, I'm not sure I understand. Are you saying a FAST.Farm model that runs without issue in OpenFAST v3.4.1 triggers a stack overflow error when running in OpenFAST v3.5.2? If so, can you share the full set of input files for both versions? If not, please clarify. Best regards, |
Dear @jjonkman,
Thanks for your support. |
Thanks for the set of input files. @jjonkman confirmed that it isn't an obvious configuration issue, so there is a bug in the code someplace causing the stack overflow. I will take a look at it and report what I figure out. |
Thank you for your support @andrew-platt @jjonkman, |
It seems like version 3.5.1 does not have this problem, but 3.5.0 and 3.5.2 have. Just FYI. |
We think this is fixed with #2118. Please reopen if you have issues with v3.5.3 (will be posted later this week). |
This apparently was not fixed with #2118 as the issue still exists in the 3.5.3 release. |
My dear |
We have been having issues with stack overflows in FAST.Farm when large wind grids were passed to AWAE. This was eventually tracked down to line 1078 in AWAE.f90 which reads: `m%u_IfW_Low%PositionXYZ = p%Grid_low` The `p%Grid_low` is of unknown size at compile time, but can be extremely large (3x160000 or more). This copy involves a temporary array and would normally be handled on the stack, but could result in an overflow for some models. By setting the `/heap-arrays:1000` any operation resulting in a temporary array of unknown array size at compile time will use the heap for the temprary array, and as will any array known at compile time to be larger than 1000 kB. Testing shows that this fixes issue OpenFAST#2053, and will likely also solve OpenFAST#843 and OpenFAST#2241 See https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-2/heap-arrays.html for reference.
This should now be fixed with #2452. Closing this issue for now (we can reopen again if necessary). |
Hello everyone,
I'm trying to run FAST.Farm but an error occurred.
Before downloading the newest version I've used version 3.4.1 and FF ran without any problem.
OpenFAST v3.5.2 runs smoothly as always, what could be the problem?
Thanks in advance
The text was updated successfully, but these errors were encountered: