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

[BugFix] OMP critical names preventing Intel+OMP compilation #2601

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

andrew-platt
Copy link
Collaborator

Ready to merge

Feature or improvement description
Change the !$OMP critical(fileopen) statements to !$OMP critical(fileopen_critical) and fix a few misnamed critical statements

A !$OMP critical(filename) in AD was causing Intel to fail to compile with OMP enabled due to filename being used as a variable in the same routine (GCC didn't care)

Related issue, if one exists
After the release of 4.0.0, it was discovered that Intel compilers could not compile with OMP enabled.

Impacted areas of the software
Compilation using Intel and OpenMP only.

Test results, if applicable
No changes

Change the `!$OMP critical(fileopen)` statements to `!$OMP critical(fileopen_critical)` and fix a few misnamed critical statements

A `!$OMP critical(filename)` in AD was causing Intel to fail to compile with OMP enabled due to `filename` being used as a variable in the same routine (GCC didn't care)
@andrew-platt andrew-platt merged commit 2f320ee into OpenFAST:rc-4.0.1 Jan 10, 2025
22 checks passed
@andrew-platt andrew-platt deleted the b/IntelOMP branch January 15, 2025 22:21
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.

1 participant