Opened 5 years ago

Closed 5 years ago

#1286 closed help (fixed)

netCDF on ARCHER?

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

Description

I'm trying to debug a model for use on ARCHER, but I'm getting the following compile error:

      USE NETCDF
          ^      
ftn-292 crayftn: ERROR NETCDF_DIMREADER, File = ../../../../../../../../home2/n02/n02/luke/um/xjmke/ummodel/ppsrc/UM/utility/netc
df_utils/netcdf_dimreader.f90, Line = 26, Column = 11 
  "NETCDF" is specified as the module name on a USE statement, but the compiler cannot find it.

Is there a compile over-ride I need to include to get netCDF to work on ARCHER?

The job is a vn7.3 HG3-A job, id xjmke.

Thanks,
Luke

Change History (6)

comment:1 Changed 5 years ago by ros

Hi Luke,

Can you try modifying FCM_BLD_COMMAND to add the line:

module load netcdf

The UMUI currently only loads the netcdf module if you are running CICE, NEMO or using OASIS. So it sounds like we might need to modify the UMUI…

Cheers,
Ros.

comment:2 Changed 5 years ago by luke

Hi Ros,

Thanks for this. Can you advise of the best way to make this change - it's not something I've had to do before. Does it require an over-ride, or a code change?

This model includes some routines that are used in outputting UKCA model output on satellite levels, and this done separately from STASH (hence using netCDF). We also occasionally nudge, which uses netCDF as well.

Thanks,
Luke

comment:3 Changed 5 years ago by ros

  • Owner changed from um_support to ros
  • Status changed from new to accepted

Hi Luke,

Could you just test it out via a hand-edit to the UMUI processed script FCM_BLD_COMMAND to add
module load netcdf after the line loadcomp ${TARGET_MC}_interlagos? If that then works I could modify the UMUI accordingly.

Cheers,
Ros.

comment:4 Changed 5 years ago by luke

Hi Ros,

I think that has worked - the job certainly went further than before, although due to the slowdown for compiling it timed-out after an hour. I've sent it off again (for 24hrs!).

The hand-edit I used was:

# Add-in a module load netcdf command to FCM_BLD_COMMAND
# vn7.3
ed FCM_BLD_COMMAND <<\EOF
/loadcomp ${TARGET_MC}/
a
module load netcdf
.
w
q
EOF

See /home/luke/hand_edits/load_netCDF_ARCHER.ed

Thanks,
Luke

comment:5 Changed 5 years ago by ros

Hi Luke,

That's great. You might find it better to compile interactively, if compilation in the serial queues are taking an inordinately long time.

Cheers,
Ros.

comment:6 Changed 5 years ago by ros

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