Opened 10 months ago

Closed 8 months ago

#2424 closed help (fixed)

CF problems

Reported by: simon.tett Owned by: um_support
Priority: high Component: UM Tools
Keywords: CF Cc:
Platform: ARCHER UM Version:

Description (last modified by willie)

Hi,

I think a recent (Friday?) update to CF on archer has broken it…

My archiving is failing with the following errors:

Cmd is  ['cfa', '--reference_datetime=1750-1-1', '--unsqueeze', '--single', '-f'
, 'NETCDF4', '--no_aggregation', '--outfile=/nerc/n02/n02/stett2/archive/xnsxw/a
pa/xnsxwa.pa19470501.nc', '/fs2/n02/n02/stett2/xnsxw/xnsxwa.pa1947may.ff']
Traceback (most recent call last):
  File "/home/n02/shared/cf_tools/bin/cfa", line 9, in <module>
    import cf
  File "/home/n02/shared/cf_tools/lib/python/cf/__init__.py", line 80, in <modul
e>
    from .variable             import Variable
  File "/home/n02/shared/cf_tools/lib/python/cf/variable.py", line 19, in <modul
e>
    from .cfdatetime   import dt
  File "/home/n02/shared/cf_tools/lib/python/cf/cfdatetime.py", line 25, in <mod
ule>
    from .units     import Units
  File "/home/n02/shared/cf_tools/lib/python/cf/units.py", line 45, in <module>
    _udunits = ctypes.CDLL('libudunits2.so.0')
  File "/home/y07/y07/cse/anaconda/python2/lib/python2.7/ctypes/__init__.py", li
ne 362, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libudunits2.so.0: cannot open shared object file: No such file or direc
tory
Ran cfa with status  1  exiting

Change History (4)

comment:1 Changed 9 months ago by david

Solved temporarily by doing a model load udunits before running.

I shall add this to the cf module dependencies so that it is not required in the future.

David

comment:2 Changed 9 months ago by willie

  • Component changed from ARCHER to UM Tools
  • UM Version <select version> deleted

comment:3 Changed 9 months ago by willie

  • Description modified (diff)

comment:4 Changed 8 months ago by willie

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