You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes galsim is not working correctly on candide. E.g. import galsim gives error messages;
Dependency check in the pipeline fails with a segmentation fault. Sam, could you have a look, please. See message below the error I get.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/mkilbing/.conda/envs/sp4/lib/python3.7/site-packages/galsim/__init__.py", line 112, in <module>
from .position import Position, PositionI, PositionD
File "/home/mkilbing/.conda/envs/sp4/lib/python3.7/site-packages/galsim/position.py", line 19, in <module>
from . import _galsim
ImportError: /home/mkilbing/.conda/envs/sp4/lib/python3.7/site-packages/galsim/_galsim.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6galsim11BaseDeviate9serializeEv
I was not able to replicate this on macOS, but I was on Candide. So I assume this is an issue with the run path that was recently added. I will investigate and open a PR.
@martinkilbinger I am also not able to replicate this on CANFAR. Can you let me know where you encountered this error. So far I can only reproduce it on Candide.
yes, I only have this error on candide as well. Not sure whether you want more details ? I tried a new instatllation from scratch, in /home/mkilbing/tmp/shapepipe, with conda env test.
@martinkilbinger OK, I found the issue. The pipeline environment installs Galsim via Conda while MCCD has a pip requirement on Galsim. I will attempt to resolve this.
Activity
martinkilbinger commentedon Jan 17, 2021
This worked:
2.2.4However, using the
shapepipeinstall script:sfarrens commentedon Jan 18, 2021
I was not able to replicate this on macOS, but I was on Candide. So I assume this is an issue with the run path that was recently added. I will investigate and open a PR.
sfarrens commentedon Jan 18, 2021
@martinkilbinger I am also not able to replicate this on CANFAR. Can you let me know where you encountered this error. So far I can only reproduce it on Candide.
martinkilbinger commentedon Jan 18, 2021
yes, I only have this error on candide as well. Not sure whether you want more details ? I tried a new instatllation from scratch, in
/home/mkilbing/tmp/shapepipe, with conda envtest.sfarrens commentedon Jan 18, 2021
No, that's fine. I just wanted to know if it was a Candide-specific issue or not.
sfarrens commentedon Jan 18, 2021
@martinkilbinger OK, I found the issue. The pipeline environment installs Galsim via Conda while MCCD has a pip requirement on Galsim. I will attempt to resolve this.
sfarrens commentedon Jan 18, 2021
I have opened a PR on the MCCD repo to resolve this.
In the meantime, for an existing ShapePipe environment, all you need to do is:
martinkilbinger commentedon Jan 18, 2021
Excellent, this works! Thanks a lot.
sfarrens commentedon May 7, 2021
Resolved in #394