Post
Topic
Board Mining (Altcoins)
Re: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX]
by
PVmining
on 15/06/2014, 10:10:17 UTC
Thanks a ton PVmining... this info helps a ton.

Even just using vi and Pico again (which I probably haven't done since working on the university systems 20 years ago...) is kind of funny to me.

It's funny how much comes back even after all this time, but I still needed to google some stupid easy commands like 'mv'.

you're welcome Smiley
the whole cudanerds in here (djm, bigjme, raven, invan,...  inculding you) helped me more than you all know (I nearly read the whole thread while I start mining a few months ago). So I'm happy if I can give a little back to you.

So help me out a little with what happens with the commands that you gave me to compile the code from github....

I clone the code to the ccminer dir and go through the make process?

Or should I be doing that to a ccminer-[date] directory like I see there already and then update the soft pointer in the ccminer folder?

yep, I would do this way.
I'm logged in as root via ssh. clean kopiemtu 1.3 installation.

Quote from: compiling the new ccminer
mine stop
monitor stop

git clone https://github.com/cbuchner1/ccminer /opt/miners/ccminer-2014-06-13

cd /opt/miners/ccminer-2014-05-20
cp -v util.c /opt/miners/ccminer-2014-06-13

cd /opt/miners/ccminer-2014-06-13
./autogen.sh
./configure
make

now you should have a working ccminer 1.1
try it out:  ./ccminer -a nist5 --benchmark

now we have to make the softlink, to use the new miner instead of the old.

Quote from: ccminer softlink
cd /opt/miners
rm -r ccminer
ln -s /opt/miners/ccminer-2014-06-13 /opt/miners/ccminer

ls -l /opt/miners/ccminer
...shows if the softlink points to /opt/miners/ccminer-2014-06-13

EDIT:
jk_14 has the solution why mine start & stop does not work anymore on kopiemtu


Quote from: jk_14
I forgot about this bug in ccminer...

Just comment out those lines in parse_cmdline function:

Code: [Select]
       if (opt_algo == ALGO_HEAVY && opt_vote == 9999) {
                fprintf(stderr, "%s: Heavycoin hash requires block reward vote parameter (see --vote)\n",
                        argv[0]);
                show_usage_and_exit(1);
        }

And 'make' again, and everything will be OK then

details about this funky feature:
https://litecointalk.org/index.php?topic=16800.435

so. right now the new ccminer should work as before with "mine start/stop" and brings back the failover via "monitor start"
please let me know if it works for you.