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

Use B4Ki to store array bounds during pack/restore of TurbineType to file #2519

Merged
merged 6 commits into from
Nov 16, 2024

Conversation

deslaughter
Copy link
Collaborator

This PR is ready to merge.

Feature or improvement description

Changes were made to the openfast-registry and ModRegGen.py to use B4Ki integer for storing array bounds when saving and restoring turbines to/from a file. This was necessary because the ROCm Flang compiler doesn't support lbound and ubound returning B8Ki integers in violation of the Fortran standard.

Impacted areas of the software

The main changes are in openfast-registry and ModRegGen.py to change the type on the array bounds. However, this change requires regenerating all of the *_Types.f90 files which results in a huge number of lines changed.

Additional supporting information

This branch has been tested and verified to work on the Frontier supercomputer where the issue was occurring.

@deslaughter deslaughter merged commit dc04b70 into OpenFAST:dev Nov 16, 2024
42 checks passed
@deslaughter deslaughter deleted the b/of_registry_B4Ki_bounds branch November 16, 2024 01:46
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.

2 participants