Opened 8 years ago

Closed 8 years ago

#925 closed help (fixed)

Compilation error for UM7.3

Reported by: mx020105 Owned by: um_support
Component: UM Model Keywords: Compilation
Cc: Platform:
UM Version: 7.3

Description

Dear NCAS helpdesk,

I have copied Annette's job xegwe to xhqcb and I am trying to compile and run this on HECToR.

I am getting a few build errors. One is: ModuleCmd_Load.c(200):ERROR:105: Unable to locate a modulefile for 'xlc/v10.1.0.0'

and another is at the bottom of this message (see also attached .comp.leave file). I have just directly copied the job and changed my user details. There have probably been some changes to HECToR since this job was last used, so I'm not sure whether this might be causing the problem. Any suggestions you have would be gratefully received.

Many thanks,
Amanda

Second compilation error:

ftn-2105 crayftn: ERROR in command line

"-P" is an invalid command-line option.

# Time taken: 1 s⇒ ftn -P -E -DC_LOW_U=c_low_u -DFRL8=frl8 -DLITTLE_END=little_end -DC_LONG_INT=c_long_int -DMPP=mpp -DLINUX=linux -DXT4=xt4 -DCONTROL=control -DREPROD=reprod -DMPP=mpp -DATMOS=atmos -DGLOBAL=global -DA04_ALL=a04_all -DA01_3C=a01_3c -DA02_3C=a02_3c -DA03_8C=a03_8c -DA04_3D=a04_3d -DA05_4A=a05_4a -DA06_4A=a06_4a -DA08_7A=a08_7a -DA09_2A=a09_2a -DA10_2A=a10_2a -DA11_2A=a11_2a -DA12_2A=a12_2a -DA13_2A=a13_2a -DA14_1B=a14_1b -DA15_1A=a15_1a -DA16_1A=a16_1a -DA17_2B=a17_2b -DA18_0A=a18_0a -DA19_1A=a19_1a -DA25_0A=a25_0a -DA26_1A=a26_1a -DA30_1A=a30_1a -DA31_0A=a31_0a -DA32_1A=a32_1a -DA33_0A=a33_0a -DA34_0A=a34_0a -DA35_0A=a35_0a -DA38_0A=a38_0a -DA70_1C=a70_1c -DA71_1A=a71_1a -DC70_1A=c70_1a -DC72_0A=c72_0a -DC80_1A=c80_1a -DC82_1A=c82_1a -DC84_1A=c84_1a -DC92_2A=c92_2a -DC94_1A=c94_1a -DC95_2A=c95_2a -DC96_1C=c96_1c -DC97_3A=c97_3a -I/work/n02/n02/mx020105/xhqcb/ummodel/inc -I/work/n02/n02/mx020105/xhqcb/umbase/inc rcf_parvars_mod.F90
[FAIL] ftn -P -E -DC_LOW_U=c_low_u -DFRL8=frl8 -DLITTLE_END=little_end -DC_LONG_INT=c_long_int -DMPP=mpp -DLINUX=linux -DXT4=xt4 -DCONTROL=control -DREPROD=reprod -DMPP=mpp -DATMOS=atmos -DGLOBAL=global -DA04_ALL=a04_all -DA01_3C=a01_3c -DA02_3C=a02_3c -DA03_8C=a03_8c -DA04_3D=a04_3d -DA05_4A=a05_4a -DA06_4A=a06_4a -DA08_7A=a08_7a -DA09_2A=a09_2a -DA10_2A=a10_2a -DA11_2A=a11_2a -DA12_2A=a12_2a -DA13_2A=a13_2a -DA14_1B=a14_1b -DA15_1A=a15_1a -DA16_1A=a16_1a -DA17_2B=a17_2b -DA18_0A=a18_0a -DA19_1A=a19_1a -DA25_0A=a25_0a -DA26_1A=a26_1a -DA30_1A=a30_1a -DA31_0A=a31_0a -DA32_1A=a32_1a -DA33_0A=a33_0a -DA34_0A=a34_0a -DA35_0A=a35_0a -DA38_0A=a38_0a -DA70_1C=a70_1c -DA71_1A=a71_1a -DC70_1A=c70_1a -DC72_0A=c72_0a -DC80_1A=c80_1a -DC82_1A=c82_1a -DC84_1A=c84_1a -DC92_2A=c92_2a -DC94_1A=c94_1a -DC95_2A=c95_2a -DC96_1C=c96_1c -DC97_3A=c97_3a -I/work/n02/n02/mx020105/xhqcb/ummodel/inc -I/work/n02/n02/mx020105/xhqcb/umbase/inc rcf_parvars_mod.F90 failed (1) at /esfs1/n02/n02/hum/fcm/bin/../lib/Fcm/BuildSrc.pm line 737

Model build: failed

Change History (5)

comment:1 Changed 8 years ago by willie

Hi Amanda,

Please make sure that you have followed the instructions at HECToR Phase 3 - CMS advice for UM

Regards,

Willie

comment:2 Changed 8 years ago by mx020105

Hi Willie,

Thanks for spotting that I had not updated the relevant factors to Phase 3. I have followed the instructions and then recompiled the job. The compilation is still flagging up the following errors which also appeared in the original compilation:
ModuleCmd_Load.c(200):ERROR:105: Unable to locate a modulefile for 'xlc/v10.1.0.0'
ModuleCmd_Load.c(200):ERROR:105: Unable to locate a modulefile for 'xlf/v12.1.0.0'

(see also /home/n02/n02/mx020105/um/umui_out/xhqcb000.xhqcb.d12276.t113850.comp.leave)

The only thing I can think of is that perhaps the job includes some user overrides which have the incorrect compilation flags for the Cray compiler?

Thanks a lot,
Amanda

comment:3 Changed 8 years ago by mx020105

Hi again,

The only similar query I could spot on the Helpdesk archive was this: http://cms.ncas.ac.uk/trac/UMHelpdesk/ticket/642, which relates to having the right branch included for automatic archiving on HECToR. I believe that this is currently switched off in my run, but I don't know whether this could still be the source of the problem?

Thanks,
Amanda

comment:4 Changed 8 years ago by ros

Hi Amanda,

You need to turn off the hand-edit ibm_modules.scr which is only needed for running on MONSooN.

Cheers,
Ros.

comment:5 Changed 8 years ago by ros

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