Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoherent results for bUnwarpJ align depending on the number of CPUs #15

Open
lldelisle opened this issue Sep 23, 2024 · 0 comments
Open

Comments

@lldelisle
Copy link

Dear developpers,
While I was working on the Galaxy wrapper for bUnwarpJ align I realized that I got really different results when I was restraining the number of CPUs using docker. See here on left the result with docker with --cpus 0 (no CPU restriction) and on the right with --cpus 1.
image

Steps to reproduce:

# Get docker image with fiji
 docker pull quay.io/biocontainers/fiji:20231211--h9ee0642_0
# Get input images
wget https://raw.githubusercontent.com/bgruening/galaxytools/refs/heads/master/tools/image_processing/imagej2/test-data/dotblot.jpg
wget https://raw.githubusercontent.com/bgruening/galaxytools/refs/heads/master/tools/image_processing/imagej2/test-data/dotblot.jpg
# Run bunwarpj-align
docker run --name test_docker -v $PWD:$PWD:rw -w $PWD --cpus 0 --rm --user 1001:1001 quay.io/biocontainers/fiji:20231211--h9ee0642_0 bunwarpj -align 'dotblot.jpg' 'NULL' 'blobs.gif' 'NULL' 0 2 1 0.0 0.0 1.0 10.0 'registered_source1_docker0cpus.png' 'registered_target1_docker0cpus.png'
docker run --name test_docker -v $PWD:$PWD:rw -w $PWD --cpus 1 --rm --user 1001:1001 quay.io/biocontainers/fiji:20231211--h9ee0642_0 bunwarpj -align 'dotblot.jpg' 'NULL' 'blobs.gif' 'NULL' 0 2 1 0.0 0.0 1.0 10.0 'registered_source1_docker1cpu.png' 'registered_target1_docker1cpu.png'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant