Opened 3 years ago

Closed 3 years ago

#1965 closed help (fixed)

UKCA compile failed

Reported by: emxin Owned by: ros
Component: UM Model Keywords:
Cc: Platform: ARCHER
UM Version: 7.3

Description

Here there,
When I run UKCA, I was told that the 'build failed' (see xkqjq000.xkqjq.d16246.t093742.comp.leave). I copy the error message below for you to check:

cd /home/n02/n02/emxin/um/xkqjq/ummodel/tmp
# Start: 2016-09-02 09:40:21⇒ ftn -o mm_ratios.o -I/home/n02/n02/emxin/um/xkqjq/ummodel/inc -I/home/n02/n02/emxin/um/xkqjq/umbase/inc -e m -h noomp -s real64 -s integer64 -hflex_mp=intolerant -I /work/n02/n02/hum/gcom/cce/gcom3.8/archer_cce_mpp/inc -c /home/n02/n02/emxin/um/xkqjq/ummodel/ppsrc/UM/atmosphere/short_wave_radiation/mm_ratios.f90

USE MPL, ONLY : &


ftn-292 crayftn: ERROR SWAP_BOUNDS, File = ../../../../../../../../home2/n02/n02/emxin/um/xkqjq/ummodel/ppsrc/UM/control/mpp/swap_bounds-swpbnd2c.f90, Line = 18, Column = 11

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

INTEGER
ISTAT(MPL_STATUS_SIZE,4)

ftn-113 crayftn: ERROR SWAP_BOUNDS, File = ../../../../../../../../home2/n02/n02/emxin/um/xkqjq/ummodel/ppsrc/UM/control/mpp/swap_bounds-swpbnd2c.f90, Line = 416, Column = 25

IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "MPL_STATUS_SIZE".

& MPL_REAL,neighbour(PWest),502, &


ftn-113 crayftn: ERROR SWAP_BOUNDS, File = ../../../../../../../../home2/n02/n02/emxin/um/xkqjq/ummodel/ppsrc/UM/control/mpp/swap_bounds-swpbnd2c.f90, Line = 574, Column = 28

IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "MPL_REAL".

Cray Fortran : Version 8.3.7 (u83058f83196i83174p83310a83009e83011z83310)
Cray Fortran : (x8318r83015w83011t8311b83037)
Cray Fortran : Fri Sep 02, 2016 09:40:20
Cray Fortran : Compile time: 0.0320 seconds
Cray Fortran : 1204 source lines
Cray Fortran : 3 errors, 0 warnings, 0 other messages, 0 ansi
Cray Fortran : "explain ftn-message number" gives more information about each message.
fcm_internal compile failed (256)

this model worked for me a day before. but it suddenly not working anymore. Can you let me know how to fix the problem? Thanks

Change History (5)

comment:1 Changed 3 years ago by ros

  • Owner changed from um_support to ros
  • Status changed from new to accepted
  • UM Version changed from <select version> to 7.3

Hi Xin,

Since you last ran this model a year ago, some module versions have changed on ARCHER and so your hand-edit /home/emxin/fcm/ARCHER_nudged/nudged_ARCHER.ed is now loading an incompatible version of the cray-netcdf library which is causing the compiler to be unable to find some files.

Please change the line:

module load cray-netcdf

to

module load cray-netcdf/4.3.2

Please also switch off the hand-edit ~ros/umui_jobs/hand-edits/archer/cce-7.3.ed as that is no longer valid.

Submit the compile again and that should hopefully fix the problem.

Regards,
Ros.

comment:2 Changed 3 years ago by emxin

Hi Ros,

I have updated those hand-edit files, but model still failed at building (compiling). see xkqjq000.xkqjq.d16246.t124141.comp.leave
It seems I need to update more files. Can you give more help? Thanks

comment:3 Changed 3 years ago by ros

Hi Xin,

Please go to UMUI window FCM Configuration → FCM Extract and Build directories and switch on Force FULL build to force a complete rebuild. With the change to the cray-netcdf module you have a mixture of files compiled one way and some another which it doesn't like.

Cheers,
Ros.

comment:4 Changed 3 years ago by emxin

Hi Ros,
Thank you! the problem fixed by doing a full re-compilation.

Xin

comment:5 Changed 3 years ago by ros

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