ndzip icon indicating copy to clipboard operation
ndzip copied to clipboard

MPC benchmark suit is not linking/missing

Open pkousha opened this issue 3 years ago • 1 comments

Hi Fabian,

Thanks for helping me. You have a very interesting work that helps. I compiled ndzip with benchmark options and when running I see the following error:

$ ./benchmark  ../dataset/data.csv -r 5 -a  mpc cudpp-compress > benchmark-results.csv
./benchmark: symbol lookup error: ./benchmark: undefined symbol: MPC_float_compressBound

Also when running version supports I only see the following. I see MPC is compiled in build/contrib/mpc directory but there are some issues I assume. $ ./benchmark --version zlib version 1.2.11 LZ4 version 1.9.2 LZMA version 5.2.4 fpzip version 1.3.0 (December 20, 2019) GFC GPU FP Compressor v2.2 FPC v1.1 pFPC v1.0 SPDP v1.1

From running ./benchmark --help I see that: Available algorithms: zfp-mt nvcomp-cascaded nvcomp-lz4 lzma lz4 mpc fpzip gfc cudpp-compress pfpc fpc zfp deflate ndzip-mt spdp memcpy-mt ndzip-cuda ndzip memcpy

have you faced this issue?

pkousha avatar Feb 24 '22 03:02 pkousha

I have not seen this problem before. If it is still persists, here's couple of things to try:

  • Try running benchmark from the build directory (if that's not what you're doing already)
  • Check that benchmark links against libmpc.so with readelf -d benchmark and the executable's Library rpath contains the directory where libmpc.so is built
  • Check that libmpc.so acutally exports MPC_float_compressBound through nm -D libmpc.so | grep MPC_float_compressBound

fknorr avatar Jun 15 '22 12:06 fknorr