Mohinta2892 / catena

Neuron Segmentation, Synaptic Partner Detection and Microtubule tracking for vEM with EM-2-EM translation. Codebase built upon Funke lab's algorithms.
7 stars 1 forks source link

Docker build issues: Torch #23

Open Mohinta2892 opened 3 months ago

Mohinta2892 commented 3 months ago

python -c "import torch; print(torch.__version__) leads to:

  Traceback (most recent call last):
  File "<stdin>", line 1, in <module> 
  File "/usr/local/lib/python3.10/dist-packages/torch/__init__.py", line 236, in <module>
    from torch._C import *  # noqa: F403
  ImportError: /opt/hpcx/ucx/lib/libucs.so.0: undefined symbol: ucm_set_global_opts

Solution:

sudo apt-get update && sudo apt-get install --reinstall -y \
  libmpich-dev \
  hwloc-nox libmpich12 mpich