I have been trying to run Mindboggle via my university’s HPC, which unfortunately only supports Singularity and not Docker. I tried all kinds of things, including implementing the things suggested on the Mindboggle website and the inputs of some of the previous people talking about Mindboggle and Singularity on here a while back. Creating the Singularity image was not an issue, but I’m having problems mounting to jovyan (mkdir -p $PWD/jovyan → “reader only permission” → turn off HOME binding as previously suggested?) and then with the directory not being found (“no such file or directory”) when I am in jovyan/work.
Has anyone been successful recently at running Mindboggle with Singularity?
Might be something small that doesn’t allow me to run the command, I’m quite new to programming after all. But I figured it’d be worth asking on here, since I’ve been trying to run it for a while!
Thanks in advance and best,
Lena
Command used (and if a helper script was used, a link to the helper script or the command generated):
In the future please use the Software Support post category and template to organize your post. You can see I edited your post for you this time, and there is still some information that would be helpful to know, especially the log outputs. You can edit your post to add this information.
Also, is there a reason you are mounting two different paths as DOCK in your singularity preamble? That is:
Also, $DOCK/$IMAGE is going to create a long path that combines two absolute paths, I doubt that is what you intended. I am not sure I am seeing the logic behind your bind strings here.
Thank you for your response! I have tried it, and while I’m still running into errors, I believe I’m on a good path now.
To your question regarding the DOCK variable: I did this because that’s what is suggested on the Mindboggle website: Mindboggle — Mindboggle 1.3.8 documentation. I directly took it from there.
I tried the command you suggested. I have one question: For the “t1.nii.gz” parts of the code, am I supposed to insert the name of my nii.gz image, or is this some sort of instruction to Mindboggle that it should operate with a T1 image? I tried running it with both “t1.nii.gz” and my image “MindboggleTest_T1w.nii.gz”. I’m not sure because the IMAGE variable already specifies which image mindboggle should work with.
Either way, I believe I’m still running into problems because of the mounting. With the code you suggested, I get the error:
Traceback (most recent call last):
File “/opt/miniconda-latest/envs/mb/bin/mindboggle”, line 194, in
raise IOError(“Please provide correct path to DATA.”)
OSError: Please provide correct path to DATA.
And this is the error I get when I try to run it on the cluster:
Traceback (most recent call last):
File “/opt/miniconda-latest/envs/mb/bin/mindboggle”, line 194, in
raise IOError(“Please provide correct path to DATA.”)
OSError: Please provide correct path to DATA.