Skip to content

Conversation

deslaughter
Copy link
Collaborator

This PR is ready to merge.

Feature or improvement description

This PR fixes a bug in the dev-unstable-pointers branch where writing the checkpoint files would cause empty fort.# files to be generated in the same directory as the checkpoint files. This was caused by cleanup code being called on the registry file multiple times. Code was added to return early if the same file is closed multiple times. Also, the cleanup function was removed from FAST_CreateCheckpoint_T as it is no longer needed.

Impacted areas of the software
ModReg.f90 and Fast_Subs.f90

…ort.# files.

Code was added to return early if the same file is closed multiple times. Also, the cleanup function was removed from FAST_CreateCheckpoint_T as it is not needed.
@deslaughter deslaughter added this to the v4.0.0 milestone May 6, 2024
@deslaughter deslaughter requested a review from andrew-platt May 6, 2024 18:18
@deslaughter deslaughter self-assigned this May 6, 2024
…_Restart in serial, improve logic in CloseRegFile
@deslaughter deslaughter merged commit a9192ba into OpenFAST:dev-unstable-pointers May 6, 2024
@deslaughter deslaughter deleted the b/chkp_file_close branch May 6, 2024 19:45
@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