mlcommons / inference_results_v3.0

This repository contains the results and code for the MLPerf™ Inference v3.0 benchmark.
https://mlcommons.org/en/inference-datacenter-30/
Apache License 2.0
18 stars 15 forks source link

Issue while building DLRM under C++ SUT step #8

Open mkmukund10 opened 1 year ago

mkmukund10 commented 1 year ago

Trying to build it on SPR. OS: Ubuntu 22.04.2 LTS (5.15.0-70-generic) All the above steps worked fine but step 7 (C++ SUT) ends with the below error.

make -j
Consolidate compiler generated dependencies of target cnpy
Consolidate compiler generated dependencies of target cnpy-static
[  7%] Building CXX object cnpy/CMakeFiles/cnpy-static.dir/cnpy.cpp.o
[ 15%] Building CXX object cnpy/CMakeFiles/cnpy.dir/cnpy.cpp.o
[ 23%] Linking CXX static library libcnpy.a
[ 23%] Built target cnpy-static
[ 30%] Linking CXX shared library libcnpy.so
/usr/bin/ld: cannot find -lnuma: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [cnpy/CMakeFiles/cnpy.dir/build.make:98: cnpy/libcnpy.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:130: cnpy/CMakeFiles/cnpy.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
arjunsuresh commented 1 year ago

The error is clear right? libnuma is missing and the below command should install it. Between which README file are you following here - Intel?

suda apt-get install libnuma-dev