Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
339 stars 109 forks source link

run bladebit on centos7 #388

Open JustAlias opened 10 months ago

JustAlias commented 10 months ago

I want to run bladebit on centos7 but need to upgrade glibc gcc which is likely to crash my harvester system, what should I do, Can I recompile bladebit using the bladebit source code on a centos7 system?

JustAlias commented 10 months ago

up

karlestira commented 8 months ago

I want to run bladebit on centos7 but need to upgrade glibc gcc which is likely to crash my harvester system, what should I do, Can I recompile bladebit using the bladebit source code on a centos7 system?

Using Singularity and a debian image can solve your problem. Docker can do the same thing, but it is hard to use. Recompile is much more difficult than download pre-compile version and configure your containers, especially when you need to work with CUDA/nvcc (fxxk NVIDIA). And I remember compiling bladebit need an API related to high-quality random numbers, and this libc API is not contained in centos7(this maybe the reason bladebit cannot support centos7).

I hate update OS, unless it has serious bug, and sometimes you have no permission to modify OS, or maybe your hardware/driver/software cannot support new OS. Updating OS, almost always, lead to much more problems. So I strongly suggest using containers.

LeroyINC commented 8 months ago

Why would you want to run it on CentOS 7? I am running my setup on CentOS 9 app stream and it's working very well. Or you can even use Rocky Linux if you want to stick with the same "flavor." No need to run on anything old.