Replies: 2 comments 3 replies
-
Supposing you're running on x86-64, illegal instruction might be to do with some processor specific extensions e.g. AVX512 being run. That said the Singularity container is currently CUDA only so you always need to run with If we can find out what instruction extensions the different images/libraries require, we can at least add checks beforehand so people get a more useful error message. Unfortunately there's still some out of date stuff in this repository -- so it's not stupid at all -- unfortunately I keep having to change things around to get everything to work together. I'm considering getting rid of the Singularity container altogether and just advising using the Docker container through Singularity. I think this would make things a bit simpler. That's odd it's not listed as a package for you because it is for me. Using python -m skelshop is now the recommended way because it work across different environments. The reason poetry is not needed is because the packages are all installed globally. This is done with this line: Line 41 in 114976f |
Beta Was this translation helpful? Give feedback.
-
Okay, I noticed by now that my errror was that I was only on the hpclogin-machine. If i ssh to eg. hpc4 I don't get the Illegal instructions anymore, and it also works with the singularity container. |
Beta Was this translation helpful? Give feedback.
-
Hello Frankie,
in https://github.com/frankier/skelshop/blob/master/contrib/slurm/conv_2017.sh#L13-L16, you give an example on how to run
arbitrary commands from inside the singularity container, however I cannot reproduce that. Running for example
simply tells me "Illegal Instruction", which is unfortunately not very verbose. I also tried various variants of that, but never got it to work. What would I need to do to run arbitrary skelshop-commands from inside the container?
(and also, how does that work? When looking at
singularity exec ./skelshop_latest.sif pip list
, skelshop is listed as package. How did it become that? And why can I simply runpython
from the container, and notpoetry run python
? And why doesn't something likepython -m /opt/skelshop --help
work?)Thanks for your help, and again, sorry for all the stupid questions!
Beta Was this translation helpful? Give feedback.
All reactions