Opened 4 years ago

Closed 4 years ago

#1601 closed help (fixed)

Compilation of UKCA vn8.4

Reported by: Leighton_Regayre Owned by: um_support
Component: UKCA Keywords:
Cc: Platform: ARCHER
UM Version: 8.4

Description

Hi,

I'm experiencing compilation failure using vn8.4 of UKCA after the recent at-risk maintenance session. Jobs fail to compile with various error messages.

A segment of the information written to screen for the first job follows:

USE netcdf


ftn-292 crayftn: ERROR NUDGING_NETCDF_DIMREADER, File = ../../../../../../../../home2/n02/n02/lre/um/xlouc/umatmos/ppsrc/UM/atmosphere/nudging/nudging_netcdf_dimreader.f90, Line = 41, Column = 5

"NETCDF" is specified as the module name on a USE statement, but the compiler cannot find it.

status = nf90_open(filename, nf90_nowrite, ncid)

And for the second job:

ftn-7212 crayftn: WARNING CALC_NON_INT_SL_THETA, File = ../../../../../../../../home2/n02/n02/lre/um/xloub/umatmos/ppsrc/UM/atmosphere/dynamics_advection/calc_non_int_sl_theta.f90, Line = 859

Variable "j0" is used before it is defined.

ftn-7212 crayftn: WARNING CALC_NON_INT_SL_THETA, File = ../../../../../../../../home2/n02/n02/lre/um/xloub/umatmos/ppsrc/UM/atmosphere/dynamics_advection/calc_non_int_sl_theta.f90, Line = 859

Variable "j1" is used before it is defined.

These jobs are changed mildly from previous jobs, using alterations that have successfully run previously.

Thanks,

Leighton.

Change History (5)

comment:1 Changed 4 years ago by grenville

Leighton

You need to load the default netcdf module, your umuisubmit_ompile sas

umuisubmit_compile:module load cray-netcdf/4.3.1

bu should say

module load cray-netcdf

Grenville

comment:2 Changed 4 years ago by Leighton_Regayre

Thank-you Grenville,

That seems a simple fix. When I read the advice provided for the compiler upgrade notes (http://cms.ncas.ac.uk/wiki/Archer/cce8.3.7) I was directed to ticket #1485 which led me to attempt including the following:

1) include in the hand edits section -

/home/grenville/umui_jobs/hand_edits/remove_loadcomp.ed

2) add to the User paths overrides table in Compilation and Run Options → UM Override files -

%gcom_path /work/n02/n02/hum/gcom/cce8.3.7/gcom5.1 Y

In getting this working, we discovered a possible error in cnislt_distribute_poles_c96_1c.F90 - this can be avoided by

3) include

MPICH_NO_BUFFER_ALIAS_CHECK = 1

in the Scripts Inserts and Modifications section of the UMUI.

which didn't fix the problem. I'm only telling you that in case the compiler upgrade notes need changing for other users.

Thanks again,

Leighton.

comment:3 Changed 4 years ago by grenville

Leighton

Ros will fix the UMUI to load the correct module.

The notes you refer to were written before the recent upgrade and were supposed to be only a stop-gap for those experiencing OOM errors.

Grenville

comment:4 Changed 4 years ago by ros

Hi Leighton,

I have now fixed the UMUI to load the correct netcdf module.

Cheers,
Ros.

comment:5 Changed 4 years ago by annette

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.