Add support for psyclone 3.3, nvfortran and amdflang#338
Add support for psyclone 3.3, nvfortran and amdflang#338Sergi Siso (sergisiso) wants to merge 10 commits into
Conversation
Thomas Bendall (tommbendall)
left a comment
There was a problem hiding this comment.
Looks fine from a code owner perspective. I'm not sure how it was previously compiling without r_def being imported!
|
Thomas Bendall (@tommbendall) |
That makes sense, thanks for explaining! |
Matthew Hambley (MatthewHambley)
left a comment
There was a problem hiding this comment.
Build system code owner saying "this looks okay."
|
Matthew Hambley (@MatthewHambley) I addressed your comments and merged with main. I don't think I can cover more bullet points form the description as I cannot launch the rose-stem tests myself, but let me know if there is something else needed. |
Matthew Hambley (MatthewHambley)
left a comment
There was a problem hiding this comment.
Code Owner (Build System) Review: Looks like there was a minor misunderstanding.
…rans in psyclone 3.3
Matthew Hambley (MatthewHambley)
left a comment
There was a problem hiding this comment.
Code owner (build system) happy with this.
Testing with PSyclone master on Azure SpiceChanges made to test PSyclone masterdiff --git a/rose-stem/site/meto/common/suite_config_azspice.cylc b/rose-stem/site/meto/common/suite_config_azspice.cylc
index 6af6a464e..94403b092 100644
--- a/rose-stem/site/meto/common/suite_config_azspice.cylc
+++ b/rose-stem/site/meto/common/suite_config_azspice.cylc
@@ -7,17 +7,22 @@
{% set azspice_base = 'umask 0022 ; '~
'module purge ; '~
- 'module use /home/users/lfricadmin/lmod ; ' %}
+ 'module use /home/users/lfricadmin/lmod ; '~
+ 'module use /home/users/lfricadmin/test_modules ; ' %}
-{% set azspice_compiler_gnu = 'module load lfric/vn3.1' %}
+{#% set azspice_compiler_gnu = 'module load lfric/vn3.1' %#}
+{% set azspice_compiler_gnu = 'module load lfric/vn3.2-rc1 ; '~
+ 'module load py-psyclone/master' %}
{% set azspice_run = 'ulimit -s unlimited' %}
{% set azspice_scitools = 'module load scitools/production-os47-1' %}
-{% set azspice_tech = 'module load lfric/vn3.1' %}
+{#% set azspice_tech = 'module load lfric/vn3.1' %#}
+{% set azspice_tech = 'module load lfric/vn3.2-rc1 ; '~
+ 'module load py-psyclone/master' %}
-{% set azspice_coupled_gnu = 'ml xios/2701-oasis ; '~
+{% set azspice_coupled_gnu = 'ml xios/2.2701-oasis ; '~
'ml oasis/3-mct5.0' %}I would recommend making these changes to facilitate testing until the full -{% set azspice_compiler_gnu = 'module load lfric/vn3.1' %}
+{% set azspice_compiler_gnu = 'module load lfric/vn3.2' %}
-{% set azspice_tech = 'module load lfric/vn3.1' %}
+{% set azspice_tech = 'module load lfric/vn3.2' %}
-{% set azspice_coupled_gnu = 'ml xios/2701-oasis ; '~
+{% set azspice_coupled_gnu = 'ml xios/2.2701-oasis ; '~
'ml oasis/3-mct5.0' %}Note that Testing outcomeChecked out the P.S. I checked the "PSyclone Approval" tick box as a TCD Team representative. |
|
Iva Kavcic (@TeranIvy) Note that the changes in this PR also work with the previous release of PSyclone and the tests should succeed without the rose-stem changes. I am saying this in case you already want to merge this to keep it out of the way and leave the remaining psyclone update conversation for the LFRic_apps PR (that one is not backwards compatible). |
|
Iva Kavcic (@TeranIvy) I have resolved the conflicts with main. Can you test it with rose-stem without moving to psyclone master? |
Sergi Siso (@sergisiso), I tested the fork with PSyclone master (on Azure Spice, I also asked the SSD Team about merging this PR without waiting for the Apps PR and they're ok with it. We will need another Core PR for the change of software stack (changes as in my comment above). |
PR Summary
Sci/Tech Reviewer:
Code Reviewer: Andrew Coughtrie (@andrewcoughtrie)
Add support for amdflang and provide workarounds for the nvfortran limitations discussed with Hacka Fett (@christophermaynard)
Also add support for the upcoming psyclone release (3.3) and update broken psyclone links and oudated names. These are not breaking changes, the code remains compabible with the current psyclone release 3.2.2.
Code Quality Checklist
Testing
trac.log
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review