Opened 6 years ago

Closed 6 years ago

#1214 closed help (fixed)

Compiling issues with code changes in UKCA

Reported by: yl238 Owned by: luke
Component: UM Model Keywords: UKCA code change
Cc: Platform: MONSooN
UM Version: 8.2

Description

I have been trying to add a free tracer with a fixed e-folding time in the UKCA section of the UM. I copied the relevant section of code from Luke Abraham's job ximqc into my job xiloh, the source code of which is
fcm:um_br/dev/yl238/vn8.2_treetracer/src, revision 14533.

The files changed are ukca_main1-ukca_main1.F90, ukca_cspecies.F90 and ukca_constants.F90.

However, upon compilation I get the following error:

gmake: *** No rule to make target `ereport.done', needed by `ukca_main1.done'. Stop.
gmake: *** Waiting for unfinished jobs....
gmake -f /projects/ukca/yuliu/um/xiloh/umatmos/Makefile -j 3 -s all failed (2) at /projects/um1/fcm/bin/../lib/Fcm/Build.pm line 611
Build failed on Tue Feb 11 13:47:33 2014.
->Make: 0 second
->TOTAL: 191 seconds
UMATMOS build failed

But there are no errors otherwise in the compilation of the individual source codes. I commented out the section related to EREPORT in the newly added code in ukca_main1-ukca_main1.F90 (as can be seen in my source code) but the problem persists even after erasing the work directory. However, when this (the commented section) wasn't added yet (earlier in the day) the program compiled just fine.

I would be most grateful for any help.

Regards, Sue

Change History (3)

comment:1 Changed 6 years ago by luke

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

Hi Sue,

The

! DEPENDS ON: ereport

statement is no longer needed at vn8.2 as this is now held in a module which is used at the top of ukca_main.

I'll take a copy of your job and have a look.

Thanks,
Luke

comment:2 Changed 6 years ago by yl238

Hi Luke,

Thanks for letting me know this - I kept this line in and that's been causing the problems. Removing this line seemed to have resolved the issue. The TR_MIX subroutine has also changed from vn7.3, so after changing that the program seems to compile and run fine. Many thanks for your help, Sue

comment:3 Changed 6 years ago by luke

  • Resolution set to fixed
  • Status changed from accepted to closed

Hi Sue,

That's great. I'll close this ticket now.

Thanks,
Luke

Note: See TracTickets for help on using tickets.