Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation module built on Ubuntu fails #1192

Open
Shin-Ogata opened this issue May 10, 2023 · 2 comments
Open

Installation module built on Ubuntu fails #1192

Shin-Ogata opened this issue May 10, 2023 · 2 comments

Comments

@Shin-Ogata
Copy link
Member

Shin-Ogata commented May 10, 2023

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
Copy link
Contributor

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

@Shin-Ogata
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants