Open yasu-sh opened 1 year ago
Thanks for this report. I also experienced a loop device error before, both when running through Docker on Linux and natively on Linux. I didn't find out exactly what the solution is but it seemed to work when I created a new conda environment or when updating Apptainer. I was not able to reproduce the error once it worked.
If anyone experience a similar problem, please make a comment here and we can try to figure out how to solve it.
@felixleopoldo Thanks for your works, benchpress. It works fine on the machines. I was using benchpress and issues on WSL2 at win11 with docker. So now I moved to native Ubuntu machine with docker-image as the instruction manual at benchpress.
One symptom is worth telling you on some cases.
snakemake --cores 4 --use-singularity --configfile config/config.json
I guess the root cause has not been solved yet. But it in some cases updates makes a solutions. I hope my report be a help for benchpress users. https://github.com/sylabs/singularity/issues/67 <- the same symptoms.
When I run the code as below:
Then I faced the error as below. Both have the same. loop device was not enough.
Win11 on Docke Desktop with WSL2, volume mounted at Windows file system
PS > docker run -it -w /mnt --privileged -v F:/benchpress:/mnt bpimages/snakemake:v7.32.3
Win11 on Docke Desktop with WSL2, volume mounted at WSL2 file system
docker run -it -w /mnt --privileged --name bntab -v /home/path/benchpress:/mnt bpimages/snakemake:v7.32.3
Symptom:
(snakemake) root@d6f240d00620:/mnt# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 48 bits physical, 48 bits virtual CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 2 Core(s) per socket: 6 Model name: AMD Ryzen 5 5500 CPU MHz: 3593.164