Upgrading LFRic code and software stack to PSyclone release 2.5.0 (Wednesday 21 February 2004) #143
TeranIvy
announced in
Announcements
Replies: 1 comment
-
|
The LFRic trunk and LFRic software stack on Met Office platforms are now upgraded. Please have a look at guidance for Phase 3 in the description above. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Outline
On Wednesday 21 February 2024 LFRic code and sofware stack are being upgraded to the PSyclone release 2.5.0.
PSyclone release 2.5.0 has a number of enhancements and bug fixes for the LFRic API and PSyAD, some of them which are highlighted below.
Changes in the core PSyclone functionality and PSyAD are described in the PSyclone 2.5.0 release information.
What is changing
LFRic build system
Deprecating PSyclone 2.3.1 with fparser 0.0.16 environment and moving to PSyclone 2.5.0 with fparser 0.1.4 environment.
LFRic code
Rose configuration files that specify versioned compiler environments on all MO platforms for the specific versions:
infrastructure/rose-stem/inc/targets.rcfor all LFRic applications exceptlfricinputsandlfric_coupled;lfricinputs/rose-stem/family-common.rcfor thelfricinputsapplication;miniapps/lfric_coupled/rose-stem/opt/rose-suite-meto-xc40.confandminiapps/lfric_coupled/rose-stem/opt/rose-suite-meto-xcs.conffor thelfric_coupledapplication.Update of a local copy of PSyclone configuration file, psyclone.cfg, stored in LFRic trunk for compatibility with PSyclone 2.5.0.
How it affects development
The upgrades are not backward-compatible and after they are implemented the LFRic trunk will not compile with older PSyclone releases. Development branches will need to be updated with the upgraded trunk.
More information about the compatibility of LFRic trunk versions with different compiler and [[wiki:PSycloneTool|PSyclone]] releases can be found in the LFRic versions compatibility wiki (requires MOSRS log-in).
Timeline
LFRic trunk freezes on Wednesday 21 February 2024. Expected duration of the upgrade until everything is properly tested is about 2-3 days.
All the steps and upgrades will be announced. More specific information for the Met Office and external developers is given below.
Phase 1: LFRic trunk frozen
What is happening
What to do
Met Office developers: No changes required due to use of the versioned compiler environments in LFRic trunk.
External developers: No changes required.
Phase 2: Upgrade of LFRic code
What is happening
What to do
Met Office developers: It is advisable to not yet update your development branches. If you do want to update your branches with the upgraded trunk then look into the Phase 4 below. However, bear in mind that there is a possibility of additional fixes and changes.
External developers: As for the MO developers, it is advisable to not yet update your development branches (or trunk working copies) and to continue working as normal using the PSyclone 2.3.1 release. If you do want to make the upgrade look into the Phase 4 below.
Phase 3: Upgrade of LFRic build system
What is happening
What to do
Met Office developers: No changes are required if you are running test suite (uses versioned environments). If you are building code from the command line using older PSyclone 2.3.1, follow the instructions for "Command-line builds" below.
If you want to update your branches with the upgraded trunk then look into the Phase 4 below. However, it is advisable to wait until the LFRic trunk is open for commits.
External developers: No changes required unless you are building LFRic from command line using older PSyclone 2.3.1 on MONSooN. In that case, follow the instructions for XCS/MONSooN (in "Command-line builds" below).
If you want to update your branches with the upgraded trunk then look into the Phase 4 below. However, it is advisable to wait until the LFRic trunk is open for commits.
Phase 4: LFRic trunk open
What is happening
What to do
Met Office developers: Update your LFRic development branches with the upgraded trunk.
External developers: Upgrade your PSyclone installation to PSyclone 2.5.0 (see "External developers" below). Update your LFRic development branches (or trunk working copies) with the upgraded trunk.
Guidance for developers
Met Office developers
As said in Phase 2 and Phase 3, running the Rose test suite during code freeze will continue to work when the build system defaults are changed from PSyclone 2.3.1 to PSyclone 2.5.0.
Developers are advised to update their branches with the trunk after it is upgraded to PSyclone 2.5.0.
Command-line builds
The command-line builds may fail if the specific version of a compiler environment is not loaded.
Please refer to this MOSRS LFRic wiki for more details on using the compiler environments with appropriate PSyclone version during the upgrade. The instructions are available for Spice/VDI Desktop, Cray XC40 and Cray XCS/MONSooN.
External developers
The upgrade of LFRic build system defaults will not affect the external developers, however the change of the LFRic trunk will. As said above, the development branches updated with the modified trunk will fail to compile with older PSyclone.
In practice, this means upgrading PSyclone installation to PSyclone 2.5.0 (
pip install psycloneorpip install --upgrade psyclonewill sort out all prerequisites, as described here).Note, there is no need to modify PSyclone installations with LFRic-specific settings as of PSyclone release 2.4.0. LFRic now stores LFRic-specific PSyclone settings in its repository.
Developers are advised to update their branches with the trunk after it is upgraded to PSyclone 2.5.0.
Beta Was this translation helpful? Give feedback.
All reactions