Skip to content

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

Merged
andrew-platt merged 2 commits intoOpenFAST:rc-4.0.1from
andrew-platt:b/IntelOMP
Jan 10, 2025
Merged

[BugFix] OMP critical names preventing Intel+OMP compilation#2601
andrew-platt merged 2 commits intoOpenFAST:rc-4.0.1from
andrew-platt:b/IntelOMP

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