Description
Hello!
I have tried installing the Taobench benchmark a few times on a remote server running Ubuntu 22.04. Recently however, the install has been failing. It fails with the error:
error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
during the folly build, and I think that is because of a NumPy dependency issue. I was able to resolve that by force installing Numpy version 1.26.4 (since the error pops up for numpy versions >= 2.0).
Once this was fixed, there were errors with OpenSSL, as the install script has this:
if [ "$LINUX_DIST_ID" = "ubuntu" ]; then
cp build-deps/lib/libcrypto.so.1.1 /lib/x86_64-linux-gnu/
fi
but build-deps/lib/libcrypto.so.1.1
is never generated. I commented out the OpenSSL install and let it use the default OpenSSL install from Ubuntu, and it seems to have fixed everything.
I was not sure if these were bugs or if I was doing anything wrong, so wanted to clarify. To reproduce the issue:
- Fresh install of Ubuntu 22.04
- Install dependencies:
sudo apt update
sudo apt install -y python3-pip git
sudo pip3 install click pyyaml tabulate pandas
- Taobench install fails (
./benchpress_cli.py install tao_bench_autoscale
)