PRECIS support forum
http://forum.precisrcm.com/

STATUS: ERROR: Failed to update ancillary files
http://forum.precisrcm.com/viewtopic.php?f=1&t=9
Page 1 of 1

Author:  wscott [ Fri Mar 28, 2014 2:06 pm ]
Post subject:  STATUS: ERROR: Failed to update ancillary files

After installing the MET boundary data I am unable to run any completed experiements. In the first minute of starting any experiment the STATUS shows "ERROR: Failed to update ancillary files". This problem was not present when I ran the test experiments that came with the PRECIS DVD. The .leave file is attached.

Attachments:
cmhac000.cmhac.d14087.t093913.leave.gz [6.2 KiB]
Downloaded 430 times

Author:  sotucker [ Fri Mar 28, 2014 4:00 pm ]
Post subject:  Re: STATUS: ERROR: Failed to update ancillary files

Your .leave file contains the following message:

Quote:
ERROR: Input UM file nonexistent or empty: /home/precis/precis_expt/cmhac/cmhac_ancil_master/qrdata.igbp
at /home/precis/um/vn4.5/utils/make_ancil_MOSES2 line 156
See /home/precis/precis_expt/ancil/cmhac/.cmhac.MOSES2.out for details.
ERROR: MOSES2 creation failed in system /home/precis/um/vn4.5/utils/make_ancil_MOSES2 -c 365 -g /home/precis/precis_expt/ancil/cmhac/gridnamelist_vn7.4 -O /home/precis/precis_expt/ancil/cmhac/.cmhac.MOSES2.out -q /home/precis/precis_expt
/ancil/cmhac/qrparm.mask /home/precis/precis_expt/cmhac/cmhac_ancil_master/qrparm.whs /home/precis/precis_expt/cmhac/cmhac_ancil_master/qrdata.igbp /home/precis/precis_expt/cmhac/cmhac_ancil_master/qrdata.soil /home/precis/precis_expt/cm
hac/cmhac_ancil_master/qrparm.soilcarbon /home/precis/precis_expt/ancil/cmhac/qrparm.veg.frac /home/precis/precis_expt/ancil/cmhac/qrparm.veg.func /home/precis/precis_expt/ancil/cmhac/qrparm.soil.MOSES_IGBP /home/precis/precis_expt/ancil
/cmhac/qrparm.veg.dist
at /home/precis/um/vn4.5/utils/ancil_create line 637
main::make_ancil_MOSES2_ called at /home/precis/um/vn4.5/utils/ancil_create line 371
main::make_ancil_('MOSES2') called at /home/precis/um/vn4.5/utils/ancil_create line 335
ERROR: Ancillary updating failed in ancillary creation.


The model can not run since the file qrdata.igbp is missing from the $ANCIL_MASTER directory. This file should have been included on the hard drive sent containing boundary data (sorry if it wasn't) and I assume you had a version of it at some point since you have run test runs. In any case the file can be downloaded from http://www.precisrcm.com/ancil/master/ along with other ancillary files.

Downloading http://www.precisrcm.com/ancil/master/qrdata.igbp.gz to $ANCIL_MASTER and decompressing (i.e. gunzip $ANCIL_MASTER/qrdata.igbp ) should hopefully do the trick. Let me know how you get on.

All the best,
Simon

Author:  wscott [ Fri Mar 28, 2014 5:13 pm ]
Post subject:  Re: STATUS: ERROR: Failed to update ancillary files

It worked!

Thanks much.

Author:  i5a8e11a [ Wed Jul 02, 2014 2:31 pm ]
Post subject:  Re: STATUS: ERROR: Failed to update ancillary files

Hi,

We have finally got Precis to run on OpenSUSE 12.3 (although the experiment monitoring window is still not working). Both the benchmark experiment and a new experiment that I set up for South America run well using the ERA15 boundary data (supplied for the benchmark exp). However, I cannot get the South America experiment to run with the ERA interim data supplied by the metoffice. I get the following error message:

"ERROR: Failed to update ancillary files".

Initially, I think this may have related to timings as .leave file states:
"ERROR: Current model time (19881201000000) proceeds latest possible ancillary time ()"
with
"ERROR updating ancillary files (exit code 255)"
This may have been due to not having unzipped all the ancillary files.

Now (after having unzipped all the ancillary files in $HOME/ancil/master/) I am getting other errors, still with the "ERROR: Failed to update ancillary files" message.

The .leave file now states:
Code:
ERROR: Failed in system /home/precis/um/vn4.5/scripts/ancil/vn4.4/scripts/ancil_top_level -l /home/precis/precis_expt/ancil/nclaa/qrparm.orog.mask -n /home/precis/precis_expt/ancil/nclaa/gridnamelist_vn4.4 -o /home/precis/precis_expt/ancil/nclaa -s .make_ancil_orog.script -t .make_ancil_orog.namelist -v -z orog -b "-i /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrorog.navy10.y84n -j /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrparm.ashhr -k /home/precis/precis_expt/ancil/nclaa/qrparm.orog     -m" >>/home/precis/precis_expt/ancil/nclaa/.nclaa.orog.out 2>&1
 at /home/precis/um/vn4.5/utils/make_ancil_orog line 182.
See /home/precis/precis_expt/ancil/nclaa/.nclaa.orog.out for details.
ERROR: orog creation failed in system /home/precis/um/vn4.5/utils/make_ancil_orog -g /home/precis/precis_expt/ancil/nclaa/gridnamelist_vn4.4 -O /home/precis/precis_expt/ancil/nclaa/.nclaa.orog.out -q /home/precis/precis_expt/ancil/nclaa/qrparm.orog.mask /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrorog.navy10.y84n /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrparm.ashhr /home/precis/precis_expt/ancil/nclaa/qrparm.orog
 at /home/precis/um/vn4.5/utils/ancil_create line 518, <$fh> line 1.
        main::make_ancil_orog_ called at /home/precis/um/vn4.5/utils/ancil_create line 369
        main::make_ancil_('orog') called at /home/precis/um/vn4.5/utils/ancil_create line 335
ERROR: Ancillary updating failed in ancillary creation.
 at /home/precis/um/vn4.5/scripts/ancil_update line 512.
Time taken by /home/precis/um/vn4.5/scripts/ancil_update:
  **ANCIL_TIME:     3.80s real     1.59s user     0.19s system

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ERROR updating ancillary files (exit code 2)...


File home/precis/precis_exp/ancil/nclaa/.nlaa.orog.out states:
Code:
Wed  2 Jul 14:48:15 BST 2014
--------------------------------------------------------------------------------
Grid namelist file         : /home/precis/precis_expt/ancil/nclaa/gridnamelist_vn4.4
Input  override file       :
Input  mask file           : /home/precis/precis_expt/ancil/nclaa/qrparm.orog.mask
Input  OROG  ancillary file: /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrorog.navy10.y84n
Output ROUGH ancillary file: /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrparm.ashhr
Output ancillary file      : /home/precis/precis_expt/ancil/nclaa/qrparm.orog
Output orog text file      :
Type                       : orog
--------------------------------------------------------------------------------

ERROR: Failed in system /home/precis/um/vn4.5/scripts/ancil/vn4.4/scripts/ancil_top_level -l /home/precis/precis_expt/ancil/nclaa/qrparm.orog.mask -n /home/precis/precis_expt/ancil/nclaa/gridnamelist_vn4.4 -o /home/precis/precis_expt/ancil/nclaa -s .make_ancil_orog.script -t .make_ancil_orog.namelist -v -z orog -b "-i /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrorog.navy10.y84n -j /home/precis/precis_expt/nclaa/nclaa_ancil_master/qrparm.ashhr -k /home/precis/precis_expt/ancil/nclaa/qrparm.orog     -m" >>/home/precis/precis_expt/ancil/nclaa/.nclaa.orog.out 2>&1
 at /home/precis/um/vn4.5/utils/make_ancil_orog line 182.

scribed by
+ echo Cosby (1984).
Cosby (1984).
+ echo



In fact, it may be this type of error which is causing the OpenSUSE 12.3 operating system to be rather unstable.
Whenever I run precis and get an error, the system beeps a lot and precis stops working. If I close the GUI, I cannot restart it and I get the following kernel messages (we checked and all hardware is fully functional so this must be a kernel bug?):

Code:
~> precis
Error in startup script: child killed: kill signal
    while executing
"exec convert $env(SAVEDIR)/regions/$region/new.ppm -scale 265x265  $env(SAVEDIR)/regions/$region/new_resize.gif"
    (procedure "Main" line 141)
    invoked from within
"Main"
    (file "main.tcl" line 626)

Message from syslogd@linux-62iu at Jul  2 14:49:15 ...
 kernel:[10062.856590] Process convert (pid: 8985, ti=eba1a000 task=e4a423b0 task.ti=eba1a000)

Message from syslogd@linux-62iu at Jul  2 14:49:15 ...
 kernel:[10062.857175] Stack:

Message from syslogd@linux-62iu at Jul  2 14:49:15 ...
 kernel:[10062.859574] Call Trace:

Message from syslogd@linux-62iu at Jul  2 14:49:15 ...
 kernel:[10062.866305] Code: 8d b4 26 00 00 00 00 8b 6c 24 0c 3b 6b 14 0f 83 9b 00 00 00 89 f0 c1 e8 0e 0f be 80 c0 a4 ab c0 85 c0 78 48 8b 04 85 a0 a4 ab c0 <8b> 90 bc 10 00 00 03 90 b4 10 00 00 39 f2 76 31 89 f7 2b b8 b4

Message from syslogd@linux-62iu at Jul  2 14:49:15 ...
 kernel:[10062.866905] EIP: [<c030ea0c>] compaction_alloc+0xcc/0x1e0 SS:ESP 0068:eba1bcb4


Is there anything you can suggest to help please?

Isabella

Author:  dmhg [ Thu Jul 03, 2014 10:07 am ]
Post subject:  Re: STATUS: ERROR: Failed to update ancillary files

Isabella,
If you can enable access to your system via ssh or Team Viewer, I will have a look. Are you running on a PC or on a cluster system?

The monitor window not working is a non-issue. You can check the progress of the model (once it is working) by typing

runtime [runid]

e.g.
Code:
runtime nclaa



The precis startup error may be happening if you don't have ImageMagick installed.

If team viewer or ssh are not possible, we'll try to solve it another way. It would help if I could see the full *.leave file. If you
can gzip it and then attach it to your reply to this post, that would be good.

Thanks
David

Author:  i5a8e11a [ Thu Jul 03, 2014 11:08 am ]
Post subject:  Re: STATUS: ERROR: Failed to update ancillary files

Hi David,

thank you for your help and suggestions. My computer officer found a post somewhere that suggested adding a command line parameter for the kernel load might fix things... and it seems to have done - and my simulations are now running! Hopefully everything will run smoothly now.

Thanks again,
Isabella

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/