Opened 5 years ago

Closed 5 years ago

#1385 closed help (fixed)

Problem compiling the UM (loading netcdf)

Reported by: mrusso Owned by: um_support
Component: UM Model Keywords:
Cc: Platform:
UM Version: <select version>

Description

Hello,
I'm working on a nudged UM job (xiuwt) and after compiling and running it, I decided to make one very small change to the UKCA emission code. When I compiled again (one day later than previously compiled), I got the following error:

USE netcdf

ftn-292 crayftn: ERROR NUDGING_NETCDF_DIMREADER, File = ../../../../../../../../home2/n02/n02/mariar/um/xiuwt/ummodel/ppsrc/UM/atmosphere/nudging/nudging_netcdf_dimreader.f90, Line = 40, Column = 11

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

I tried deleting the extract directory and recompiling again but I got the same error.
I'm currently using this handedit:
~annette/hadgem3/hand_edits/load_netcdf.ed
to load the netcdf module and I've checked that the netcdf module is properly requested in FCM_BLD_COMMAND.

Therefore I really don't know what to try next. Any help would be greatly appreciated!
Many thanks,
Maria

Change History (6)

comment:1 Changed 5 years ago by ros

Hi Maria,

At the top of your .comp.leave file you will see there is an error loading the netcdf module. It looks like something has changed on ARCHER. I will get in contact with them and let you know once it has been fixed.

Regards,
Ros.

comment:2 Changed 5 years ago by ros

Hi Maria,

You will need to modify Annette's hand-edit to change the module load line to be

module load cray-netcdf

Annette is currently out of the office today, but I will ask her to update this hand-edit tomorrow.

Regards,
Ros.

comment:3 follow-up: Changed 5 years ago by jeff

Hi Maria and Ros

You will actually need to use

module load cray-netcdf/4.3.1

As the default module (4.3.2) is not compatible with the version of the cray compiler the UM uses by default.

If you change to this module you will also need to recompile any routines which call the netcdf library.

Jeff.

comment:4 in reply to: ↑ 3 Changed 5 years ago by mrusso

Ros, Jeff,
many thanks for this I'll try it now.
Regards,
Maria

Replying to jeff:

Hi Maria and Ros

You will actually need to use

module load cray-netcdf/4.3.1

As the default module (4.3.2) is not compatible with the version of the cray compiler the UM uses by default.

If you change to this module you will also need to recompile any routines which call the netcdf library.

Jeff.

comment:5 Changed 5 years ago by annette

Hi all,

I've now updated this in my hand-edit /home/annette/hadgem3/hand_edits/load_netcdf.ed

Regards,
Annette

comment:6 Changed 5 years ago by annette

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