Post
Topic
Board Mining (Altcoins)
Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot)
by
The_Immortal
on 03/11/2017, 15:44:53 UTC
pallas,
scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.

cpu doesn't matter, unless you compiled with cpu specific flags.
is the software the same on the two machines? same OS, same version? same packages installed?
I had no problems sharing ccminer binaries with other people using the same linux OS, it even worked with different distributions, provided it had the same shared libraries available.
Exactly - all the same: OS, miner software, etc.

But could you tell me please if I want to compile ccminer for GTX 1050 only regardless any CPU what should I do?

As I get all I need is add into Makefile.am the following flag:
Code:
nvcc_ARCH = -gencode=arch=compute_60,code="sm_60,compute_60"
and remove all other flags concerning nvcc_ARCH.

Correct?