Prime95
Prime95 copied to clipboard
how to compile on linux64
I keep getting errors from precompiled stuff and also many tutorials are outdated
Sorry, @virophagesp , I didn't compile sucessfully too. but the following maybe helpful, tell me please if it works
yum install gmp-develor compile from source codeyum install hwloc-develor compile fomr source code: https://github.com/open-mpi/hwloc- compile
gwnum
cd gwnum
cp linux64/* .
make -f make64
- compile
mprime
cd ../linux64
make
Sorry, @virophagesp , I didn't compile sucessfully too. but the following maybe helpful, tell me please if it works
yum install gmp-develor compile from source codeyum install hwloc-develor compile fomr source code: https://github.com/open-mpi/hwloc- compile
gwnumcd gwnum cp linux64/* . make -f make64 4. compile
mprimecd ../linux64 make
Hey! Im trying to build this too, and after lots of attempts i still cant compile. Your commands (apparently mprime compiling stage) fails on linkage with errors about missing -lcurl and -lhwloc. What you have to do: before running final make, you should open the makefile, and remove all -Wl,-B* flags from LIBS. Apparently, -Wl,-Bstatic means that the next libraries should be linked statically, and that happens with libhwloc and libcurl. Forcing dynamic linkage should't make any real impact on performance. If you want, i can make a PR with the fix - please, include this in README. By the way, newly built Prime95 is completely unusable. Meh.
I guess the static thing is a holdover from the days when dynamic linking had real tangible performance overhead. Or perhaps some consideration for being able to run it without installing additional things is made. In either case I am not sure if you can persuade the authors to go dynamic anytime soon... Anyways gmp-static does seem to exist, but probably not the other two.