Bitcoin Forum
April 25, 2024, 10:17:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 [84] 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443960 times)
minerbaba
Newbie
*
Offline Offline

Activity: 91
Merit: 0


View Profile
January 21, 2017, 06:40:37 PM
 #1661

what speed for i7/i5 haswell family?

cpuminer-opt-3.5.0-windows>cpuminer-core-avx2 -o stratum+tcp://stratum.coinspool.cu.cc:3046 -a bastion -u JfvSheuHDZ1tytaXYM9TswC5fqhRdpMbLj -p Password -t 4

         **********  cpuminer-opt 3.5.0  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
CPU features: SSE2 AES AVX AVX2
SW built on Jan 12 2017 with GCC 4.8.3
SW features: SSE2 AES AVX AVX2
Algo features: SSE2
Start mining with SSE2

[2017-01-22 00:06:40] Starting Stratum on stratum+tcp://stratum.coinspool.cu.cc:3046
[2017-01-22 00:06:40] 4 miner threads started, using 'bastion' algorithm.
[2017-01-22 00:06:55] CPU #3: 315.21 kH, 28.44 kH/s
[2017-01-22 00:06:56] Accepted 1/1 (100%), 315.21 kH, 28.44 kH/s
[2017-01-22 00:06:57] CPU #3: 65.01 kH, 28.38 kH/s
[2017-01-22 00:06:57] CPU #2: 378.00 kH, 28.26 kH/s
[2017-01-22 00:06:57] CPU #0: 357.67 kH, 27.36 kH/s
[2017-01-22 00:06:57] CPU #1: 365.44 kH, 27.32 kH/s
[2017-01-22 00:07:40] CPU #0: 1176.87 kH, 27.23 kH/s
[2017-01-22 00:07:41] Accepted 2/2 (100%), 1985.31 kH, 111.20 kH/s
[2017-01-22 00:07:57] CPU #1: 1639.46 kH, 27.58 kH/s
[2017-01-22 00:07:57] CPU #2: 1695.66 kH, 28.43 kH/s
[2017-01-22 00:07:57] CPU #3: 1702.97 kH, 28.41 kH/s
[2017-01-22 00:07:59] CPU #1: 54.19 kH, 28.40 kH/s
[2017-01-22 00:07:59] Accepted 3/3 (100%), 4629.69 kH, 112.47 kH/s
[2017-01-22 00:08:09] CPU #1: 288.67 kH, 27.73 kH/s
[2017-01-22 00:08:09] Accepted 4/4 (100%), 4864.17 kH, 111.81 kH/s
[2017-01-22 00:08:13] CPU #0: 894.53 kH, 27.49 kH/s
[2017-01-22 00:08:14] Accepted 5/5 (100%), 4581.83 kH, 112.06 kH/s
[2017-01-22 00:08:21] CPU #0: 225.83 kH, 27.45 kH/s
[2017-01-22 00:08:22] Accepted 6/6 (100%), 3913.13 kH, 112.03 kH/s
[2017-01-22 00:08:28] CPU #2: 899.83 kH, 28.44 kH/s
[2017-01-22 00:08:29] Accepted 7/7 (100%), 3117.30 kH, 112.03 kH/s
[2017-01-22 00:08:33] CPU #1: 676.14 kH, 27.82 kH/s
[2017-01-22 00:08:34] Accepted 8/8 (100%), 3504.77 kH, 112.12 kH/s
[2017-01-22 00:08:44] CPU #2: 435.54 kH, 28.23 kH/s
[2017-01-22 00:08:44] Accepted 9/9 (100%), 3040.49 kH, 111.92 kH/s
[2017-01-22 00:08:45] CPU #0: 654.08 kH, 27.42 kH/s
[2017-01-22 00:08:46] Accepted 10/10 (100%), 3468.74 kH, 111.89 kH/s
1714040235
Hero Member
*
Offline Offline

Posts: 1714040235

View Profile Personal Message (Offline)

Ignore
1714040235
Reply with quote  #2

1714040235
Report to moderator
1714040235
Hero Member
*
Offline Offline

Posts: 1714040235

View Profile Personal Message (Offline)

Ignore
1714040235
Reply with quote  #2

1714040235
Report to moderator
1714040235
Hero Member
*
Offline Offline

Posts: 1714040235

View Profile Personal Message (Offline)

Ignore
1714040235
Reply with quote  #2

1714040235
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714040235
Hero Member
*
Offline Offline

Posts: 1714040235

View Profile Personal Message (Offline)

Ignore
1714040235
Reply with quote  #2

1714040235
Report to moderator
1714040235
Hero Member
*
Offline Offline

Posts: 1714040235

View Profile Personal Message (Offline)

Ignore
1714040235
Reply with quote  #2

1714040235
Report to moderator
1714040235
Hero Member
*
Offline Offline

Posts: 1714040235

View Profile Personal Message (Offline)

Ignore
1714040235
Reply with quote  #2

1714040235
Report to moderator
t2yax
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Arianee:Smart-link Connecting Owners,Assets,Brands


View Profile
January 21, 2017, 06:45:03 PM
 #1662

you can use exchanges as a online wallet i think, so in this situation you can use bittrex joincoin wallet

arianee
• • • ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Smart-link Connecting Owners, Assets And Brands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • • •
Discord
Telegram ⊐●⊏ Reddit
Twitter ⊐●⊏ Instagram
Medium ⊐●⊏ Linkedin
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
January 21, 2017, 07:25:41 PM
 #1663

Which algo ?

Which algo ?

That was my first question. My second question is if the hashrate was from the miner or the pool. The miner
can report anything it wants.

Edit: third question, how much difference?


Here is more infos, sorry i wasn't accurate.

-= Algo =-

Cryptonight (XMR)

-= Software =-

cpuminer-opt 3.5.0 (compiled with CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl)
minergate-cli 4.04

-= OS / CPU =-

CPU1
Debian x64 8.6
CPU: Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz
CPU features: SSE2 AES
SW built on Jan 13 2017 with GCC 4.9.2
SW features: SSE2 AES
Algo features: SSE2 AES
Start mining with SSE2 AES

CPU2
Debian x64 7.11
CPU: Intel(R) Xeon(R) CPU           L3426  @ 1.87GHz
CPU features: SSE2
SW built on Jan 21 2017 with GCC 4.7.2
SW features: SSE2
Algo features: SSE2 AES
Start mining with SSE2

-= cmdline =-

Minergate
XMR-mono : cpuminer -a cryptonight -o stratum+tcp://fcn-xmr.pool.minergate.com:45590 -u xxx -p x / minergate-cli -user xxx -xmr
XMR+FCN : cpuminer -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u xxxx -p x / minergate-cli -user xxx -fcn+xmr

Proshash
XMR-Mono : cpuminer -a cryptonight -o stratum+tcp://xmr.prohash.net:1111 -u xxx -p x

i tried both mono & dual mining, hash are near identical (more or less 0.5%)

-= Result =-

minergate-cli 4.04
reported miner hashrate : CPU1 - 67.8 H/s / CPU2 - 60.19 H/s
reported pool hashrate : CPU1 - 67.4 H/s / CPU2 - 59.88 H/s

cpuminer-opt 3.5.0
reported miner hashrate : CPU1 - 60.73 H/s / CPU2 - 55.80 H/s
reported pool (prohash) hashrate : CPU1 - 60.2 H/s / CPU2 - 55.3 H/s
reported minergate pool hashrate : CPU1 - 59.85 H/s / CPU2 - 55.1 H/s

so about 10% difference, i don't know what to think, if someone has similar experience. At first i thought minergate was favoring their own miner by showing advantageous hashrate in both the miner and the pool, but i get the same difference by using alternate miner on the minergate pool. That said with the low rates of minergate, i would probably earn more mining to another pool even with lower hashrate. But it just make me curious. They could also bullshit other alternative miners, reducing hashrate when alternative miner are used on their pool to force people using theirs, but i don't see what it would make them gain by doing that...
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 21, 2017, 08:06:11 PM
 #1664

Which algo ?

Which algo ?

That was my first question. My second question is if the hashrate was from the miner or the pool. The miner
can report anything it wants.

Edit: third question, how much difference?


Here is more infos, sorry i wasn't accurate.

-= Algo =-

Cryptonight (XMR)

-= Software =-

cpuminer-opt 3.5.0 (compiled with CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl)
minergate-cli 4.04

-= OS / CPU =-

CPU1
Debian x64 8.6
CPU: Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz
CPU features: SSE2 AES
SW built on Jan 13 2017 with GCC 4.9.2
SW features: SSE2 AES
Algo features: SSE2 AES
Start mining with SSE2 AES

CPU2
Debian x64 7.11
CPU: Intel(R) Xeon(R) CPU           L3426  @ 1.87GHz
CPU features: SSE2
SW built on Jan 21 2017 with GCC 4.7.2
SW features: SSE2
Algo features: SSE2 AES
Start mining with SSE2

-= cmdline =-

Minergate
XMR-mono : cpuminer -a cryptonight -o stratum+tcp://fcn-xmr.pool.minergate.com:45590 -u xxx -p x / minergate-cli -user xxx -xmr
XMR+FCN : cpuminer -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u xxxx -p x / minergate-cli -user xxx -fcn+xmr

Proshash
XMR-Mono : cpuminer -a cryptonight -o stratum+tcp://xmr.prohash.net:1111 -u xxx -p x

i tried both mono & dual mining, hash are near identical (more or less 0.5%)

-= Result =-

minergate-cli 4.04
reported miner hashrate : CPU1 - 67.8 H/s / CPU2 - 60.19 H/s
reported pool hashrate : CPU1 - 67.4 H/s / CPU2 - 59.88 H/s

cpuminer-opt 3.5.0
reported miner hashrate : CPU1 - 60.73 H/s / CPU2 - 55.80 H/s
reported pool (prohash) hashrate : CPU1 - 60.2 H/s / CPU2 - 55.3 H/s
reported minergate pool hashrate : CPU1 - 59.85 H/s / CPU2 - 55.1 H/s

so about 10% difference, i don't know what to think, if someone has similar experience. At first i thought minergate was favoring their own miner by showing advantageous hashrate in both the miner and the pool, but i get the same difference by using alternate miner on the minergate pool. That said with the low rates of minergate, i would probably earn more mining to another pool even with lower hashrate. But it just make me curious. They could also bullshit other alternative miners, reducing hashrate when alternative miner are used on their pool to force people using theirs, but i don't see what it would make them gain by doing that...


Looks like a clear difference. They likely bought a closed source miner and tied it to their pool.

Edit: try playing with the thread count. 4 threads is usually better. The formula for the optimum thread count is
(L3 cache size / 2MB). An i7 and your xeon have 8MB L3.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
January 21, 2017, 08:23:20 PM
 #1665


Looks like a clear difference. They likely bought a closed source miner and tied it to their pool.

Edit: try playing with the thread count. 4 threads is usually better. The formula for the optimum thread count is
(L3 cache size / 2MB). An i7 and your xeon have 8MB L3.

Thx for the tips, i will try to see if i can do better Smiley
will report asap Smiley
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 21, 2017, 08:31:03 PM
Last edit: January 21, 2017, 09:35:25 PM by joblo
 #1666

you can use exchanges as a online wallet i think, so in this situation you can use bittrex joincoin wallet

It doesn't look that way to me. They give me a key that maps to an address where the mined coins go.
I need to import that key into a wallet to get access to the address and the coins in it.

If you can exlain how to do that without installing the wallet let me know.

I don't know why their messing with keys when most other no-login pools simply use the address directly.
It makes me suspicious, private keys are not meant to be exchanged.

Edit: Nevermind. Elsewhere it says it accepts an address as the user. I don't have an account at bittrex yet
but it's better than installing a wallet.

edit: First test of bastion on i7-6700K gets 184 kH/s vs 169. Will look for more.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 21, 2017, 11:44:00 PM
 #1667


Looks like a clear difference. They likely bought a closed source miner and tied it to their pool.

Edit: try playing with the thread count. 4 threads is usually better. The formula for the optimum thread count is
(L3 cache size / 2MB). An i7 and your xeon have 8MB L3.

Thx for the tips, i will try to see if i can do better Smiley
will report asap Smiley

A couple more observations, your xeon doesn't support AES so that  will slow it down and your atom only has 4MB of cache.
Neither are good choices for mining.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 22, 2017, 01:06:21 AM
 #1668

I found a pretty good workaround for the problem of git deleting empty directories.
Any dummy file will do but I like the recommended .gitignore solution.

http://stackoverflow.com/questions/115983/how-can-i-add-an-empty-directory-to-a-git-repository.

I managed to get bastion to 185 kH/s on my i7-6700K but that is probably it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
m1n1ngP4d4w4n
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CryptoLearner


View Profile
January 22, 2017, 08:33:15 AM
 #1669


Looks like a clear difference. They likely bought a closed source miner and tied it to their pool.

Edit: try playing with the thread count. 4 threads is usually better. The formula for the optimum thread count is
(L3 cache size / 2MB). An i7 and your xeon have 8MB L3.

Thx for the tips, i will try to see if i can do better Smiley
will report asap Smiley

A couple more observations, your xeon doesn't support AES so that  will slow it down and your atom only has 4MB of cache.
Neither are good choices for mining.

Oh yes definitly they're not worth mining, but they allow me to learn, and they cost me nothing to make run (i don't pay anything for them). I was just surprised @ the difference of hashing, but you may be right it's probably a private miner (possibly to bring them botnet hashing power since it seems to be the most efficient linux based cpu miner). I tested different threads combination but it's not improving things. Less thread or more threads give about the same difference.

I found a pretty good workaround for the problem of git deleting empty directories.
Any dummy file will do but I like the recommended .gitignore solution.

http://stackoverflow.com/questions/115983/how-can-i-add-an-empty-directory-to-a-git-repository.

I managed to get bastion to 185 kH/s on my i7-6700K but that is probably it.

Oh righhttt forgot about this one, ah well been a few years i used github ^^;; good you found an elegant solution  Cool
bookstime6
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 22, 2017, 11:53:41 AM
 #1670

Is there a list of which of the algorithms use AVX and/or AVX2 on supported CPU's? The original post and readme say about 20 of the 40 support AVX2 but I can't find a list.

I'm mining XMR here, and I see the cryptonight algo doesn't support AVX. I assume it would be better if I mined a coin which has an algo which does take advantage of AVX instructions?

Code:
         **********  cpuminer-opt 3.5.0  *********** 
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU:        Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
CPU features: SSE2 AES AVX
SW built on Jan 22 2017 with GCC 5.4.0
SW features: SSE2 AES AVX
Algo features: SSE2 AES
Start mining with SSE2 AES
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 22, 2017, 01:00:28 PM
Last edit: January 22, 2017, 06:55:10 PM by joblo
 #1671

Is there a list of which of the algorithms use AVX and/or AVX2 on supported CPU's? The original post and readme say about 20 of the 40 support AVX2 but I can't find a list.

I'm mining XMR here, and I see the cryptonight algo doesn't support AVX. I assume it would be better if I mined a coin which has an algo which does take advantage of AVX instructions?

Code:
         **********  cpuminer-opt 3.5.0  *********** 
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU:        Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
CPU features: SSE2 AES AVX
SW built on Jan 22 2017 with GCC 5.4.0
SW features: SSE2 AES AVX
Algo features: SSE2 AES
Start mining with SSE2 AES


I haven't made a list. You shouldn't choose an algo simply based on whether the algo has certain features. Choose it because
it's more profitable than other algos regardless of the features. Some algos are resistant to parallelism but it doesn't mean they
aren't as profitable as those that aren't.

Edit: Let me rewrite the last sentence from the opposite perspective. Some algos are able to use AVX but it doesn't necessarily
make them more profitable than those that are resistant.

In addition GPUs are better at parallelism so any algo that can be parallelized is dominated by GPUs or ASICs. The only real
advantage a CPU has is HW AES support. GPUs don't have it therefore any algo that uses a lot of AES has a natural advantage
on a CPU. Cryptonight is an example of an algo that uses a lot of AES.

Many newer algos have been designed to require high memory bandwidth. This creates challenges for both CPUs and GPUs
beyond their compute capability. Optimizing the compute performance won't improve the hash rate if the memory system
is already bottlenecked. That's what happened when I optimized zcoin for AVX2. Even before optimizing it maxed out with
only 3 CPU threads due to the memory load.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
emanymton
Full Member
***
Offline Offline

Activity: 219
Merit: 106


View Profile
January 22, 2017, 07:33:18 PM
 #1672

hello i am trying to build in kalilinux,
i am getting this error:
++ -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include  -O3 -march=native -Wall -std=gnu++11 -MT algo/hodl/cpuminer-hodl_arith_uint256.o -MD -MP -MF algo/hodl/.deps/cpuminer-hodl_arith_uint256.Tpo -c -o algo/hodl/cpuminer-hodl_arith_uint256.o `test -f 'algo/hodl/hodl_arith_uint256.cpp' || echo './'`algo/hodl/hodl_arith_uint256.cpp
algo/hodl/hodl.cpp: In function ‘int scanhash_hodl(int, work*, uint32_t, uint64_t*)’:
algo/hodl/hodl.cpp:96:18: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
   EVP_CIPHER_CTX ctx;
                  ^~~
In file included from algo/hodl/hodl.cpp:1:0:
./miner.h: At global scope:
./miner.h:529:20: warning: ‘algo_names’ defined but not used [-Wunused-variable]
 static const char *algo_names[] = {
                    ^~~~~~~~~~
Makefile:3317: recipe for target 'algo/hodl/cpuminer-hodl.o' failed
make[2]: *** [algo/hodl/cpuminer-hodl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/hodl/.deps/cpuminer-hodl_arith_uint256.Tpo algo/hodl/.deps/cpuminer-hodl_arith_uint256.Po
mv -f algo/echo/aes_ni/.deps/cpuminer-hash.Tpo algo/echo/aes_ni/.deps/cpuminer-hash.Po
mv -f algo/haval/.deps/cpuminer-haval.Tpo algo/haval/.deps/cpuminer-haval.Po
make[2]: Leaving directory '/root/cpuminer-opt'
Makefile:3478: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-opt'
Makefile:670: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file

can anybody please help? Cry
cryptopie1
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 22, 2017, 07:36:15 PM
 #1673

So I'm trying to compile cpuminer-opt-3.4.12.tar.gz with ./build.sh in Debian 8.6 (jessie) system with a old Intel(R) Celeron(R) CPU 3.06GHz (SSE2 support only) but I got this error:
Code:
...
In file included from algo/nist5.c:17:0:
./algo/jh/sse2/jh_sse2_opt64.h:240:13: warning: ‘jhF8’ defined but not used [-Wunused-function]
 static void jhF8(jhState *state)
             ^
mv -f algo/.deps/cpuminer-m7m.Tpo algo/.deps/cpuminer-m7m.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT algo/cpuminer-scrypt.o -MD -MP -MF algo/.deps/cpuminer-scrypt.Tpo -c -o algo/cpuminer-scrypt.o `test -f 'algo/scrypt.c' || echo './'`algo/scrypt.c
algo/scrypt.c: In function ‘register_scrypt_algo’:
algo/scrypt.c:783:36: error: ‘scrypt_1024_1_1_256_24way’ undeclared (first use in this function)
   gate->hash             = (void*)&scrypt_1024_1_1_256_24way;
                                    ^
algo/scrypt.c:783:36: note: each undeclared identifier is reported only once for each function it appears in
In file included from algo/scrypt.c:30:0:
algo/scrypt.c: At top level:
./miner.h:528:20: warning: ‘algo_names’ defined but not used [-Wunused-variable]
 static const char *algo_names[] = {
                    ^
algo/scrypt.c: In function ‘register_scrypt_algo’:
algo/scrypt.c:792:1: warning: control reaches end of non-void function [-Wreturn-type]
 };
 ^
Makefile:2934: recipe for target 'algo/cpuminer-scrypt.o' failed
make[2]: *** [algo/cpuminer-scrypt.o] Error 1
make[2]: ** Esperando que outros processos terminem.
mv -f algo/.deps/cpuminer-pluck.Tpo algo/.deps/cpuminer-pluck.Po
mv -f algo/.deps/cpuminer-neoscrypt.Tpo algo/.deps/cpuminer-neoscrypt.Po
mv -f algo/.deps/cpuminer-nist5.Tpo algo/.deps/cpuminer-nist5.Po
make[2]: Leaving directory '/home/cryptopie/cpuminer-opt-3.4.12'
Makefile:3517: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cryptopie/cpuminer-opt-3.4.12'
Makefile:665: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file
I just want to mine Monero w/SSE2, some help please.
Thanks
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 22, 2017, 08:25:27 PM
 #1674


algo/hodl/hodl.cpp:96:18: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
   EVP_CIPHER_CTX ctx;
                  ^~~

It looks like a problem with an included library, <openssl/evp.h> to be specific. Probably a missing package.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 22, 2017, 08:36:04 PM
 #1675

So I'm trying to compile cpuminer-opt-3.4.12.tar.gz with ./build.sh in Debian 8.6 (jessie) system with a old Intel(R) Celeron(R) CPU 3.06GHz (SSE2 support only) but I got this error:
Code:
...
In file included from algo/nist5.c:17:0:
./algo/jh/sse2/jh_sse2_opt64.h:240:13: warning: ‘jhF8’ defined but not used [-Wunused-function]
 static void jhF8(jhState *state)
             ^
mv -f algo/.deps/cpuminer-m7m.Tpo algo/.deps/cpuminer-m7m.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT algo/cpuminer-scrypt.o -MD -MP -MF algo/.deps/cpuminer-scrypt.Tpo -c -o algo/cpuminer-scrypt.o `test -f 'algo/scrypt.c' || echo './'`algo/scrypt.c
algo/scrypt.c: In function ‘register_scrypt_algo’:
algo/scrypt.c:783:36: error: ‘scrypt_1024_1_1_256_24way’ undeclared (first use in this function)
   gate->hash             = (void*)&scrypt_1024_1_1_256_24way;
                                    ^
algo/scrypt.c:783:36: note: each undeclared identifier is reported only once for each function it appears in
In file included from algo/scrypt.c:30:0:
algo/scrypt.c: At top level:
./miner.h:528:20: warning: ‘algo_names’ defined but not used [-Wunused-variable]
 static const char *algo_names[] = {
                    ^
algo/scrypt.c: In function ‘register_scrypt_algo’:
algo/scrypt.c:792:1: warning: control reaches end of non-void function [-Wreturn-type]
 };
 ^
Makefile:2934: recipe for target 'algo/cpuminer-scrypt.o' failed
make[2]: *** [algo/cpuminer-scrypt.o] Error 1
make[2]: ** Esperando que outros processos terminem.
mv -f algo/.deps/cpuminer-pluck.Tpo algo/.deps/cpuminer-pluck.Po
mv -f algo/.deps/cpuminer-neoscrypt.Tpo algo/.deps/cpuminer-neoscrypt.Po
mv -f algo/.deps/cpuminer-nist5.Tpo algo/.deps/cpuminer-nist5.Po
make[2]: Leaving directory '/home/cryptopie/cpuminer-opt-3.4.12'
Makefile:3517: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cryptopie/cpuminer-opt-3.4.12'
Makefile:665: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file
I just want to mine Monero w/SSE2, some help please.
Thanks


How old is your CPU? It needs to be 64 bit.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
cryptopie1
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 22, 2017, 11:24:25 PM
 #1676


How old is your CPU? It needs to be 64 bit.

ok that explains everything. its a 32bit CPU, my bad :/
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 23, 2017, 02:11:30 AM
 #1677

cpuminer-opt v3.5.1 is released with faster bastion and m4 git workaround.

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
th3.r00t
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile WWW
January 23, 2017, 04:50:52 PM
 #1678

cpuminer-opt v3.5.1 is released with faster bastion and m4 git workaround.

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

Strange...
After successful pull from git, make clean and make distclean, the binary still says v3.5.0, not v3.5.1

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 23, 2017, 05:15:29 PM
 #1679

cpuminer-opt v3.5.1 is released with faster bastion and m4 git workaround.

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

Strange...
After successful pull from git, make clean and make distclean, the binary still says v3.5.0, not v3.5.1

The configure file doesn't get deleted by make distclean but does get deleted by git. As a result the version
change was lost when I uploaded to git. I should have made the change in configure.ac instead of configure.
Had git been aligned with "make distclean" I would have discovered the error.


Edit: try it now I just pushed a fix for configure.ac


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Epsylon3
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
January 24, 2017, 01:53:52 AM
 #1680

"autoreconf && make" after configure.ac or Makefile.am edit

without that the Makefile remains inchanged and make clean doesnt help Wink

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Pages: « 1 ... 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 [84] 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!