Skip to content

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

Merged
deslaughter merged 6 commits intoOpenFAST:devfrom
deslaughter:b/of_registry_B4Ki_bounds
Nov 16, 2024
Merged

Use B4Ki to store array bounds during pack/restore of TurbineType to file#2519
deslaughter merged 6 commits intoOpenFAST:devfrom
deslaughter:b/of_registry_B4Ki_bounds

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
@deslaughter deslaughter deleted the b/of_registry_B4Ki_bounds branch November 16, 2024 01:46
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
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

Comments