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
When deploying this task on the Pelkmans lab Fractal server, we run into issues with the automatic task installation. Import of ITK libraries fails in the following way:
TASK ERROR: Task name: Compute Registration (elastix), position in Workflow: 1
TRACEBACK:
Traceback (most recent call last):
File "/path/to/fractal-server-env/lib/python3.10/site-packages/fractal_server/app/runner/v2/runner_functions_low_level.py", line 111, in run_single_task
raise e
File "/path/to/fractal-server-env/lib/python3.10/site-packages/fractal_server/app/runner/v2/runner_functions_low_level.py", line 103, in run_single_task
_call_command_wrapper(
File "/path/to/fractal-server-env/lib/python3.10/site-packages/fractal_server/app/runner/v2/runner_functions_low_level.py", line 55, in _call_command_wrapper
raise TaskExecutionError(err)
fractal_server.app.runner.exceptions.TaskExecutionError: Traceback (most recent call last):
File "/net/nfs4/pelkmanslab-fileserver-fractal/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/abbott/fractal_tasks/compute_registration_elastix.py", line 24, in <module>
from abbott.registration.itk_elastix import register_transform_only
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/abbott/registration/itk_elastix.py", line 9, in <module>
def cast(img: itk.Image, out_type: type):
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/itk/support/lazy.py", line 138, in __getattribute__
base.itk_load_swig_module(module, namespace)
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/itk/support/base.py", line 94, in itk_load_swig_module
itk_load_swig_module(dep, namespace)
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/itk/support/base.py", line 130, in itk_load_swig_module
l_module = loader.load(swig_module_name)
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/itk/support/base.py", line 289, in load
l_spec.loader.exec_module(l_module) # pytype: disable=attribute-error
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/itk/support/../ITKPyBasePython.py", line 63, in <module>
from itk.pyBasePython import *
File "/path/to/FRACTAL_TASKS_DIR/17/abbott/0.0.1/venv/lib/python3.10/site-packages/itk/pyBasePython.py", line 15, in <module>
from . import _ITKCommonPython
ImportError: libtbb.so.12: cannot open shared object file: No such file or directory
I'll document what I find out about it here
The text was updated successfully, but these errors were encountered:
I will try downgrading to itk 5.3.0, which reportedly doesn't have this issue.
This also requires numpy < 2 and a compatible version of itk-elastix (itk-elastix==0.17.1 is compatible with itk 5.3.0)
I have manually installed this in the current server env to debug and if that works, we can pin those versions for the package & test whether they install correctly.
When deploying this task on the Pelkmans lab Fractal server, we run into issues with the automatic task installation. Import of ITK libraries fails in the following way:
I'll document what I find out about it here
The text was updated successfully, but these errors were encountered: