Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0018
by
fullzero
on 27/07/2017, 01:37:56 UTC
Hello fullzero,
After a bunch of research and try, I built ccminer 2.2 successfully on nvOC 0018.

The previous build break is due to the openssl version,

Code:
m1@m1-desktop:~$ openssl version
OpenSSL 1.1.1-dev  xx XXX xxxx

You used a dev build of openssl in nvOC, ccminer doesn't support it. I download source code of openssl v1.0.2l from openssl.org, build the code, create a few soft links to replace the v1.1.1, it finally works. Not sure if this change breaks other things.

I also built alexis78 fork, https://github.com/alexis78/ccminer, it requires one more step, replace cuda-7.5 to cuda-8.0 in configure.sh.

I'm looking forward these miners in nvOC 0019.

Using linux requires some technical backgrounds, fortunately I was a windows developer Grin


Thanks car1999;

this was helpful.

the problem with tp2.2 on nvOC was a file in the openssl: bn.h.  I swapped it with the version it was looking for and this resolved all the related errors.

Also the cuda version does need to be changed in configure.sh as you described, but also for 1000 series GPUs Makefile.am must be altered with the correct Arch flag, 61 for the 1000 series.

I compiled both alexis78 and Tpuvot 2.2 ccminer clients and added at download link to them on the OP.  I will include them in v0019 of course.


Hi,

I just tried these out following your instructions and just get "illegal instruction" from the miner, any thoughts?

Thanks Smiley  

What coin are you mining, when this occurs?


I compiled both alexis78 and Tpuvot 2.2 ccminer clients and added at download link to them on the OP.  I will include them in v0019 of course.

The alexis78 miner appears to be OK (at least /home/m1/ASccminer/ccminer --help works), but the and tpruvot miners exit on my rig with an illegal-instruction error.  My rig runs on a Celeron G3920 (Skylake core).

(The help output worked for the alexis78 miner, but when it tried mining with it, it fell over.)

What coin are you mining?


g4560 CPU for me, "illegal instruction" on ASccminer on --benchmark too  Sad

I only tested these on a v0018 image (different from the one I compiled on) on the same computer I compiled them on.  I didn't think compiling the miner was CPU specific.
  I will test on some of my rigs that have similar CPUs to the ones you both have reported using; and recompile the clients if necessary.

Also what GPUs are you using on these rigs?


This is just when attempting to launch miner from terminal, unable to get either of them to mine or attempt to mine anything. I've since tried updating openssl and building myself but can't seem to get it to pick up the new version so still throws the build error...lacking the linux skills. Mining with Gigabyte 1070s on nvOC v18 G4560 (don't know if that's relevant)

I tested and had the same results; so I re-compiled both on a G1840.  This should allow for all CPUs; please test the updated download link on the OP and let me know.

Thanks, OK so the new ones didn't work initially until I made the file have executable permissions and now it runs the benchmark but refuses to start stratum due to an "illegal instruction", i'm trying to mine Signatum with these switches:

./ccminer -a skunk -o stratum+tcp://sigt.suprnova.cc:7106 -u USERNAME -p PASSWORD -i 25

Would be awesome if we can get this going for everyones benefit by far most profitable mining coin out there right now Smiley


EDIT: So I just noticed that some of the skunk algo files are missing from the TPccminer folder, which were present in the gitclone of "https://github.com/tpruvot/ccminer/tree/linux" I did when trying to get it going. Would doing another build of the latest version sort the issue?
 


I think you may have the login and worker syntax incorrect, or you have not created the worker you are using before hand at suprnova.


add exe with the cmd:

Code:
chmod 755 '/home/m1/TP_2_2/ccminer'


then add the following to 1bash:
Code:
COIN="SIGT"


Code:
SIGT_WORKER="nvOC"
SIGT_ADDRESS="fullzero22"
SIGT_POOL="stratum+tcp://sigt.suprnova.cc:7106"


Code:
if [ $COIN == "SIGT" ]
then
HCD='/home/m1/TPccminer/ccminer'
ADDR="$SIGT_ADDRESS.$SIGT_WORKER"

screen -dmS miner $HCD -a skunk -o $SIGT_POOL -u $ADDR -p x -i 25

if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi

BITCOIN="theGROUND"

while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi


or use the line:


Code:
'/home/m1/TP_2_2/ccminer' -a skunk -o stratum+tcp://sigt.suprnova.cc:7106 -u fullzero22.nvOC -p x -i 25


in guake terminal

Works for me: