Pages:
Author

Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner - page 83. (Read 444043 times)

hero member
Activity: 700
Merit: 500
@ Felix

-u mustmatch coin conf
-p as in coin conf too

one of the benefits is with coinbase adr, you dont need to have the wallet started (usually)
try this pls and report us if it works for you

for me i have done so some time ago  and it has worked


i see, i think this only applies to non cryptonight algos, as joblo pointed out below they dont use coinbase-addr
legendary
Activity: 1470
Merit: 1114
@ Felix

-u mustmatch coin conf
-p as in coin conf too

one of the benefits is with coinbase adr, you dont need to have the wallet started (usually)
try this pls and report us if it works for you

for me i have done so some time ago  and it has worked


Cryptonight uses a different version of RPC and doesn't support GBT. Coinbase addr is not used
for getwork.
hero member
Activity: 700
Merit: 500
i noticed this branch of ccminer: https://github.com/hyc/ccminer-cryptonight/commits/daemon

might it be possible to get cryptonight solo mining working with these modifications, ie are they easily portable to cpuminer-opt?

No one has reported it not working.

ah yes, i assumed it doesnt work

anything different as with "normal" coins like hexx?

my cmdline would look like this (blockchain still syncing):

cpuminer -a cryptonight -t 3 --coinbase-addr= -o http://localhost:RPC_PORT -u ?? -p ??

not sure about the username and pass param, will see if needed and/or how to set in coin config
legendary
Activity: 1470
Merit: 1114
i noticed this branch of ccminer: https://github.com/hyc/ccminer-cryptonight/commits/daemon

might it be possible to get cryptonight solo mining working with these modifications, ie are they easily portable to cpuminer-opt?

No one has reported it not working.
hero member
Activity: 700
Merit: 500
i noticed this branch of ccminer: https://github.com/hyc/ccminer-cryptonight/commits/daemon

might it be possible to get cryptonight solo mining working with these modifications, ie are they easily portable to cpuminer-opt?
hero member
Activity: 700
Merit: 500
Also gcc 5.4 tested, OK!

These guys are trolling you.
Why waste the time.. It is history.
This is 2017

Even the centos is just as dead as dead can be. But original redhat.. Like from museum.

It is like asking to compile it on commodore 16.
Ok, my nintedo is faster..

everybody with compile problems and running linux can use docker btw, this approach is clean and neat
full member
Activity: 154
Merit: 100
Also gcc 5.4 tested, OK!

These guys are trolling you.
Why waste the time.. It is history.
This is 2017

Even the centos is just as dead as dead can be. But original redhat.. Like from museum.

It is like asking to compile it on commodore 16.
Ok, my nintedo is faster..
newbie
Activity: 7
Merit: 0
i have just update but other error Sad

gcc 4.8
Code:
[root@localhost cpuminer-opt-3.6.0]# make
make  all-recursive
make[1]: Entering directory `/root/cpuminer-opt-3.6.0'
Making all in compat
make[2]: Entering directory `/root/cpuminer-opt-3.6.0/compat'
Making all in jansson
make[3]: Entering directory `/root/cpuminer-opt-3.6.0/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cpuminer-opt-3.6.0/compat/jansson'
make[3]: Entering directory `/root/cpuminer-opt-3.6.0/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/cpuminer-opt-3.6.0/compat'
make[2]: Leaving directory `/root/cpuminer-opt-3.6.0/compat'
make[2]: Entering directory `/root/cpuminer-opt-3.6.0'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native  -Iyes/include -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
/tmp/ccLkOiAY.s: Assembler messages:
/tmp/ccLkOiAY.s:9: Error: expecting string instruction after `rep'
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.6.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.6.0'
make: *** [all] Error 2

 
newbie
Activity: 7
Merit: 0
Quote

What version of gcc are you using? It's not an error with gcc 4.8. You can work around it by deleting the #pragma
directives causing the errors.

my version:
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)

i'm updating to gcc 4.8.
i will report for you result
legendary
Activity: 1470
Merit: 1114
hi joblo
I install on Centos but have error: im processing command: make

Code:
mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native  -Iyes/include -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
algo-gate-api.c: In function ‘register_algo_gate’:
algo-gate-api.c:150: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:151: error: #pragma GCC diagnostic not allowed inside functions

algo-gate-api.c:211: error: #pragma GCC diagnostic not allowed inside functions
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.6.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.6.0'
make: *** [all] Error 2

What version of gcc are you using? It's not an error with gcc 4.8. You can work around it by deleting the #pragma
directives causing the errors.
newbie
Activity: 7
Merit: 0
hi joblo
I install on Centos but have error: im processing command: make

Code:
mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native  -Iyes/include -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
algo-gate-api.c: In function ‘register_algo_gate’:
algo-gate-api.c:150: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:151: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:153: warning: implicit declaration of function ‘register_argon2_algo’
algo-gate-api.c:154: warning: implicit declaration of function ‘register_axiom_algo’
algo-gate-api.c:155: warning: implicit declaration of function ‘register_bastion_algo’
algo-gate-api.c:156: warning: implicit declaration of function ‘register_blake_algo’
algo-gate-api.c:157: warning: implicit declaration of function ‘register_blakecoin_algo’
algo-gate-api.c:159: warning: implicit declaration of function ‘register_blake2s_algo’
algo-gate-api.c:160: warning: implicit declaration of function ‘register_c11_algo’
algo-gate-api.c:161: warning: implicit declaration of function ‘register_cryptolight_algo’
algo-gate-api.c:162: warning: implicit declaration of function ‘register_cryptonight_algo’
algo-gate-api.c:163: warning: implicit declaration of function ‘register_decred_algo’
algo-gate-api.c:164: warning: implicit declaration of function ‘register_deep_algo’
algo-gate-api.c:165: warning: implicit declaration of function ‘register_drop_algo’
algo-gate-api.c:166: warning: implicit declaration of function ‘register_fresh_algo’
algo-gate-api.c:167: warning: implicit declaration of function ‘register_groestl_algo’
algo-gate-api.c:168: warning: implicit declaration of function ‘register_heavy_algo’
algo-gate-api.c:169: warning: implicit declaration of function ‘register_hmq1725_algo’
algo-gate-api.c:170: warning: implicit declaration of function ‘register_hodl_algo’
algo-gate-api.c:171: warning: implicit declaration of function ‘register_keccak_algo’
algo-gate-api.c:172: warning: implicit declaration of function ‘register_lbry_algo’
algo-gate-api.c:173: warning: implicit declaration of function ‘register_luffa_algo’
algo-gate-api.c:174: warning: implicit declaration of function ‘register_lyra2re_algo’
algo-gate-api.c:175: warning: implicit declaration of function ‘register_lyra2rev2_algo’
algo-gate-api.c:176: warning: implicit declaration of function ‘register_zcoin_algo’
algo-gate-api.c:177: warning: implicit declaration of function ‘register_lyra2z330_algo’
algo-gate-api.c:178: warning: implicit declaration of function ‘register_m7m_algo’
algo-gate-api.c:179: warning: implicit declaration of function ‘register_myriad_algo’
algo-gate-api.c:180: warning: implicit declaration of function ‘register_neoscrypt_algo’
algo-gate-api.c:181: warning: implicit declaration of function ‘register_nist5_algo’
algo-gate-api.c:182: warning: implicit declaration of function ‘register_pentablake_algo’
algo-gate-api.c:183: warning: implicit declaration of function ‘register_pluck_algo’
algo-gate-api.c:184: warning: implicit declaration of function ‘register_quark_algo’
algo-gate-api.c:185: warning: implicit declaration of function ‘register_qubit_algo’
algo-gate-api.c:186: warning: implicit declaration of function ‘register_scrypt_algo’
algo-gate-api.c:187: warning: implicit declaration of function ‘register_scryptjane_algo’
algo-gate-api.c:188: warning: implicit declaration of function ‘register_sha256d_algo’
algo-gate-api.c:189: warning: implicit declaration of function ‘register_sha256t_algo’
algo-gate-api.c:190: warning: implicit declaration of function ‘register_shavite_algo’
algo-gate-api.c:191: warning: implicit declaration of function ‘register_skein_algo’
algo-gate-api.c:192: warning: implicit declaration of function ‘register_skein2_algo’
algo-gate-api.c:193: warning: implicit declaration of function ‘register_s3_algo’
algo-gate-api.c:194: warning: implicit declaration of function ‘register_timetravel_algo’
algo-gate-api.c:195: warning: implicit declaration of function ‘register_vanilla_algo’
algo-gate-api.c:196: warning: implicit declaration of function ‘register_veltor_algo’
algo-gate-api.c:197: warning: implicit declaration of function ‘register_whirlpool_algo’
algo-gate-api.c:198: warning: implicit declaration of function ‘register_whirlpoolx_algo’
algo-gate-api.c:199: warning: implicit declaration of function ‘register_x11_algo’
algo-gate-api.c:200: warning: implicit declaration of function ‘register_x11evo_algo’
algo-gate-api.c:201: warning: implicit declaration of function ‘register_sib_algo’
algo-gate-api.c:202: warning: implicit declaration of function ‘register_x13_algo’
algo-gate-api.c:203: warning: implicit declaration of function ‘register_x14_algo’
algo-gate-api.c:204: warning: implicit declaration of function ‘register_x15_algo’
algo-gate-api.c:205: warning: implicit declaration of function ‘register_x17_algo’
algo-gate-api.c:206: warning: implicit declaration of function ‘register_xevan_algo’
algo-gate-api.c:207: warning: implicit declaration of function ‘register_yescrypt_algo’
algo-gate-api.c:208: warning: implicit declaration of function ‘register_zr5_algo’
algo-gate-api.c:211: error: #pragma GCC diagnostic not allowed inside functions
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: Leaving directory `/root/cpuminer-opt-3.6.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt-3.6.0'
make: *** [all] Error 2
legendary
Activity: 1134
Merit: 1001
Guys , anyone know a best pool for mining monero ? i want try with i7 5820k @ 4 ghz , and i5 6600 , im waiting ryzen 1700 .
hero member
Activity: 700
Merit: 500
anybody knows some coins which can still be solomined (besides hexxcoin)? i want to test cpuminer-opt getwork/gbt support as well as my wrapper Tongue
legendary
Activity: 1470
Merit: 1114
One short term possibility is to have sha256t use the openssl implemention if it has been optimized. That is something I can look
into.

That was a bust, the openssl version is slower even though it includes the SHA extensions. I don't know if the sha instructions were
actually used, performance suggests they were not.
 
legendary
Activity: 1470
Merit: 1114
AMD Ryzen adds support for this: https://en.wikipedia.org/wiki/Intel_SHA_extensions

Does cpuminer-opt use these ones? Should be useful (or may not) for SHA256t/SHA256t (OneCoin or somethin').

Also, good check asm tool: https://github.com/mirror/x264/tree/master/tools, seems that this open source project is one of the most optimized for now. Some ports to cpuminer-opt maybe... Roll Eyes

I'm having a hard time finding information about the sha256 intrinsics. The only definitive statement I could find was it was
introduced in Goldmont, but that's an Atom architecture. I found some documents discussing sha256 performance on Haswell
but no clear statement about using HW acceleration.

I also found a mention that it is supported in gcc 5 and above but I don't know if that applies to the Goldmont support or
some previous implementation in the core CPUs.

I never looked at sha256 because of the availability of ASICs. There is no ASIC yet for sh256t but it's trivial to implement. The next
generation of ASICs is almost guaranteed to have it.

I quick search found 4 different sha256 implementations in cpuminer-opt. There is SPH, the reference implementation used by
many algos including sha256t. Skein uses an openssl implementation, hodl and yescrypt each have their own implementation.
It's possible openssl has already implemented HW sha256 and would use it on capable CPUs.

Even if the picture was clearer it would be a lot of work to develop a HW accelerated mining function for sha256 with limited
benefit. Mining sha256d would still be useless with a CPU and CPU mining sha256t would become obsolete as soon as the next
generation of ASICS becomes avaialble. None of the other algos that use sha256 have enough interest or support to pay for the
development of a HW accelerated CPU mining function.

One short term possibility is to have sha256t use the openssl implemention if it has been optimized. That is something I can look
into.

full member
Activity: 187
Merit: 100
Cryptocurrency enthusiast
AMD Ryzen adds support for this: https://en.wikipedia.org/wiki/Intel_SHA_extensions

Does cpuminer-opt use these ones? Should be useful (or may not) for SHA256t/SHA256t (OneCoin or somethin').

Also, good check asm tool: https://github.com/mirror/x264/tree/master/tools, seems that this open source project is one of the most optimized for now. Some ports to cpuminer-opt maybe... Roll Eyes
legendary
Activity: 1470
Merit: 1114


Has anyone tried GBT with an address? yes, with address, failed

Has anyone tried --no-gbt? yes, failed


back to gbt tomorrow, next testing: 3.6 gbt

I don't understand. If default works (try gbt, fall back to getwork) then --no-gbt should also work
becasuse it goes directly to getwork without first trying gbt.

I'm not surprised gbt doesn't work, it hasn't been tried before.
3.6.0 , getwork and gbt, BOTH tested to work when solo.
Earlier either of those did not work no matter what you did.

Cpuminer is fine now!

Excellent!. Thanks again.
legendary
Activity: 1134
Merit: 1001
3.6.0 update performance with zcoin cpu ? .
full member
Activity: 154
Merit: 100


Has anyone tried GBT with an address? yes, with address, failed

Has anyone tried --no-gbt? yes, failed


back to gbt tomorrow, next testing: 3.6 gbt

I don't understand. If default works (try gbt, fall back to getwork) then --no-gbt should also work
becasuse it goes directly to getwork without first trying gbt.

I'm not surprised gbt doesn't work, it hasn't been tried before.
3.6.0 , getwork and gbt, BOTH tested to work when solo.
Earlier either of those did not work no matter what you did.

Cpuminer is fine now!
legendary
Activity: 1470
Merit: 1114


Has anyone tried GBT with an address? yes, with address, failed

Has anyone tried --no-gbt? yes, failed


back to gbt tomorrow, next testing: 3.6 gbt

I don't understand. If default works (try gbt, fall back to getwork) then --no-gbt should also work
becasuse it goes directly to getwork without first trying gbt.

I'm not surprised gbt doesn't work, it hasn't been tried before.
Pages:
Jump to: