Bitcoin Forum
November 09, 2024, 08:18:17 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 [162] 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444061 times)
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 15, 2018, 04:47:47 PM
 #3221

I getting fed up with people who don't know how to use their system then come here whining without
providing any useful information. I will no longer ask. If the initial post has insufficient information I
will simply ignore it.

Dual CPU systems and their operating systems are much more complicated that regular desktops.
Learn how to use them properly before complaining here.

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

Activity: 14
Merit: 0


View Profile
January 15, 2018, 05:10:05 PM
 #3222

I getting fed up with people who don't know how to use their system then come here whining without
providing any useful information. I will no longer ask. If the initial post has insufficient information I
will simply ignore it.

Dual CPU systems and their operating systems are much more complicated that regular desktops.
Learn how to use them properly before complaining here.

I apologise for making you fed up, it wasn't my intention. Thanks for your help.
ElpidioMC
Newbie
*
Offline Offline

Activity: 18
Merit: 5


View Profile
January 16, 2018, 05:57:28 AM
 #3223

I keep getting the following error:

./cpuminer -a x11 --benchmark

         **********  cpuminer-opt 3.7.9  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU:         Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz.
SW built on Jan 16 2018 with GCC 7.2.0.
CPU features: SSE2 AVX.
SW features: SSE2 AVX.
Algo features: SSE2 AES AVX AVX2 4WAY.
A CPU with AES and AVX2 is required!

Thank you in advance for the effort and work dedicated to this software.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 16, 2018, 02:00:33 PM
 #3224

I keep getting the following error:

./cpuminer -a x11 --benchmark

         **********  cpuminer-opt 3.7.9  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU:         Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz.
SW built on Jan 16 2018 with GCC 7.2.0.
CPU features: SSE2 AVX.
SW features: SSE2 AVX.
Algo features: SSE2 AES AVX AVX2 4WAY.
A CPU with AES and AVX2 is required!

Thank you in advance for the effort and work dedicated to this software.

I had incorrectly assumed a CPU with AVX also has AES. The i3-2100 doesn't have AES.
I'll fix that in the next release (very soon).
In the meantime you can use an older version or compile with only SSE42

Thanks for reporting.

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 16, 2018, 08:20:32 PM
 #3225

cpuminer-opt-3.7.10

4way optimizations for lyra2rev2, lyra2h, quark, timetravel8, timetravel10
   x11evo, blakecoin.
Faster x13sm3 (hsr).
Added share difficulty to accepted message.

Also fixed support for i3-2100 (AVX but no AES).

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.7.10

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

Activity: 703
Merit: 272


View Profile
January 16, 2018, 09:11:33 PM
 #3226

cpuminer-opt-3.7.10

4way optimizations for lyra2rev2, lyra2h, quark, timetravel8, timetravel10
   x11evo, blakecoin.
Faster x13sm3 (hsr).
Added share difficulty to accepted message.

Also fixed support for i3-2100 (AVX but no AES).

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.7.10

the link is downloading 3.6.10
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 16, 2018, 09:24:20 PM
 #3227

cpuminer-opt-3.7.10

4way optimizations for lyra2rev2, lyra2h, quark, timetravel8, timetravel10
   x11evo, blakecoin.
Faster x13sm3 (hsr).
Added share difficulty to accepted message.

Also fixed support for i3-2100 (AVX but no AES).

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.7.10

the link is downloading 3.6.10

Silly mistake, fixed.

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

Activity: 703
Merit: 272


View Profile
January 16, 2018, 09:28:58 PM
 #3228

cpuminer-opt-3.7.10

4way optimizations for lyra2rev2, lyra2h, quark, timetravel8, timetravel10
   x11evo, blakecoin.
Faster x13sm3 (hsr).
Added share difficulty to accepted message.

Also fixed support for i3-2100 (AVX but no AES).

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.7.10

the link is downloading 3.6.10

Silly mistake, fixed.

thanks... much appreciated
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 16, 2018, 09:36:35 PM
 #3229

V3.7.10 will likely be the last release with 4way as a distinct feature. It will now be included
in AVX2 when avaiable.

As a result I will no longer compile seperate 4way Windows binaries.

In addition I will no longer produce sse42 or avx-sha builds. Nehalem CPUs will use the sse2 build
while Ryzen will use avx2-sha.

I will also refine (shorten) the file names. Any other listed feature will include SSE2. AVX2 will include AVX,
AES and SSE2.

All features will be listed at program startup.

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

Activity: 700
Merit: 500


View Profile WWW
January 16, 2018, 10:54:44 PM
 #3230

Small question: is it possible to autodetect the cpu features on startup and just select the "best" - most appropriate - version?

As the miner itself detects the features already this should be possible in theory but maybe not that easy to implement with the "loading" of the correct binary/code
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 16, 2018, 11:08:22 PM
 #3231

Small question: is it possible to autodetect the cpu features on startup and just select the "best" - most appropriate - version?

As the miner itself detects the features already this should be possible in theory but maybe not that easy to implement with the "loading" of the correct binary/code

Not worth the effort to think about it. Any run time checking would increase bloat (a growing issue (pun intended)) and
slow things down. Optimizing means doing as much as possible at compile time to reduce the decisions made at run time.
It's the classic generalization vs specialization dilema.

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

Activity: 677
Merit: 500


View Profile
January 16, 2018, 11:22:31 PM
 #3232

Small question: is it possible to autodetect the cpu features on startup and just select the "best" - most appropriate - version?

As the miner itself detects the features already this should be possible in theory but maybe not that easy to implement with the "loading" of the correct binary/code

Try this:
http://web.inter.nl.net/hcc/J.Steunebrink/chkcpu.htm

Create a batch file using this to detect the features of the CPU and select the appropriate EXE.

Code:
CHKCPU32.exe /x > CHKCPU32.LOG

find "<avx2>1</avx2>" CHKCPU32.LOG
if %errorlevel% == 0 goto AVX2

find "<avx>1</avx>" CHKCPU32.LOG
if %errorlevel% == 0 goto AVX

find "<aes>1</aes>" CHKCPU32.LOG
if %errorlevel% == 0 goto AES

find "<sse42>1</sse42>" CHKCPU32.LOG
if %errorlevel% == 0 goto SSE42

GOTO SSE


Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
shvck
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 18, 2018, 03:36:06 PM
 #3233

After cloning the rep and runnig ./build.sh in ubuntu I am getting errors

Code:
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shvchk/cpuminer-opt'
Makefile:818: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file

what am I doing wrong ?
cryptodao
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 18, 2018, 04:09:37 PM
 #3234

help me configure for the processor E5450
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 18, 2018, 07:10:24 PM
 #3235

After cloning the rep and runnig ./build.sh in ubuntu I am getting errors

Code:
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shvchk/cpuminer-opt'
Makefile:818: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file

what am I doing wrong ?

I assume you're a first timer. It always helps to mention that up front.
Have you read the instructions and ensure all dependencies are installed?
Find the first few errors, read them, try to understand what it means. If you can't figure it out
post it here. It also helps if you mention your CPU.

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

Activity: 50
Merit: 0


View Profile
January 19, 2018, 08:35:50 AM
 #3236

I assume you're a first timer. It always helps to mention that up front.
Have you read the instructions and ensure all dependencies are installed?
Find the first few errors, read them, try to understand what it means. If you can't figure it out
post it here. It also helps if you mention your CPU.


These are dependencies I am installing and commands I am running:

Code:
1. sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev -y

2. sudo apt-get install autotools-dev automake make libcurl4-openssl-dev g++ libssl-dev libgmp3-dev -y

3. sudo apt-get install build-essential screen automake m4 openssl libssl-dev git libjson0 libjson0-dev libcurl4-openssl-dev autoconf python-software-properties -y

4. sudo git clone https://github.com/JayDDee/cpuminer-opt

5. cd cpuminer-opt

6. sudo ./build.sh

These are some of the errors I am getting:

Code:
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/lib/gcc/x86_64-linux-gnu/5/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)

Code:
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:77:5: error: called from here
  t3 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t4);\

There are dozens of errors like this. Unfortunatelly I am not that proficient with ubuntu to try to understand those errors.

Anyways running build always finish with these lines:
Code:
Makefile:818: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file

BTW with previous versions there were no such problems and build was successful.
cristiancs
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 19, 2018, 01:47:44 PM
 #3237

Just in case someone is wondering, i tested building with gcc 7.2.0 (compiled from source) and at least mining with cryptonight algorithm there is no difference in performance vs gcc 4.8.5
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 19, 2018, 03:03:33 PM
 #3238

BTW with previous versions there were no such problems and build was successful.

This won't be easy, especially if I have to ask for the same info repeatedly.
If it worked before why did you reinstall all the packages?
Why are you compiling with sudo?

I need to see the FIRST errors and what CPU you have.

Try building the previous version again the exact same way.

Try compiling from the source tarball instead of cloning.

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

Activity: 6
Merit: 0


View Profile
January 19, 2018, 04:10:48 PM
 #3239

hey braves!
It is possible insert a command in .bat, that run miner.exe, that run threads -t variable?

Example: 30 min w/ 4 threads, them 60 min w/ 2 threads,...

Thank you! Great hashes Wink
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 19, 2018, 05:07:25 PM
 #3240

hey braves!
It is possible insert a command in .bat, that run miner.exe, that run threads -t variable?

Example: 30 min w/ 4 threads, them 60 min w/ 2 threads,...

Thank you! Great hashes Wink

cpuminer --help is your friend.

--time-limit

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Pages: « 1 ... 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 [162] 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 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!