arttumiettinen / pi2

C++ library and command-line software for processing and analysis of terabyte-scale volume images locally or on a computing cluster.
GNU General Public License v3.0
48 stars 13 forks source link

floodfill support for distributed computing not implemented? #2

Closed schlepuetz closed 3 years ago

schlepuetz commented 3 years ago

I am using the latest version of pi2 from git (cloned and built today). I am trying to floodfill a large-ish image (300 Gb) on the PSI distributed system (SLURM). According to the documentation, this should be supported (https://pi2-docs.readthedocs.io/en/latest/reference/floodfill.html):

Performs flood fill. Fills start point and all its neighbours and their neighbours etc. recursively as long as the color of the pixel to be filled equals color of the start point.

This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.

However, when trying to run this, I get the following error:

RuntimeError: Command floodfill(image, start point, fill value, connectivity) has not been setup to run in a distributed computing environment.

Thanks for any help on this and best wishes! Chris

schlepuetz commented 3 years ago

Alright, I now see that this is in the experimental branch. I was confused because the documentation on readthedocs for "latest" indicated that it was enabled for distributed mode, but the release "latest" (4.1.2) on the master branch does not include that change yet. So all is good, apologies for my misunderstanding.