easybuilders / easybuild-easyblocks

Collection of easyblocks that implement support for building and installing software with EasyBuild.
https://easybuild.io
GNU General Public License v2.0
106 stars 285 forks source link

add libjpeg-turbo to include dir for torchvision easyblock #3322

Closed smoors closed 5 months ago

smoors commented 6 months ago

(created using eb --new-pr)

this makes sure libjpeg.so is linked into the image.so shared lib of torchvision for reading jpeg files, fixing the following error:

RuntimeError: decode_jpeg: torchvision not compiled with libjpeg support.

smoors commented 6 months ago

Test report by @smoors

Overview of tested easyconfigs (in order)

Build succeeded for 1 out of 1 (1 easyconfigs in total) node400.hydra.os - Linux Rocky Linux 8.9, x86_64, AMD EPYC 7282 16-Core Processor (zen2), Python 3.6.8 See https://gist.github.com/smoors/45852fbde0c654658aed60dcbcd6291d for a full test report.

boegel commented 6 months ago

@smoors Can you clarify in the PR description why this is needed, or what type of build problem this fixes? (just so this PR is easy to find if people are looking for solutions to a build error)

smoors commented 6 months ago

Test report by @smoors

Overview of tested easyconfigs (in order)

Build succeeded for 1 out of 1 (1 easyconfigs in total) node400.hydra.os - Linux Rocky Linux 8.9, x86_64, AMD EPYC 7282 16-Core Processor (zen2), Python 3.6.8 See https://gist.github.com/smoors/a020ee10bd578836ac5ab3a21a88f088 for a full test report.

boegel commented 5 months ago

Test report by @boegel

Overview of tested easyconfigs (in order)

Build succeeded for 2 out of 2 (2 easyconfigs in total) node3303.joltik.os - Linux RHEL 8.8, x86_64, Intel(R) Xeon(R) Gold 6242 CPU @ 2.80GHz (cascadelake), 1 x NVIDIA Tesla V100-SXM2-32GB, 545.23.08, Python 3.6.8 See https://gist.github.com/boegel/65f6dd9658f322b6a0b329ad3d846c90 for a full test report.

boegel commented 5 months ago

The changes here introduced a problem for the sanity check of PyTorch-bundle, which is fixed in https://github.com/easybuilders/easybuild-easyblocks/pull/3353