Closed kyclark closed 8 years ago
This appears to be an issue with Bcalm. The bcalm code is compiled with a flag -march=native
and so it appears to give an Illegal instruction
on any architecture different than the one I build the Docker image on.
Until I get a more permanent fix, you can fix this by building the Docker from the Dockerfile (instead of pulling from Docker Hub):
cd Metapalette/Docker
docker build -t dkoslicki/metapalette .
Just make sure to remove the old image first.
I've tested this on another system that produced the same error, and this appears to fix it. Let me know if it works for you.
I have now pushed an updated image to Docker Hub with the fix. A simple docker pull dkoslicki/metapalette
should fix your issue now.
No more errors. Here is my output:
docker run --rm --privileged -e "DCKR_THREADS=10" -e "RAM_DISK_SIZE=10G" -v /usr/local/imicrobe/MetaPalette/Tests/Data:/dckr/mnt/input:ro -v /usr/local/imicrobe/MetaPalette/Tests/TestOutput:/dckr/mnt/output:rw -t dkoslicki/metapalette train
Warning: 2*chunk_size (200)*num_threads (10) is greater than or equal to 1024 (the typical value of ulimit -n, the maximum number of allowed open files). Please change the ulimit -Hn, reduce the chunk_size (-s), or reduce the num_threads (-t) or risk the program throwing an error.
Warning: chunk_size (200) is greater than number of files (5). Reducing chunk size.
tmpfs has been unmounted
Be sure to create an acceptable taxonomy. See https://github.com/dkoslicki/MetaPalette for more information
So, all good now?
Yup, you're good!
While running the "train" command, I get several core dumps and then it just hangs for quite a while: