Opened 3 years ago

Closed 3 years ago

#2424 closed help (fixed)

CF problems

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

Description (last modified by willie)


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/', '/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/", line 80, in <modul
    from .variable             import Variable
  File "/home/n02/shared/cf_tools/lib/python/cf/", line 19, in <modul
    from .cfdatetime   import dt
  File "/home/n02/shared/cf_tools/lib/python/cf/", line 25, in <mod
    from .units     import Units
  File "/home/n02/shared/cf_tools/lib/python/cf/", line 45, in <module>
    _udunits = ctypes.CDLL('')
  File "/home/y07/y07/cse/anaconda/python2/lib/python2.7/ctypes/", li
ne 362, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: cannot open shared object file: No such file or direc
Ran cfa with status  1  exiting

Change History (4)

comment:1 Changed 3 years 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.


comment:2 Changed 3 years ago by willie

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

comment:3 Changed 3 years ago by willie

  • Description modified (diff)

comment:4 Changed 3 years ago by willie

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