Bitcoin Forum
June 06, 2020, 02:22:36 PM *
News: Latest Bitcoin Core release: 0.19.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 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 ... 198 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 442037 times)
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 05:47:29 AM
 #421

Hi All,

I recently inherited an AMD FD8350FRHKBOX FX-8350 FX-Series 8-Core Black Edition Processor.

My mining experience are GPU and ASICs, and a forum member recommended I visit this thread to get help and ideas.

Any ideas how can I use this CPU to mine the most profitable CPU only alt-coins?

Cheers!

You ned to think of the coin/algo together to determine profitability. Choosing a coin requires a skill
that comes with experience.

Take a look at the performance charts in the first post of this thread to get an idea of the performance of each
algo on a hashrate basis. The chart is for i7-6700K, you should do you own testing to get your own factors.

Then go looking at the pools for coins to mine. Some algos are designed for be CPU friendly, or more specifically.
GPU and ASIC unfriendly. These include cryptonight, lyra2re (not rev2), hodl and argon2.

Then go looking around at the pools and the coins and algos they support and jump in.

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

Posts: 1591453356

View Profile Personal Message (Offline)

Ignore
1591453356
Reply with quote  #2

1591453356
Report to moderator
1591453356
Hero Member
*
Offline Offline

Posts: 1591453356

View Profile Personal Message (Offline)

Ignore
1591453356
Reply with quote  #2

1591453356
Report to moderator
1591453356
Hero Member
*
Offline Offline

Posts: 1591453356

View Profile Personal Message (Offline)

Ignore
1591453356
Reply with quote  #2

1591453356
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1591453356
Hero Member
*
Offline Offline

Posts: 1591453356

View Profile Personal Message (Offline)

Ignore
1591453356
Reply with quote  #2

1591453356
Report to moderator
1591453356
Hero Member
*
Offline Offline

Posts: 1591453356

View Profile Personal Message (Offline)

Ignore
1591453356
Reply with quote  #2

1591453356
Report to moderator
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 05:49:18 AM
 #422

HOdl miners may want to HOdl off on downloading cpuminer-opt v3.1.11 for now. I don't know
that it's any worse than v3.1.10 but I've found a couple of bugs that I need to fix. my apologies.

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

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 03:37:39 PM
 #423

HODL is fixed. Download cpuminer-opt v3.1.12.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVdQNmY0NVM2Slk/view?usp=sharing

Again my apologies for the slopppiness.

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

Activity: 1596
Merit: 1000


View Profile
April 08, 2016, 03:49:30 PM
 #424

HODL is fixed. Download cpuminer-opt v3.1.12.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVdQNmY0NVM2Slk/view?usp=sharing

Again my apologies for the slopppiness.

Why not make win binaries if you are very familiar with programming and compiling ? I never understood this...
ushba
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
April 08, 2016, 04:07:55 PM
 #425

HODL is fixed. Download cpuminer-opt v3.1.12.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVdQNmY0NVM2Slk/view?usp=sharing

Again my apologies for the slopppiness.
I'm so sorry, but would you like to make a win64 binaries?
I'm ready to test on 7 really different configs,  but I'm not a C programmer...

Thank you!
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 04:27:34 PM
 #426

HODL is fixed. Download cpuminer-opt v3.1.12.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVdQNmY0NVM2Slk/view?usp=sharing

Again my apologies for the slopppiness.

Why not make win binaries if you are very familiar with programming and compiling ? I never understood this...

Believe me I've tried, never got very far. Even though the original cpuminer-multi compiles on
Windows I think imported some code that doesn't, or needs windows hooks. Although I have a lot
of experience it has not been in c++ or the PC platform so I still struggle with silly issues like
addressing modes in function args. I'm hoping some Windows wizard will swoop in and make it all
work. Grin

Edit: If that was done I could probably maintain it myself after that.

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
April 08, 2016, 04:28:09 PM
 #427

HODL is fixed. Download cpuminer-opt v3.1.12.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVdQNmY0NVM2Slk/view?usp=sharing

Again my apologies for the slopppiness.

It seems that in this version we have double reporting of hashrate?
Code:
accepted: 10/10 (100%), 8285.41 kH, 856.04 kH/s yes!

Can you explain what is the meaning ot first number?

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
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 04:29:57 PM
 #428

HODL is fixed. Download cpuminer-opt v3.1.12.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVdQNmY0NVM2Slk/view?usp=sharing

Again my apologies for the slopppiness.

It seems that in this version we have double reporting of hashrate?
Code:
accepted: 10/10 (100%), 8285.41 kH, 856.04 kH/s yes!

Can you explain what is the meaning ot first number?

You missed the release announcement, it's hash count, not rate.

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
April 08, 2016, 04:41:38 PM
 #429

You missed the release announcement, it's hash count, not rate.

So, if I understand correctly...

Code:
accepted: 135/135 (100%), 23.40 MH, 856.04 kH/s yes!
I should read this like this:
cpuminer submited a share with 856.04 kH/s, which was produced by 23.40 Mhashes done by cpu.

Is that correct?
And why do we need so much clutter on the reporting side?

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
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 05:16:24 PM
 #430

You missed the release announcement, it's hash count, not rate.

So, if I understand correctly...

Code:
accepted: 135/135 (100%), 23.40 MH, 856.04 kH/s yes!
I should read this like this:
cpuminer submited a share with 856.04 kH/s, which was produced by 23.40 Mhashes done by cpu.

Is that correct?
And why do we need so much clutter on the reporting side?

Yes and you can easilly calculate your effective hash rate by dividing the hash count
by the time since the last submission. Comparing with the miner hashrate will give you
an efficiency factor for that share.

You're opinion is noted. I'm not the first to implement this but I'll go with the flow.

I'm not sure how much value it adds but it helps identify if you're throwing away
wasted hash. It's really the hash count that matters and the time, from the pool's
point of view, it took to produce it. The hashrate displayed by the miner
is a derivative value based on it's perception of the scan period.

If the CPU is throwing away hash the periods won't match and the CPU will display
an eroneously high hashrate. I could put in code to display when this occurs but it
would be in the critical code path and would affect performance. The current method,
though perhaps more verbose, is implemented off the critical path.

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

Activity: 1470
Merit: 1106


View Profile
April 08, 2016, 11:31:45 PM
 #431

Hi,

I'm getting this error:

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

Checking CPU capatibility...
              Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
CPU Supports AES_NI: YES.
SW  Supports AES_NI: YES.
Start mining with AES_NI optimisations...

[2016-04-08 22:55:10] 1 miner threads started, using 'hodl' algorithm.
[2016-04-08 22:55:10] Starting Stratum on stratum+tcp://hodl.suprnova.cc:4693
[2016-04-08 22:55:10] hodl buffer allocation failed


Any idea?
Thanks Smiley

Probably not enough RAM, the buffer is 1 GB.

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
April 09, 2016, 08:26:13 AM
 #432

I'm not sure how much value it adds but it helps identify if you're throwing away
wasted hash. It's really the hash count that matters and the time, from the pool's
point of view, it took to produce it. The hashrate displayed by the miner
is a derivative value based on it's perception of the scan period.

If the CPU is throwing away hash the periods won't match and the CPU will display
an eroneously high hashrate. I could put in code to display when this occurs but it
would be in the critical code path and would affect performance. The current method,
though perhaps more verbose, is implemented off the critical path.

I understand the idea now.  Wink

IMHO, It seems good to have this, but somewhere else, like in debug maybe?

I definetely don't want to lose performance, so if it's too much work and/or affect the miner itself, just leave it there.

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
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 09, 2016, 04:39:08 PM
Last edit: April 09, 2016, 09:24:21 PM by joblo
 #433

I'm not sure how much value it adds but it helps identify if you're throwing away
wasted hash. It's really the hash count that matters and the time, from the pool's
point of view, it took to produce it. The hashrate displayed by the miner
is a derivative value based on it's perception of the scan period.

If the CPU is throwing away hash the periods won't match and the CPU will display
an eroneously high hashrate. I could put in code to display when this occurs but it
would be in the critical code path and would affect performance. The current method,
though perhaps more verbose, is implemented off the critical path.

I understand the idea now.  Wink

IMHO, It seems good to have this, but somewhere else, like in debug maybe?

I definetely don't want to lose performance, so if it's too much work and/or affect the miner itself, just leave it there.

I'm not sure why you're so concerned about that particular bit of output. If verbosity is your issue you should use --quiet
which suppresses the per-thread output.

Have you expresed your concerns to Wolf0? The hashcount is in his hodlminer too. Like I said I don't really have
an opinion about it but I'll go with the flow. If Wolf0 backs it out and no one else implements it I will back out too.

Edit: If this is realy important to you I can build a custom version with the output to your exact specifications, for a fee.

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

Activity: 14
Merit: 0


View Profile
April 10, 2016, 04:56:42 PM
 #434

Hi!

there seems to be a PATH problem when compiling cpuminer-opt version 3.1.10 as well as 3.1.12 for the hodl algo.
This is what i am getting:


/usr/include/alloca.h:35:0: note: this is the location of the previous definition
 # define alloca(size) __builtin_alloca (size)
 ^
algo/hodl/hodl.cpp:9:29: fatal error: unordered_map.hpp: No such file or directory
compilation terminated.

Makefile:2841: 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/groestl/aes_ni/.deps/cpuminer-hash-groestl.Tpo algo/groestl/aes_ni/.deps/cpuminer-hash-groestl.Po
mv -f algo/.deps/cpuminer-c11.Tpo algo/.deps/cpuminer-c11.Po
mv -f algo/haval/.deps/cpuminer-haval.Tpo algo/haval/.deps/cpuminer-haval.Po
make[2]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:3002: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:612: recipe for target 'all' failed
make: *** [all] Error 2


I have a relative fresh install of Ubuntu 15.10 x64. Can someone please advise where to place the files "unordered.hpp" and "thread.hpp" so that they can be found ?
Their current location is inside the cpuminer folder under algo/hodl/boost.
The hodl.cpp contains:
#include <boost/unordered_map.hpp>
#include <boost/thread.hpp>

Help is appreciated!


joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 10, 2016, 05:48:58 PM
 #435

Hi!

there seems to be a PATH problem when compiling cpuminer-opt version 3.1.10 as well as 3.1.12 for the hodl algo.
This is what i am getting:


/usr/include/alloca.h:35:0: note: this is the location of the previous definition
 # define alloca(size) __builtin_alloca (size)
 ^
algo/hodl/hodl.cpp:9:29: fatal error: unordered_map.hpp: No such file or directory
compilation terminated.

Makefile:2841: 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/groestl/aes_ni/.deps/cpuminer-hash-groestl.Tpo algo/groestl/aes_ni/.deps/cpuminer-hash-groestl.Po
mv -f algo/.deps/cpuminer-c11.Tpo algo/.deps/cpuminer-c11.Po
mv -f algo/haval/.deps/cpuminer-haval.Tpo algo/haval/.deps/cpuminer-haval.Po
make[2]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:3002: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:612: recipe for target 'all' failed
make: *** [all] Error 2


I have a relative fresh install of Ubuntu 15.10 x64. Can someone please advise where to place the files "unordered.hpp" and "thread.hpp" so that they can be found ?
Their current location is inside the cpuminer folder under algo/hodl/boost.
The hodl.cpp contains:
#include <boost/unordered_map.hpp>
#include <boost/thread.hpp>

Help is appreciated!


I also replied to your pm. From the release announcement:

     Note: Compiling requires some additional libraries not included
     in the default instalation of most Linux distributions: libboost-dev,
     libboost-system-dev, libboost-thread-dev.

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

Activity: 14
Merit: 0


View Profile
April 11, 2016, 12:37:13 AM
 #436

Hi!

there seems to be a PATH problem when compiling cpuminer-opt version 3.1.10 as well as 3.1.12 for the hodl algo.
This is what i am getting:


/usr/include/alloca.h:35:0: note: this is the location of the previous definition
 # define alloca(size) __builtin_alloca (size)
 ^
algo/hodl/hodl.cpp:9:29: fatal error: unordered_map.hpp: No such file or directory
compilation terminated.

Makefile:2841: 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/groestl/aes_ni/.deps/cpuminer-hash-groestl.Tpo algo/groestl/aes_ni/.deps/cpuminer-hash-groestl.Po
mv -f algo/.deps/cpuminer-c11.Tpo algo/.deps/cpuminer-c11.Po
mv -f algo/haval/.deps/cpuminer-haval.Tpo algo/haval/.deps/cpuminer-haval.Po
make[2]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:3002: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:612: recipe for target 'all' failed
make: *** [all] Error 2


I have a relative fresh install of Ubuntu 15.10 x64. Can someone please advise where to place the files "unordered.hpp" and "thread.hpp" so that they can be found ?
Their current location is inside the cpuminer folder under algo/hodl/boost.
The hodl.cpp contains:
#include <boost/unordered_map.hpp>
#include <boost/thread.hpp>

Help is appreciated!


I also replied to your pm. From the release announcement:

     Note: Compiling requires some additional libraries not included
     in the default instalation of most Linux distributions: libboost-dev,
     libboost-system-dev, libboost-thread-dev.


Hi,

ok i checked the libs.
I do have the 64 bit versions installed.
When i check the folder /usr/lib/x86_64-linux-gnu/ then i can see many files beginning with liboost.
I then tried and put this: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/.

Nothing worked so far.

Here the error when compiling version 3.1.12:
 /usr/include/alloca.h:35:0: note: this is the location of the previous definition
 # define alloca(size) __builtin_alloca (size)
 ^
In file included from algo/hodl/hodl.cpp:9:0:
./boost/unordered_map.hpp:12:28: fatal error: boost/config.hpp: No such file or directory
compilation terminated.
Makefile:2996: recipe for target 'algo/hodl/cpuminer-hodl.o' failed
make[2]: *** [algo/hodl/cpuminer-hodl.o] Error 1
make[2]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.12'
Makefile:3157: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.12'
Makefile:629: recipe for target 'all' failed
make: *** [all] Error 2

it cant access boost/unordered_map.hpp and boost/config.hpp

Hope we can progress from here.

joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 11, 2016, 01:13:39 AM
 #437

Hi!

there seems to be a PATH problem when compiling cpuminer-opt version 3.1.10 as well as 3.1.12 for the hodl algo.
This is what i am getting:


/usr/include/alloca.h:35:0: note: this is the location of the previous definition
 # define alloca(size) __builtin_alloca (size)
 ^
algo/hodl/hodl.cpp:9:29: fatal error: unordered_map.hpp: No such file or directory
compilation terminated.

Makefile:2841: 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/groestl/aes_ni/.deps/cpuminer-hash-groestl.Tpo algo/groestl/aes_ni/.deps/cpuminer-hash-groestl.Po
mv -f algo/.deps/cpuminer-c11.Tpo algo/.deps/cpuminer-c11.Po
mv -f algo/haval/.deps/cpuminer-haval.Tpo algo/haval/.deps/cpuminer-haval.Po
make[2]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:3002: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.10'
Makefile:612: recipe for target 'all' failed
make: *** [all] Error 2


I have a relative fresh install of Ubuntu 15.10 x64. Can someone please advise where to place the files "unordered.hpp" and "thread.hpp" so that they can be found ?
Their current location is inside the cpuminer folder under algo/hodl/boost.
The hodl.cpp contains:
#include <boost/unordered_map.hpp>
#include <boost/thread.hpp>

Help is appreciated!


I also replied to your pm. From the release announcement:

     Note: Compiling requires some additional libraries not included
     in the default instalation of most Linux distributions: libboost-dev,
     libboost-system-dev, libboost-thread-dev.


Hi,

ok i checked the libs.
I do have the 64 bit versions installed.
When i check the folder /usr/lib/x86_64-linux-gnu/ then i can see many files beginning with liboost.
I then tried and put this: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/

Nothing worked so far.

Here the error when compiling version 3.1.12:
 /usr/include/alloca.h:35:0: note: this is the location of the previous definition
 # define alloca(size) __builtin_alloca (size)
 ^
In file included from algo/hodl/hodl.cpp:9:0:
./boost/unordered_map.hpp:12:28: fatal error: boost/config.hpp: No such file or directory
compilation terminated.
Makefile:2996: recipe for target 'algo/hodl/cpuminer-hodl.o' failed
make[2]: *** [algo/hodl/cpuminer-hodl.o] Error 1
make[2]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.12'
Makefile:3157: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/moork/Desktop/cpuminer-opt-3.1.12'
Makefile:629: recipe for target 'all' failed
make: *** [all] Error 2

it cant access boost/unordered_map.hpp and boost/config.hpp

Hope we can progress from here.

/usr/include/boost/config.hpp is missing. It could be a missing boost package or a problem with your system.
The three packages above are the only ones I manually had to install, I don't recall which dependecies
were installed with them. I don't know specifically which package cointains config.hpp. I suggest you poke around,
try installing other boost packages, it's gotta be there somewhere.

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

Activity: 14
Merit: 0


View Profile
April 11, 2016, 02:13:01 AM
 #438

Problem solved!

I decided to create a fresh VM using Ubuntu 14.04 LTS 64Bit.

After installation and running all updates i installed:

libboost-dev
libboost-system-dev
libboost-thread-dev
libssl-dev
libcurl4-openssl-dev
install g++

all had to be installed in order to compile successfully.

Next time i'll test Ubuntu 15.10.

Thanks for the help!
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1106


View Profile
April 11, 2016, 03:18:54 AM
Last edit: April 11, 2016, 04:07:40 AM by joblo
 #439

cpuminer-opt v3.1.13 just released. Added support for a few dusty algos:
sha256d, scrypt, scryptjane and yescrypt.

https://drive.google.com/file/d/0B0lVSGQYLJIZRVJieTZsV2JTekU/view?usp=sharing

This just about completes the conversion from cpuminer-multi. Some numbers:

37 algos
31 algos pool tested
14 algos optimized with AES_NI support
6 algos benchmark tested only, need pool testing

See all the details in the first post of this thread.

If anyone  knows of anywhere to pool test any of the remaining algos please let me know.
I'll even test you your address.

There's nothing pressing in the pipeline so this will probably be the last release for a while,
barring bug fixes. I hope you all enjoy it.

Edit: cpuminer-opt can now mine all algos at hashpower, zpool and yiimp, all but whirlpoolx at nicehash,
all but hashimoto (ethereum), spreadx11 and m7m at suprnova, and all but scryptn at miningpoolhub.

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

Activity: 288
Merit: 260



View Profile WWW
April 12, 2016, 07:15:35 AM
 #440

cpuminer-opt v3.1.13 just released. Added support for a few dusty algos:
sha256d, scrypt, scryptjane and yescrypt.

If anyone  knows of anywhere to pool test any of the remaining algos please let me know.
I'll even test you your address.


You can test scryptjane at YACoin pool:

Miner config:
Code:
-o stratum+tcp://yacoin.club:3433 -O alenevaa.CPU1:1

You can use 2 ports:
- 3433 difficulty 1
- 3434 difficulty 0.25

If you miner doesn't support difficulty less than 1 - use port 3433

██████████████████████
████████████████████████
████████████████████████
████████████████████████
███████████████████████
█████████████████████
████████████████████████
████████████████████████
██████████████████████
██████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
███████████████████████
██████████████████████
|
WINGS           
Where DAO Unicorns are born
|
.
1st Bitcoin & Ethereum DAO for DAOs
1st Decentralized Chatbot to Smart Contracts Interaction System

|
.
Wings Bounties Earn Eggs
X-Blockchain DAO

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 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 ... 198 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!