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

Question about installing xpu_timer #1474

Open
Icegrave0391 opened this issue Feb 20, 2025 · 0 comments
Open

Question about installing xpu_timer #1474

Icegrave0391 opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
question Further information is requested xpu_timer

Comments

@Icegrave0391
Copy link

Dear developer,

I tried to install xpu_timer by using

bash build.sh nvidia --ssl-path /usr/bin/openssl --sdk-path /usr/local/cuda --build-type release

However, bazelisk throws the following error:

ERROR: An error occurred during the fetch of repository 'openssl':
   Traceback (most recent call last):
	File "/home/chuqi/llm-hack-test/dlrover/xpu_timer/workspace.bzl", line 30, column 14, in _dynamic_local_repository_impl
		_link(repository_ctx, lib_path, lib_name)
	File "/home/chuqi/llm-hack-test/dlrover/xpu_timer/workspace.bzl", line 21, column 27, in _link
		repository_ctx.symlink(repository_ctx.path(src), symlink_target)
Error in symlink: java.io.IOException: Could not create symlink from /usr/bin/openssl to /home/chuqi/.cache/bazel/_bazel_chuqi/5c4df50cc4470d125614360ebc6ea020/external/openssl/openssl: /home/chuqi/.cache/bazel/_bazel_chuqi/5c4df50cc4470d125614360ebc6ea020/external/openssl (Not a directory)
ERROR: /home/chuqi/llm-hack-test/dlrover/xpu_timer/WORKSPACE:24:15: fetching dynamic_local_repository rule //external:openssl: Traceback (most recent call last):
	File "/home/chuqi/llm-hack-test/dlrover/xpu_timer/workspace.bzl", line 30, column 14, in _dynamic_local_repository_impl
		_link(repository_ctx, lib_path, lib_name)
	File "/home/chuqi/llm-hack-test/dlrover/xpu_timer/workspace.bzl", line 21, column 27, in _link
		repository_ctx.symlink(repository_ctx.path(src), symlink_target)
Error in symlink: java.io.IOException: Could not create symlink from /usr/bin/openssl to /home/chuqi/.cache/bazel/_bazel_chuqi/5c4df50cc4470d125614360ebc6ea020/external/openssl/openssl: /home/chuqi/.cache/bazel/_bazel_chuqi/5c4df50cc4470d125614360ebc6ea020/external/openssl (Not a directory)

I tried to

rm /home/chuqi/.cache/bazel/_bazel_chuqi/5c4df50cc4470d125614360ebc6ea020/external/openssl
mkdir /home/chuqi/.cache/bazel/_bazel_chuqi/5c4df50cc4470d125614360ebc6ea020/external/openssl

But this doesn't work.

I appreciate your help!

@Icegrave0391 Icegrave0391 added the question Further information is requested label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested xpu_timer
Projects
None yet
Development

No branches or pull requests

3 participants