Opened 2 weeks ago

Last modified 39 hours ago

#2424 new help

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)


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 (3)

comment:1 Changed 2 weeks 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 8 days ago by willie

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

comment:3 Changed 39 hours ago by willie

  • Description modified (diff)
Note: See TracTickets for help on using tickets.