Opened 3 years ago

Closed 3 years ago

#2328 closed help (fixed)

Upgrade the suite for running with UM model of new version

Reported by: jfgu Owned by: annette
Component: UM Model Keywords: idealised
Cc: Platform: ARCHER
UM Version: 10.9


Dear CMS help desk,

I have a suite u-am965 running well with UM10.6. I am now planning to run the simulation with UM10.9 using the same configuration. I have modified some setups that seems directly associated with the version of model, as follows:

1. fcm_make
    meta: um-fcm-make/vn10.9
2. fcm_make:env
    config_revision: @vn10.9
3. fcm_make:env
    um_rev: vn10.9
    jules_rev: um10.9
    socrates_rev: um10.9
4. suite conf: Build and run switches
    UM model version: '10.9'
5. um: 
    meta: um-atmos/vn10.9
6. um:env
    VN(ctldata version number): 10.9

The new suite is u-as700.

However, the suite fails at the stage of compiling the model. The errors are as following link:

Or as follows:

[FAIL] ftn -oo/ios_constants.o -c -I./include -s default64 -e m -J ./include -I/work/y07/y07/umshared/gcom/cce8.5.8/gcom6.4/archer_xc30_cce_mpp/build/include -I/work/y07/y07/umshared/shumlib/shumlib-2017.10.1/ncas-xc30-crayftn-8.5.8-craycc-8.5.8/openmp/include -O2 -Ovector1 -hfp0 -hflex_mp=strict -h omp -hlist=ad /work/n02/n02/jfgu/cylc-run/u-as700/share/fcm_make/preprocess-atmos/src/um/src/io_services/common/ios_constants.F90 # rc=1
[FAIL] ftn-855 crayftn: ERROR IOS_CONSTANTS, File = ../../../../../fs2/n02/n02/jfgu/cylc-run/u-as700/share/fcm_make/preprocess-atmos/src/um/src/io_services/common/ios_constants.F90, Line = 12, Column = 8 
[FAIL]   The compiler has detected errors in module "IOS_CONSTANTS".  No module information file will be created for this module.
[FAIL] ftn-1777 crayftn: ERROR IOS_CONSTANTS, File = ../../../../../fs2/n02/n02/jfgu/cylc-run/u-as700/share/fcm_make/preprocess-atmos/src/um/src/io_services/common/ios_constants.F90, Line = 15, Column = 5 
[FAIL]   File "/work/y07/y07/umshared/gcom/cce8.5.8/gcom6.4/archer_xc30_cce_mpp/build/include/MPL.mod" contains modules and/or submodules.  The compiler being used is older than the compiler that created this file.   The file was created with version 103 from release 8.5.
[FAIL] ftn-113 crayftn: ERROR IOS_CONSTANTS, File = ../../../../../fs2/n02/n02/jfgu/cylc-run/u-as700/share/fcm_make/preprocess-atmos/src/um/src/io_services/common/ios_constants.F90, Line = 154, Column = 52 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "MPL_INTEGER4".
[FAIL] ftn-868 crayftn: ERROR IOS_CONSTANTS, File = ../../../../../fs2/n02/n02/jfgu/cylc-run/u-as700/share/fcm_make/preprocess-atmos/src/um/src/io_services/common/ios_constants.F90, Line = 154, Column = 52 
[FAIL]   "MPL_INTEGER4" is used in a constant expression, therefore it must be a constant.
[FAIL] Cray Fortran : Version 8.4.1 (u84058f84253i84306p84453a84011e84007z84453)
[FAIL] Cray Fortran :               (x8412r84005w84007t8415b84049)
[FAIL] Cray Fortran : Sun Nov 26, 2017  16:10:11
[FAIL] Cray Fortran : Compile time:  0.0320 seconds
[FAIL] Cray Fortran : 192 source lines
[FAIL] Cray Fortran : 4 errors, 0 warnings, 0 other messages, 0 ansi
[FAIL] Cray Fortran : "explain ftn-message number" gives more information about each message.
[FAIL] compile    0.1 ! ios_constants.o      <- um/src/io_services/common/ios_constants.F90
[FAIL] ! FORT2C_INTERFACES.mod: depends on failed target: fort2c_interfaces.o
[FAIL] ! IOS_CONSTANTS.mod   : depends on failed target: ios_constants.o
[FAIL] ! SETUP_NAMELIST.mod  : depends on failed target: setup_namelist.o
[FAIL] ! fort2c_interfaces.o : update task failed
[FAIL] ! ios_constants.o     : update task failed
[FAIL] ! setup_namelist.o    : update task failed

I don't know much about the compiling. Please could someone help me with this? Thank you very much!

Best regards

Change History (6)

comment:1 Changed 3 years ago by ros

  • Owner changed from um_support to ros
  • Status changed from new to accepted

Hi Jian-Feng,

You will need to use the rose upgrade macros to upgrade UM versions. It is not a simple case of changing occurrences of vn10.6 to vn10.9.

cd ~/roses/<suite-id>/app/fcm_make
rose app-upgrade -a vn10.9
cd ~/roses/<suite-id>/app/um
rose app-upgrade -a vn10.9

We do not guarantee that this will work as you are trying to upgrade several UM versions. You can give it a go, however, I would strongly recommend to find an already existing suite at UM10.9 rather than upgrade.


comment:2 Changed 3 years ago by annette

  • Owner changed from ros to annette
  • Status changed from accepted to assigned

Hi Jian-Feng,

The compile error you are getting is because 10.9 has been set up to work with a different version of the compiler than you are using. In #2251 I advised you to switch to cce/8.4.1 to avoid a seg fault. This may not be needed when you upgrade, so I would suggest you first try without this.

So in your suite.rc file instead of

module load cdt/15.11
module load cray-netcdf/4.3.2
module load cray-hdf5/1.18.13


module load cray-netcdf/
module load cray-hdf5/

However you do also need to consider the best way to update the suite to 10.9. Have you been in touch with the idealised model developers? The upgrade macros are the minimum required to update UM version - there may be other changes needed. As Ros says, 10.6 to 10.9 is a big jump and it may be best to start from an existing suite and then add in any additional changes you need.


comment:3 Changed 3 years ago by annette

  • UM Version changed from <select version> to 10.9

comment:4 Changed 3 years ago by jfgu

  • UM Version changed from 10.9 to <select version>

Hi Ros and Anette,

Thanks a lot.

Actually, I do have a suite for UM10.9. But it is run at Met Office. I don't konw how to make the suite work on ARCHER. My understanding is I need to modify the suite.rc file. However, I am not familiar with the script in suite.rc and don't know which part I should modify. Therefore, I switch to setup the configuration in older UM version as that in suite for UM10.9 and tried to start upgrading the suite.

How can I transfer the suite with UM10.9 ran at Met Office to work on ARCHER?


comment:5 Changed 3 years ago by jfgu

Hi Ros and Annette,

The suite with UM10.9 is u-as554, which I copied from Rachel Stratton at Met Office. She has no idea of how to make it work on ARCHER.


comment:6 Changed 3 years ago by annette

  • Keywords idealised added
  • Resolution set to fixed
  • Status changed from assigned to closed
  • UM Version changed from <select version> to 10.9

Jian-Feng received help to port the suite to ARCHER (as u-as793) through the ParaCon project.


Note: See TracTickets for help on using tickets.