Opened 8 years ago

Closed 8 years ago

#975 closed help (fixed)

UKCA out of memory on compilation

Reported by: mx020105 Owned by: willie
Component: UM Model Keywords: compilation
Cc: Platform: MONSooN
UM Version: 7.3


Dear NCAS Helpdesk,

I am trying to run the UM7.3 UKCA model on MONSooN for the first time. I have copied a job from Luke Abraham (my new job ID is xhpua) which ran successfully for him. When attempting to compile the model, I get an error saying:
Warning: Job killed after maximum memory limit of 5120 MB exceeded

The relevant output file on MONSooN is:

I am including the hand edit:

which I believe should increase the available memory to 5120Mb. However, my job appears to be going over this limit. Could you offer any suggestions as to where I may be going wrong?

Many thanks in advance,

Change History (4)

comment:1 Changed 8 years ago by willie

  • Keywords compilation added
  • Owner changed from um_support to willie
  • Status changed from new to accepted

Hi Amanda,

You seem to have got this working?



comment:2 Changed 8 years ago by mx020105

Hi Willie,

I have found a fix for this by increasing the compiler memory limit in my hand edit from 5120Mb to 6120Mb. It is still not clear, however, why this was an issue for me when other users (e.g. Luke Abraham) have successfully compiled an identical copy of the code and didn't encounter this issue.

Best wishes,

comment:3 Changed 8 years ago by willie

Hi Amanda,

Comparing your job with Luke's, there are a few differences,

  • in the hand edits
  • you have selected full extract and build
  • the upgrade to MONSooN requires different netCDF code

I couldn't see anything in the hand edits that might cause a problem:

<  ~ros/HadGEM3-A/vn7.3/HGPKG1/crun.ed Y
>  ~ros/HadGEM3-A/vn7.3/HGPKG1/crun.ed N
<  ~ros/HadGEM3-A/vn7.3/HGPKG1/fix_target_scripts7.3 N
<  ~luke/merge_files/hand_edits/ll_dev_class_full_64cpu.ed N
>  ~mx020105/handedits/ukca_group.ed Y
>  ~mx020105/handedits/incr_compile_mem.ed Y

It is possible that the problem always existed but it was hidden by using incremental builds. The addition of new netCDF code could trigger such a compile problem.



comment:4 Changed 8 years ago by willie

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