we are trying to build singularity container image for running visualSFM on our university cluster.
Our cluster required using CPU to perform every step.
So we use vlfeat and set nv.ini file for CPU option.
Our input image format was jpg.
However, the singularity container image works only for smaller image size, for example 1024768, does not work for image size above 20481024.
We trace the error to the ~/vsfm/bin/ folder, when using vlfeat sift to do feature extraction and matching, VisualSFM binary file will generate a temp.pgm files inside ~/vsfm/bin/, then sift binary file will
generate a temp.sift based on the input of temp.pgm inside this folder.
Due to unknown reason, is converting from jpf to pgm with large image, it fails to write out correct temporary pgm file, causing the sift module throw out error like:
sift: err: PGM body malformed. (4)
SIFT: 0000, 2048x1024, ERROR6
ERROR: unable to execute sift binary.
This only happens running the program inside the singularity container image, it will work well putting all the program folder on cluster or PC hard drive.
Is there anyway to increase the size of program folder inside container?
Can anyone help us and provide some suggestions?
Thanks so much!
We are working on this for long time, still no clear solution.
we are trying to build singularity container image for running visualSFM on our university cluster.
Our cluster required using CPU to perform every step.
So we use vlfeat and set nv.ini file for CPU option.
Our input image format was jpg.
However, the singularity container image works only for smaller image size, for example 1024768, does not work for image size above 20481024.
We trace the error to the ~/vsfm/bin/ folder, when using vlfeat sift to do feature extraction and matching, VisualSFM binary file will generate a temp.pgm files inside ~/vsfm/bin/, then sift binary file will generate a temp.sift based on the input of temp.pgm inside this folder.
Due to unknown reason, is converting from jpf to pgm with large image, it fails to write out correct temporary pgm file, causing the sift module throw out error like: sift: err: PGM body malformed. (4) SIFT: 0000, 2048x1024, ERROR6 ERROR: unable to execute sift binary.
This only happens running the program inside the singularity container image, it will work well putting all the program folder on cluster or PC hard drive.
Is there anyway to increase the size of program folder inside container? Can anyone help us and provide some suggestions?
Thanks so much!
We are working on this for long time, still no clear solution.