You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A file from the Hackathon unearthed a strange issue in the variable version pass. It is some kind of KeyError when accessing a dictionary. It appears that a variable ID is missing when it should be.
The example can be reproduced using this small Fortran file
The text was updated successfully, but these errors were encountered:
It appears that when attempting to populate an interface in the Variable version pass using globals, if a global isn't used in the function that we're in then it breaks.
titomeister
added
bug
Something isn't working
Proposed
This is a label for proposed future issues to be addressed beyond ASKEM phase 1
and removed
Proposed
This is a label for proposed future issues to be addressed beyond ASKEM phase 1
labels
Mar 5, 2024
After some more investigation we discovered that the CAST produced by fortran2cast.py had a discrepancy where an extra Name node was appearing at the end of the CAST. We believe this is the root cause for the error in VariableVersionPass.py. Vincent's working on a fix on the Fortran to CAST generation end.
## Summary of Changes
### Documentation Updates
Updates the endpoint documentation for the following Code2fn services
- code2fn
- execution_engine
- comment_extractor
- workflows
Additionally, adds a new page to the Github site documenting how to add
support for dependency generation for new languages.
### Unit Tests
Adds unit tests for Fortran->CAST to reach parity with Python unit
tests.
### Bug fixes
Fixes bug where extra Name node could be generated at the end of
function definitions
Fixes bug in Loop generation where the wrong loop type could be ingested
### Related issues
#849#858#839Resolves#858Resolves#839275bd97
A file from the Hackathon unearthed a strange issue in the variable version pass. It is some kind of KeyError when accessing a dictionary. It appears that a variable ID is missing when it should be.
The example can be reproduced using this small Fortran file
The text was updated successfully, but these errors were encountered: