Change namelists for Cray compiler

From UKCA
Revision as of 11:58, 18 September 2015 by MarkRichardson (talk | contribs)

As noted in bug 51 #577 (MOSRS) the way that the Cray compiler deals with namelist content is different to the IBM XLF compiler. You might see this sort of error if you are not following the guidance on MONSooN IBM to Cray Transition

lib-4324 : UNRECOVERABLE library error'''
  The variable name '0.00000E+00,' is unrecognized in namelist input.
Encountered during a namelist READ from
Fortran unit 166 is connected to a sequential formatted text file unit 166
/projects/um1/vn8.6/ctldata/UKCA/radaer/nml_ac_sw

This is because CCE needs the namelist to be defined differently here is one difference:

user@xcml00:~/output> diff /projects/um1/vn8.6/ctldata/UKCA/radaer/nml_ac_lw /projects/um1/vn10.2/ctldata/UKCA/radaer/nml_ac_lw
12c12
< UKCA_ABSORPTION(0,0,0)       = 3.17732E-18,  6.98234E-18, 
---
> UKCA_ABSORPTION(0:50,0,0)    = 3.17732E-18,  6.98234E-18,

One method is to follow the advice provided in the MONSooN IBM to Cray Transition guidance as some files have been converted to "_new".

Note that the path in that example is no longer valid and the modified files are in

 /projects/ukca-admin/inputs/spectral/radv2