Closed usergenomics13 closed 2 months ago
Hello I'm trying to install hypergen and faced with this
$ git clone https://github.com/wh-xu/Hyper-Gen.git Cloning into 'Hyper-Gen' ... Resolving deltas: 100% (86/86), done. $ cd Hyper-Gen $ cargo install --path . Installing hyper-gen v0.2.2 (/v/other/hyperg/Hyper-Gen) Updating crates.io index Locking 137 packages to latest compatible versions Adding bindgen v0.66.1 (latest: v0.69.4) Adding bit-vec v0.4.4 (latest: v0.6.3) Adding cudarc v0.10.0 (latest: v0.11.6) Adding encode_unicode v0.3.6 (latest: v1.0.0) Adding linux-raw-sys v0.4.14 (latest: v0.6.4) Adding peeking_take_while v0.1.2 (latest: v1.0.0) Adding rustc-hash v1.1.0 (latest: v2.0.0) Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) Adding which v4.4.2 (latest: v6.0.1) Adding windows-core v0.52.0 (latest: v0.57.0) Downloaded is_terminal_polyfill v1.70.0 Downloaded cexpr v0.6.0 Downloaded xxhash-rust v0.8.10 ... Compiling bloom v0.3.2 error: failed to run custom build command for `cudarc v0.10.0` Caused by: process didn't exit successfully: `/v/other/hyperg/Hyper-Gen/target/release/build/cudarc-344848acdfa34408/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=build.rs cargo:rerun-if-env-changed=CUDA_ROOT cargo:rerun-if-env-changed=CUDA_PATH cargo:rerun-if-env-changed=CUDA_TOOLKIT_ROOT_DIR --- stderr thread 'main' panicked at /home/s/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cudarc-0.10.0/build.rs:21:13: Unable to find `include/cuda.h` under any of: ["/usr", "/usr/local/cuda", "/opt/cuda", "/usr/lib/cuda", "C:/Program Files/NVIDIA GPU Computing Toolkit", "C:/CUDA"]. Set the `CUDA_ROOT` environment variable to `$CUDA_ROOT/include/cuda.h` to override path. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile `hyper-gen v0.2.2 (/v/other/hyperg/Hyper-Gen)`, intermediate artifacts can be found at `/v/other/hyperg/Hyper-Gen/target`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
It seems it is trying to config/use GPU. I want to use the software with cpu only.
about my institutional system
$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Model name: Intel(R) Xeon(R) .. $ rustup rustup 1.27.1 (54dd3d00f 2024-04-24) $ cargo -V cargo 1.79.0 (ffa9cf99a 2024-06-03)
I'm looking forward to your answer.
We added the conditional compilation support for CPU mode. Please check the updated installation instructions. Thanks.
Great! I just installed the cpu mode and it worked well. thanks.
Hello I'm trying to install hypergen and faced with this
It seems it is trying to config/use GPU. I want to use the software with cpu only.
about my institutional system
I'm looking forward to your answer.