Skip to content

Latest commit

 

History

History
43 lines (18 loc) · 987 Bytes

error-running-histomicstk-analysis-on-docker.md

File metadata and controls

43 lines (18 loc) · 987 Bytes

Error running histomicsTK analysis on docker

doori on 2021-02-22T13:47:43.207Z

Hi,

I have HistomicsUI running on docker-compose, and I was able to pull the histomicstk plugin.

However when I run a job, I get errors related to openblas and numpy:

OpenBLAS blas_thread_init: pthread_create failed for thread 22 of 64: Resource temporarily unavailable

OpenBLAS blas_thread_init: RLIMIT_NPROC 1048576 current, 1048576 max

ImportError: PyCapsule_Import could not import module “datetime”

I see that the celery worker is online, when I go to Task Information.

I’ve also tried setting environment variables OPENBLAS_NUM_THREADS=1, and uninstalling then reinstalling numpy and setuptools through pip, but I get the same error.

Thank you in advance for your time and help.


doori on 2021-02-22T20:38:12.902Z

This issue was resolved by adding

ENV OPENBLAS_NUM_THREADS 1

in histomicstk Dockerfile and rebuilidng the image.