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

Install guide for non-root user #618

Open
jinz2014 opened this issue Feb 7, 2024 · 4 comments
Open

Install guide for non-root user #618

jinz2014 opened this issue Feb 7, 2024 · 4 comments

Comments

@jinz2014
Copy link

jinz2014 commented Feb 7, 2024

Can you please provide build instructions for non-root users ?


Successfully installed Tensile-4.33.0 msgpack-1.0.7

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python3 -m pip install --upgrade pip
-- Adding /path/to/hipBLASLt/build/virtualenv to CMAKE_PREFIX_PATH
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at build/virtualenv/lib/python3.10/site-packages/Tensile/Source/lib/CMakeLists.txt:105 (find_package):
  By not providing "Findmsgpack.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "msgpack", but
  CMake did not find one.

  Could not find a package configuration file provided by "msgpack" with any
  of the following names:

    msgpackConfig.cmake
    msgpack-config.cmake

  Add the installation prefix of "msgpack" to CMAKE_PREFIX_PATH or set
  "msgpack_DIR" to a directory containing one of the above files.  If
  "msgpack" provides a separate development package or SDK, be sure it has
  been installed.
@KKyang
Copy link
Contributor

KKyang commented Mar 9, 2024

Maybe it's the same problem? #677

@zichguan-amd
Copy link

Hi @jinz2014, can you try using -d as suggested in #677?

@jinz2014
Copy link
Author

The command assumes that a user has root permission.

./install.sh -d

[ 8%] Building C object CMakeFiles/msgpackc.dir/src/objectc.c.o
[ 16%] Building C object CMakeFiles/msgpackc.dir/src/unpack.c.o
[ 25%] Building C object CMakeFiles/msgpackc.dir/src/version.c.o
[ 33%] Building C object CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o
[ 41%] Building C object CMakeFiles/msgpackc.dir/src/zone.c.o
[ 50%] Linking C shared library libmsgpackc.so
[ 50%] Built target msgpackc
[ 58%] Building C object CMakeFiles/msgpackc-static.dir/src/objectc.c.o
[ 66%] Building C object CMakeFiles/msgpackc-static.dir/src/unpack.c.o
[ 75%] Building C object CMakeFiles/msgpackc-static.dir/src/version.c.o
[ 83%] Building C object CMakeFiles/msgpackc-static.dir/src/vrefbuffer.c.o
[ 91%] Building C object CMakeFiles/msgpackc-static.dir/src/zone.c.o
[100%] Linking C static library libmsgpackc.a
[100%] Built target msgpackc-static

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

@zichguan-amd
Copy link

If you have all the dependencies then you can try building manually with cmake, see the docs here: https://rocm.docs.amd.com/projects/hipBLASLt/en/latest/installation.html#manual-build-all-supported-platforms. You can choose to install in a directory that does not require sudo permission with -DCMAKE_INSTALL_PREFIX=<path>.

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

No branches or pull requests

4 participants