I am now trying to install the LSST DM stack.
I did some debugging when installing tmv and galsim, but then I obtained a huge error when installing meas_extensions_shapeHSM after executing scons opt=3 in the package.
I noticed that the error comes from testHsm.py, but this python code is obtained from the original source, git clone https://github.com/lsst/meas_extensions_shapeHSM. So it is quite strange that there are errors to start with.
Thank you. I think you are using master shapeHSM and trying to use it with 15.0 but 15.0 is not compatible with current master because APIs in afw changed in the past few weeks. If you want to be using master you need to be building against a recent weekly rather than 15.0.
Thanks for the reply.
I guess there are two choices for me now then.
If I install lsst 14.0 instead, will that be compatible with master shapeHSM?
Otherwise, is there a version of shapeHSM that is compatible with lsst 15.0?
If it’s not clear from Tim’s response, you should be able to do eups distrib install lsst_distrib -t w_2018_14 and get a version that you can build against. This is assuming that you installed using newinstall.sh.
The instructions referenced are quite old and hence misleading when it comes to installing meas_extensions_shapeHSM.
Since the version 12 release, this package is included in the lsst_distrib installation. If you’ve installed version 15, there’s no need to follow any extra instructions to add this package: it should be there already. If you follow the instructions to try to bolt external versions of tmv and GalSim onto your installed v15 stack, then try and build shapeHSM on top of that, it doesn’t altogether surprise me that it fails: just use the provided version instead.
Thanks a lot !
I just noticed that shapeHSM was also installed in v15 stack.
I will try to use the provided version now and see if there is any problem with it.