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

Windows VS build -- stack overflow with FAST.Farm #2607

Merged

Conversation

andrew-platt
Copy link
Collaborator

@andrew-platt andrew-platt commented Jan 15, 2025

Ready to merge

Feature or improvement description
We have had issues with stack overflows with FAST.Farm using VS + Intel compiled FF on Windows. This is the latest round of trying to address the issue.

Related issue, if one exists
#2452 -- previous attempt at fixing this issue
#2604 -- latest bug report on the issue for v4.0.0

Impacted areas of the software
Memory allocation for FAST.Farm built on Windows using VS + Intel.

Additional supporting information
In #2452, we added /heap-arrays:1000 to set all arrays allocated larger than 1 Kb to be on the heap. However, according to the last comment on this post: https://community.intel.com/t5/Intel-Fortran-Compiler/memory-usage/m-p/1137047/highlight/true, this doesn't necessarily work as intended. So we are setting it to 0 as recommended, and also increasing the stack size by 10x.

Test results, if applicable
No tests are affected.

@andrew-platt andrew-platt changed the base branch from main to rc-4.0.1 January 15, 2025 23:12
@andrew-platt andrew-platt self-assigned this Jan 16, 2025
@andrew-platt andrew-platt added this to the v4.0.1 milestone Jan 16, 2025
@andrew-platt andrew-platt merged commit f0a5d30 into OpenFAST:rc-4.0.1 Jan 21, 2025
67 checks passed
@andrew-platt andrew-platt mentioned this pull request Jan 30, 2025
29 tasks
@andrew-platt andrew-platt deleted the b/WinIntel_StackOverflow branch February 5, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants