Bitcoin Forum

Other => Beginners & Help => Topic started by: dantose on September 03, 2013, 04:33:38 AM



Title: trouble getting cg miner to run
Post by: dantose on September 03, 2013, 04:33:38 AM
First off, complete newb to this.

I'm trying to mine on give-me-coins mining pool.

I installed cgminer via this guide: http://pfigue.github.io/blog/2013/03/01/installing-cgminer-on-ubuntu/

I get all the way through that and everything appears to be in order, but when i go to run it via this command:

Code:
./cgminer -scrypt -o ltc.give-me-coins.com:3333 -u [my pool username] -p [my pool password]

It returns:
Code:
./cgminer: -s: 'crypt' is not a number   

If I try taking the "-scrypt" out, it doesn't return any errors, but doesn't appear to do anything either.


Title: Re: trouble getting cg miner to run
Post by: SpeedDemon13 on September 03, 2013, 04:44:41 AM
First off, complete newb to this.

I'm trying to mine on give-me-coins mining pool.

I installed cgminer via this guide: http://pfigue.github.io/blog/2013/03/01/installing-cgminer-on-ubuntu/

I get all the way through that and everything appears to be in order, but when i go to run it via this command:

Code:
./cgminer -scrypt -o ltc.give-me-coins.com:3333 -u [my pool username] -p [my pool password]

It returns:
Code:
./cgminer: -s: 'crypt' is not a number   

If I try taking the "-scrypt" out, it doesn't return any errors, but doesn't appear to do anything either.

I run cgminer in CMD with the following: cgminer --scrypt - w 256 --lookup-gap 2 -I 18 --thread-concurrency 7500 -g 1 --gpu-engine 900 --gpu-memclock 1100 - o <pool URL:port number> -u <Username> -p <Password>
 
Looks like your missing just one dash "-", it's suppose to be "--" before the scrypt flag. ie. --scrypt


Title: Re: trouble getting cg miner to run
Post by: vektor on September 03, 2013, 04:55:03 AM
# cgminer --scrypt -o http://foo.bar:#### -u cryptoAddress -p foobar


the abstraction layer defines your cryptography in OpenCL between CPU/GPU (an interface), which means that you don't have to explicitly cast "w 256", as it's implied by the engines you're using. aces.snu.ac.kr/~jlee/Jaejin_Lees_Home/Pact11_tutorial.html


Title: Re: trouble getting cg miner to run
Post by: dantose on September 03, 2013, 05:01:40 AM
First off, complete newb to this.

I'm trying to mine on give-me-coins mining pool.

I installed cgminer via this guide: http://pfigue.github.io/blog/2013/03/01/installing-cgminer-on-ubuntu/

I get all the way through that and everything appears to be in order, but when i go to run it via this command:

Code:
./cgminer -scrypt -o ltc.give-me-coins.com:3333 -u [my pool username] -p [my pool password]

It returns:
Code:
./cgminer: -s: 'crypt' is not a number   

If I try taking the "-scrypt" out, it doesn't return any errors, but doesn't appear to do anything either.

I run cgminer in CMD with the following: cgminer --scrypt - w 256 --lookup-gap 2 -I 18 --thread-concurrency 7500 -g 1 --gpu-engine 900 --gpu-memclock 1100 - o <pool URL:port number> -u <Username> -p <Password>
 
Looks like your missing just one dash "-", it's suppose to be "--" before the scrypt flag. ie. --scrypt

Just tried that, returned
Code:
./cgminer: --scrypt: unrecognized option 

Quote
# cgminer --scrypt -o http://foo.bar:#### -u cryptoAddress -p foobar


the abstraction layer defines your cryptography in OpenCL between CPU/GPU (an interface). aces.snu.ac.kr/~jlee/Jaejin_Lees_Home/Pact11_tutorial.html

That is complete greek to me. If i created a user on give-me-coins.com with username Phil_McKrackin with password ZOMG!Password! should the command look like
Code:
./cgminer --scrypt -o ltc.give-me-coins.com:3333 -u Phil_McKrackin -p ZOMG!Password!


Title: Re: trouble getting cg miner to run
Post by: SpeedDemon13 on September 03, 2013, 05:08:51 AM
First off, complete newb to this.

I'm trying to mine on give-me-coins mining pool.

I installed cgminer via this guide: http://pfigue.github.io/blog/2013/03/01/installing-cgminer-on-ubuntu/

I get all the way through that and everything appears to be in order, but when i go to run it via this command:

Code:
./cgminer -scrypt -o ltc.give-me-coins.com:3333 -u [my pool username] -p [my pool password]

It returns:
Code:
./cgminer: -s: 'crypt' is not a number   

If I try taking the "-scrypt" out, it doesn't return any errors, but doesn't appear to do anything either.

I run cgminer in CMD with the following: cgminer --scrypt - w 256 --lookup-gap 2 -I 18 --thread-concurrency 7500 -g 1 --gpu-engine 900 --gpu-memclock 1100 - o <pool URL:port number> -u <Username> -p <Password>
 
Looks like your missing just one dash "-", it's suppose to be "--" before the scrypt flag. ie. --scrypt

Just tried that, returned
Code:
./cgminer: --scrypt: unrecognized option 

Quote
# cgminer --scrypt -o http://foo.bar:#### -u cryptoAddress -p foobar


the abstraction layer defines your cryptography in OpenCL between CPU/GPU (an interface). aces.snu.ac.kr/~jlee/Jaejin_Lees_Home/Pact11_tutorial.html

That is complete greek to me. If i created a user on give-me-coins.com with username Phil_McKrackin with password ZOMG!Password! should the command look like
Code:
./cgminer --scrypt -o ltc.give-me-coins.com:3333 -u Phil_McKrackin -p ZOMG!Password!

Strange, should work. You can re-download cgminer again and maker sure it's the Scrypt base verson. If that give you trouble, try guiminer scrypt version: http://guiminer.org/guiminer-scrypt.html . Simple and easy to use. Gives you the option to either use cgminer or reaper with a gui interface instead.


Title: Re: trouble getting cg miner to run
Post by: Zanatos666 on September 03, 2013, 02:26:48 PM
If you installed cgminer using the referenced guide, and you are trying to mine scrypt, it wont work.  

cgminer does not enable scrypt mining by default, when you ./configure it, you have to add the argument of --enable-scrypt.  By default, cgminer only enables gpu mining in linux, so if you are mining scrypt or asics, you have to enable those options when compiling, which is why its telling you that it doesnt recognize --scrypt as being valid.

So, redo install cgminer and use these options (also, that guide enables cpumining, which cgminer doesnt even support anymore).

Code:
$ sudo su
# cd /opt/
# git clone git://github.com/ckolivas/cgminer.git
# cd cgminer/
# ./autogen.sh
# CFLAGS="-O2 -Wall -march=native" ./configure --enable-scrypt --enable-bflsc --enable-icarus --enable-avalon
# make -j8

This will enable scrypt mining, as well as support for BFL ASICS, Avalon devices, and block erupters in case you want to add them later.