sony / nnabla

Neural Network Libraries
https://nnabla.org/
Apache License 2.0
2.73k stars 334 forks source link

Installation module built on Ubuntu fails #1192

Open Shin-Ogata opened 1 year ago

Shin-Ogata commented 1 year ago

The latest version v1.35.1 seems to have a problem installing the library built on Ubuntu environment.
Below, when sudo make install is performed using the options introduced here, nbla_cli and nbla_utils are not placed in /usr/local.

git clone https://github.com/sony/nnabla
mkdir -p nnabla/build && cd nnabla/build
cmake .. -DBUILD_CPP_UTILS=ON -DBUILD_PYTHON_PACKAGE=OFF -DNNABLA_UTILS_WITH_HDF5=ON
make
sudo make install

I have confirmed that this issue does NOT reproduce at least in v1.26.0.
I haven't checked closely at the CMakeLists.txt, but it looks like there is a problem with installing HDF5.

As a test, when HDF5 is turned off as follows, it was installed as expected even in v1.35.1.

-DNNABLA_UTILS_WITH_HDF5=OFF

We don't use HDF5 right now so it's not a critical issue for us, but we'd like to report it.


nnabla: v1.35.1

OS: WSL2 Ubuntu 22.04 GCC: v11.3.0

CUDA: v12.1.1 cuDNN: v8.9.1

TomonobuTsujikawa commented 1 year ago

Thank you for pointing out this issue! We will check this soon.

Shin-Ogata commented 1 year ago

Regarding this issue, we have confirmed that this issue has been fixed in this environment as well. Thank you.