Closed PatrickCKennedy closed 8 months ago
Probably here is the reason:
INFO: fuse2fs not found, will not be able to mount EXT3 filesystems
It failed to mount, so that your --bind
option did not work.
Please try to "shell" into the container and see if that works.
Thanks for the speedy reply.
When I run the following...
singularity shell --cleanenv \
--bind /user/work/pk14885/Input_wasps_for_Mitoz/$this_wasp_name:/mnt \
/user/work/pk14885/MitoZ_v3.6.sif
...it takes me into the Apptainer shell:
Apptainer> mitoz all -h
bash: mitoz: command not found
I also tried the following (after https://github.com/linzhi2013/MitoZ/issues/99#issuecomment-757007509):
Apptainer> /app/anaconda/bin/python3 /app/release_MitoZ_v3.6/MitoZ.py -h
/app/anaconda/bin/python3: can't open file '/app/release_MitoZ_v3.6/MitoZ.py': [Errno 2] No such file or directory
No luck so far!
Solved - it was an issue with how I was mounting the data to Singularity.
I was using:
--bind /user/work/pk14885/Input_wasps_for_Mitoz/$this_wasp_name:/mnt
That didn't allow MitoZ to access the data.
When I changed the bind option to remove the 'mnt' and replace it with the location of the dataset (in my case, /user/work/pk14885/Input_wasps_for_Mitoz/$this_wasp_to_sample/
), it started running:
-B/user/work/pk14885/Input_wasps_for_Mitoz/$this_wasp_to_sample/:/user/work/pk14885/Input_wasps_for_Mitoz/$this_wasp_to_sample/
It still gives the fuse2fs warning before it gets going, but this doesn't seem to impede MitoZ.
Many thanks,
Patrick
That's great!
Usually, I keep the values of the two sides of the --bind
option the same, so it is easier to compose the command, i.e., you can use the "host path" inside the container.
Hello,
Thank you for creating MitoZ.
I am trying to run MitoZ 3.6 via Singularity on an HPC cluster, using the following:
However, MitoZ cannot access my input files. It produces the following error:
Please may I ask if there is an obvious mistake I am making here?