AaltoSciComp / science-build-rules

Utility for building reproducible scientific software using spack, singularity and anaconda
https://science-build-rules.readthedocs.io/
5 stars 1 forks source link

CentOS builder needs libnl package #1

Open jabl opened 5 years ago

jabl commented 5 years ago

Following https://github.com/AaltoScienceIT/science-build-rules/commit/936b2cf5f18c7b5733a44b254997390f4c83176b builds using the centos worker fail. libnl3-devel needs to be installed into the container.

simo-tuomisto commented 5 years ago

libnl3 or libnl3-devel were not enough. Build failed due to

2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR            ware/pkgconf/1.6.1/bz3solt/bin/pkg-config (found version "1.6.1")
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR      67    -- Checking for modules 'libnl-3.0;libnl-route-3.0'
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR      68    --   Package 'libnl-3.0', required by 'virtual:world', not found
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR      69    --   Package 'libnl-route-3.0', required by 'virtual:world', not fou
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR            nd
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR      70    -- Checking for module 'libnl-1'
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR      71    --   Package 'libnl-1', required by 'virtual:world', not found
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR   >> 72    CMake Error at CMakeLists.txt:383 (message):
2019-08-27 12:26:39 5e8a2f124525 SubprocessRule ERROR      73      Cannot find libnl-3.0 or libnl-1
simo-tuomisto commented 5 years ago

Maybe using spack's libnl is easier.

jabl commented 5 years ago

Even better, since the libnl dependency is pulled in from rdma-core, we should be using the libraries provided by MLNX_OFED instead since that's what the nodes are actually using (except the wsm's which hopefully are on their way out anyway).