Problem in trying to install meas_extensions_shapeHSM-12.0+11

Hi

willing to install Stack at CCIN2P3 (using the shared_stack) I get problems in installing meas_extensions_shapeHSM-12.0+11

  [ 79/91 ]  meas_extensions_photometryKron 7.3.1.0-13-g57e4478 (already installed) done.
  [ 80/91 ]  meas_extensions_psfex 12.0-2-gfd657aa+9 (already installed) done.
  [ 81/91 ]  meas_extensions_shapeHSM 12.0+11 ... 
Failure during installation............
  Adding global tag w_2016_28
  Applying tag w_2016_28
  Installing lsst_distrib tagged w_2016_10

from:

***** error: from /sps/lsst/Library/weeklies/EupsBuildDir/Linux64/meas_extensions_shapeHSM-12.0+11/build.log:
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
ERROR: ImportError: /usr/local/grid/emi-3/WN/SL6_64/3.10.0-1.2/usr/lib64/libgomp.so.1: version `GOMP_4.0' not found (required by /sps/lsst/Library/weeklies/Linux64/tmv/0.73+2/lib/libtmv.so.0) [lsstimport]
Traceback (most recent call last):
  File "tests/testHsm.py", line 43, in <module>
    import lsst.meas.extensions.shapeHSM
  File "/sps/lsst/Library/weeklies/EupsBuildDir/Linux64/meas_extensions_shapeHSM-12.0+11/meas_extensions_shapeHSM-12.0+11/python/lsst/meas/extensions/shapeHSM/__init__.py", line 25, in <module>
    from .hsmLib import *
  File "/sps/lsst/Library/weeklies/EupsBuildDir/Linux64/meas_extensions_shapeHSM-12.0+11/meas_extensions_shapeHSM-12.0+11/python/lsst/meas/extensions/shapeHSM/hsmLib.py", line 34, in <module>
    _hsmLib = swig_import_helper()
  File "/sps/lsst/Library/weeklies/EupsBuildDir/Linux64/meas_extensions_shapeHSM-12.0+11/meas_extensions_shapeHSM-12.0+11/python/lsst/meas/extensions/shapeHSM/hsmLib.py", line 30, in swig_import_helper
    _mod = imp.load_module('_hsmLib', fp, pathname, description)
  File "/sps/lsst/Library/weeklies/Linux64/base/12.0-4-g0d328d3/python/lsstimport.py", line 102, in imp_load_module
    module = orig_imp_load_module(name, *args)
ImportError: /usr/local/grid/emi-3/WN/SL6_64/3.10.0-1.2/usr/lib64/libgomp.so.1: version `GOMP_4.0' not found (required by /sps/lsst/Library/weeklies/Linux64/tmv/0.73+2/lib/libtmv.so.0)
The following tests failed:
/sps/lsst/Library/weeklies/EupsBuildDir/Linux64/meas_extensions_shapeHSM-12.0+11/meas_extensions_shapeHSM-12.0+11/tests/.tests/testHsm.py.failed
1 tests failed
scons: *** [checkTestStatus] Error 1

who knows wxat happens?

Regards
Christian

At a guess –

When compiling tmv, you’re using GCC of (at least) version 4.9, which has support for OpenMP 4.0 (this is the GOMP_4.0). This requires a corresponding libgomp.so.1 library, which should be shipped with GCC.

However, you also have this /usr/local/grid/emi-3/WN/SL6_64/3.10.0-1.2/usr/lib64/ directory on your $LD_LIBRARY_PATH. That contains an old version of libgomp, which doesn’t support OpenMP 4.0. When you try to execute code that depends on tmv, the linker is finding this libgomp, rather than the one corresponding to your compiler, and then things break.

I don’t know what’s in the /usr/local/grid/etc directory or what you might need it for: it’s not something that LSST supplied. Can you remove it from your environment and trying again?

2 Likes