DataNodeExtractTrans implementation#3301
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3301 +/- ##
=======================================
Coverage 99.95% 99.95%
=======================================
Files 381 382 +1
Lines 54015 54107 +92
=======================================
+ Hits 53993 54085 +92
Misses 22 22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@sergisiso @arporter This is ready for a first review. The implementation is currently pretty small and neat - if you want more functionality testing let me know and I can add more. |
arporter
left a comment
There was a problem hiding this comment.
Thanks very much Aidan - as you say it's pleasingly simple. Also as you say, it could do with some more checks and associated tests :-)
On the naming front, I worry that the use of Extract will be confused with the existing ExtractTrans which is obviously quite different. IAAI (two of them) and it seems that IntroduceLocal/TemporaryTrans is a good alternative that doesn't involve "Extract".
Finally, (once everything else is done) I think it would be exciting (and possibly educational) to try this for real. I'm thinking we'd alter nemo/scripts/utils.py::normalise_loops so that it e.g. looks for any Calls which have array expressions as arguments.
…e into 1646_datanode_extract_trans
|
@arporter I think I fixed all the issues I found from the last review, ready for another look. |
arporter
left a comment
There was a problem hiding this comment.
Looking good @LonelyCat124 - I like your solution for the imported symbols.
I think it would be worth doing the renaming of the transformation now. Please could you also add it to the User Guide.
I've addded a real-life NEMO example to #1958 - please could you use that as the basis for an additional test?
|
@arporter Also moved to use allocatables and allocate the array as required so ready for a review now. |
arporter
left a comment
There was a problem hiding this comment.
Thanks Aidan. Just small things to tidy now. I've submitted the ITs again too.
|
@arporter Fixed up the remaining issues, hopefully ready for a final look. |
|
All looks good now, thanks very much Aidan. I've fired off the ITs one last (hopefully) time... |
arporter
left a comment
There was a problem hiding this comment.
ITs were all fine. Ready to go.
Initial implementation - transformation is quite straightforward so should be good for a review assuming CI is ok.