Pages:
Author

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

member
Activity: 430
Merit: 22
Professional user
./cpuminer: relocation error: ./cpuminer: symbol _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference


i'm getting this error trying to run cpuminer opt on a vps running ubuntu 12.04
i tried to compile on the vps but it gives me a lot of error last is
 -O3 -march=native -Wall -std=gnu++11 -MT cpuminer-uint256.o -MD -MP -MF .deps/cpuminer-uint256.Tpo -c -o cpuminer-uint256.o `test -f 'uint256.cpp' || echo './'`uint256.cpp
cc1plus: error: unrecognized command line option \u2018-std=gnu++11\u2019
make[2]: *** [cpuminer-uint256.o] Error 1
make[2]: Leaving directory `/home/Scrivania/cpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Scrivania/cpu'
make: *** [all] Error 2
full member
Activity: 144
Merit: 100
Eager to learn
Data provided by WIKI

Code:
Dothan 0.09 μm (90 nm) process technology

    Introduced May 2004
    2 MB L2 cache
    140 million transistors
    Revised data prefetch unit
    400 MHz Netburst-style system bus
    21W TDP

    "Family 6 model 13"

    Variants
        1.00 GHz (Pentium M 723) (ultra low voltage, 5W TDP)
        1.10 GHz (Pentium M 733) (ultra low voltage, 5W TDP)
        1.20 GHz (Pentium M 753) (ultra low voltage, 5W TDP)
        1.30 GHz (Pentium M 718) (low voltage, 10W TDP)
        1.40 GHz (Pentium M 738) (low voltage, 10W TDP)
        1.50 GHz (Pentium M 758) (low voltage, 10W TDP)
        1.60 GHz (Pentium M 778) (low voltage, 10W TDP)
        1.40 GHz (Pentium M 710)
        1.50 GHz (Pentium M 715)
        1.60 GHz (Pentium M 725)
        1.70 GHz (Pentium M 735)
        1.80 GHz (Pentium M 745)
        2.00 GHz (Pentium M 755)
        2.10 GHz (Pentium M 765)

Dothan 533 0.09 μm (90 nm) process technology

    Introduced Q1 2005
    Same as Dothan except with a 533 MHz NetBurst-style system bus and 27W TDP
    Variants
        1.60 GHz (Pentium M 730)
        1.73 GHz (Pentium M 740)
        1.86 GHz (Pentium M 750)
        2.00 GHz (Pentium M 760)
        2.13 GHz (Pentium M 770)
        2.26 GHz (Pentium M 780)

Stealey 0.09 μm (90 nm) process technology

    Introduced Q2 2007
    512 KB L2, 3W TDP
    Variants
        600 MHz (A100)
sr. member
Activity: 1419
Merit: 275
Community built, Privacy driven
that looks like an "arch" issue  , maybe an Cpu wich doesnt support AES , AVX
I am waiting for reply from vps provider

Code:
cat /proc/cpuinfo
this is what it should be
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : QEMU Virtual CPU version (cpu64-rhel6)
stepping        : 3
microcode       : 0x1
cpu MHz         : 2266.746
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl pni cx16 hypervisor lahf_lm

sr. member
Activity: 312
Merit: 250
that looks like an "arch" issue  , maybe an Cpu wich doesnt support AES , AVX
I am waiting for reply from vps provider

Code:
cat /proc/cpuinfo
sr. member
Activity: 1419
Merit: 275
Community built, Privacy driven
that looks like an "arch" issue  , maybe an Cpu wich doesnt support AES , AVX
I am waiting for reply from vps provider
full member
Activity: 144
Merit: 100
Eager to learn
that looks like an "arch" issue  , maybe an Cpu wich doesnt support AES , AVX
sr. member
Activity: 1419
Merit: 275
Community built, Privacy driven
did you know the processor type on it , maybe its another type of      if so you need to change the parameters 

CFLAGS="-O3 -march=btver1 -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl

read also the release-note included in the Miner


please provide more info , OS ,  Hardware  that will increase your chance to get help Wink
Well strange is that cpuminer-multi is running without any problems.. Going to ask vps provider what cpu is it running.
full member
Activity: 144
Merit: 100
Eager to learn
did you know the processor type on it , maybe its another type of      if so you need to change the parameters 

CFLAGS="-O3 -march=btver1 -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl

read also the release-note included in the Miner


please provide more info , OS ,  Hardware  that will increase your chance to get help Wink
sr. member
Activity: 1419
Merit: 275
Community built, Privacy driven
Somehow I do not know what is wrong, but I cant build cpuminer on one of VPS, anything I do ends like this:

Makefile:2490: recipe for target 'algo/echo/aes_ni/cpuminer-hash.o' failed
make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/hodl/.deps/cpuminer-hodl-wolf.Tpo algo/hodl/.deps/cpuminer-hodl-wolf.Po
mv -f algo/hodl/.deps/cpuminer-aes.Tpo algo/hodl/.deps/cpuminer-aes.Po
mv -f algo/hodl/.deps/cpuminer-utilstrencodings.Tpo algo/hodl/.deps/cpuminer-utilstrencodings.Po
make[2]: Leaving directory '/root/cpuminer-opt'
Makefile:3563: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-opt'
Makefile:677: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file
this VPS is only one with this problem, other are working without problem.
Any clue how to compile miner?
legendary
Activity: 1260
Merit: 1046
cpuminer-opt 3.6.1 is released and available for download.

It fixes a data alignment issue in Lyra2Rev2 and also adds support for HW accelerated SHA
encryption and decryption available on Ryzen CPUs. No mainstream intel CPUs with SHA
are exepected until Cannonlake.

SHA256 is used by the following algos and should benefit from HW acceleration:

sha256t, lbry, skein, myr-groestl, m7m.

In order to make use of SHA several requirements must be met. It may require
installation of packages newer than available in the distribution as SHA
support is still very new.

Windows binaries are not avaialable and I have not yet investigated compiling
with SHA support on Windows.

Requirements:

  Ryzen CPU
  Recent Linux distribution
  Compiler version with support for sha
  Openssl development package with support for sha
  Cpuminer-opt source code with support for sha

This is more of a what-to than a how-to, users should already know how.

1. Confirm CPU has SHA support availble and enabled

2. Confirm compiler has support for SHA (gcc 5+).

3. Confirm openssl has support for SHA.

https://github.com/openssl/openssl/commit/619b94667cc7a097f6d1e2123c4f4c2c85afb8f7

4. Configure with arch that includes sha or manually add "-msha" to CFLAGS.

5. Compile.

Recommended test plan:

SHA support in cpuminer-opt is untested therefore problems are likely. Please include all relevant
information, including compiler and openssl versions, when reporting problems.

In addition to SHA, Ryzen is the first AMD CPU to include AVX2. Before attempting to use SHA it would
be useful to determine a baseline configuration for this architecture. Does "-march=core-avx2" provide
an optimum build for Ryzen?

Use the best build as a baseline for comparison with SHA acceleration.

Choose one or more algos that use sha256 (listed above) and obtain baseline performance data.

Rebuild with SHA support. Does the compiler recognize "-march=ryzen" and does it include sha?
Otherwise add "-msha" to the baseline configuration.

Compare performance and report.




Congratulation and thank you for this new 3.6.1 version Joblo :-).
legendary
Activity: 1470
Merit: 1114
cpuminer-opt 3.6.1 is released and available for download.

It fixes a data alignment issue in Lyra2Rev2 and also adds support for HW accelerated SHA
encryption and decryption available on Ryzen CPUs. No mainstream intel CPUs with SHA
are exepected until Cannonlake.

SHA256 is used by the following algos and should benefit from HW acceleration:

sha256t, lbry, skein, myr-groestl, m7m.

In order to make use of SHA several requirements must be met. It may require
installation of packages newer than available in the distribution as SHA
support is still very new.

Windows binaries are not avaialable and I have not yet investigated compiling
with SHA support on Windows.

Requirements:

  Ryzen CPU
  Recent Linux distribution
  Compiler version with support for sha
  Openssl development package with support for sha
  Cpuminer-opt source code with support for sha

This is more of a what-to than a how-to, users should already know how.

1. Confirm CPU has SHA support availble and enabled

2. Confirm compiler has support for SHA (gcc 5+).

3. Confirm openssl has support for SHA.

https://github.com/openssl/openssl/commit/619b94667cc7a097f6d1e2123c4f4c2c85afb8f7

4. Configure with arch that includes sha or manually add "-msha" to CFLAGS.

5. Compile.

Recommended test plan:

SHA support in cpuminer-opt is untested therefore problems are likely. Please include all relevant
information, including compiler and openssl versions, when reporting problems.

In addition to SHA, Ryzen is the first AMD CPU to include AVX2. Before attempting to use SHA it would
be useful to determine a baseline configuration for this architecture. Does "-march=core-avx2" provide
an optimum build for Ryzen?

Use the best build as a baseline for comparison with SHA acceleration.

Choose one or more algos that use sha256 (listed above) and obtain baseline performance data.

Rebuild with SHA support. Does the compiler recognize "-march=ryzen" and does it include sha?
Otherwise add "-msha" to the baseline configuration.

Compare performance and report.



legendary
Activity: 1470
Merit: 1114
In the version (for example) 3.6.1 There will be enhancements for ryzen amd cpu? .

Yes.

https://bitcointalksearch.org/topic/m.18372965
legendary
Activity: 1470
Merit: 1114
Lyra2REv2 AVX2 works on Windows with 3.5.13 and it might be a little faster than 3.5.12.

Can you give us a link on 3.5.13 please? I was unable to find it, even in google cache. Will be really helpful if u share binaries w/o removing the previous links, if possible Wink

3.6.1 will be released soon, I found the bug in lyra2v2.
legendary
Activity: 1134
Merit: 1001
In the version (for example) 3.6.1 There will be enhancements for ryzen amd cpu? .
full member
Activity: 187
Merit: 100
Cryptocurrency enthusiast
Lyra2REv2 AVX2 works on Windows with 3.5.13 and it might be a little faster than 3.5.12.

Can you give us a link on 3.5.13 please? I was unable to find it, even in google cache. Will be really helpful if u share binaries w/o removing the previous links, if possible Wink
full member
Activity: 144
Merit: 100
Eager to learn
Wave, person,

Would anyone have a tutorial on how to use download, compile and use this miner in UBuntu?
Quote
hi LukkasG
i could try to help you out, but need some info about your OS and hardware  pm me if you need help

cheers Integrale
legendary
Activity: 1470
Merit: 1114
Seems that lyra2rev2 is broken in 3.6.0 avx2 build. When I launch the miner, cli doesn't show cpu threads at all, then miner quits after ~15 seconds. It's OK on 3.5.12 avx2 with same settings:

3.6.0:
cpuminer-aes-avx2 -a lyra2rev2 -t 4 -o stratum+tcp://hub.miningpoolhub.com:20507 -u qwerty -p qwerty

CPU: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU features: SSE2 AES AVX AVX2
SW built on Mar 15 2017 with GCC 4.8.3
SW features: SSE2 AES AVX AVX2
Algo features: SSE2 AES AVX AVX2
Start mining with SSE2 AES AVX AVX2

[2017-03-30 12:23:07] Starting Stratum on stratum+tcp://hub.miningpoolhub.com:20
507
[2017-03-30 12:23:07] 4 miner threads started, using 'lyra2rev2' algorithm.
[2017-03-30 12:23:07] Stratum difficulty set to 4

Then, miner quits after a short time. No crashes, just quit.

3.5.12:
cpuminer-aes-avx2 -a lyra2rev2 -t 4 -o stratum+tcp://hub.miningpoolhub.com:20507 -u qwerty -p qwerty

[2017-03-30 12:25:49] Starting Stratum on stratum+tcp://hub.miningpoolhub.com:20
507
[2017-03-30 12:25:49] 4 miner threads started, using 'lyra2rev2' algorithm.
[2017-03-30 12:25:50] Stratum difficulty set to 4
[2017-03-30 12:25:53] Stratum difficulty set to 1.79259
[2017-03-30 12:26:03] CPU #3: 2097.15 kH, 221.35 kH/s
[2017-03-30 12:26:03] CPU #0: 2097.15 kH, 219.95 kH/s
[2017-03-30 12:26:03] CPU #2: 2097.15 kH, 218.08 kH/s
[2017-03-30 12:26:04] CPU #1: 2097.15 kH, 197.22 kH/s
[2017-03-30 12:26:09] Accepted 1/1 (100%), 7509.29 kH, 851.53 kH/s

It's OK with 3.6.0 avx and other versions thought (slower, of course). Hope that info helps.

You're right, crashes on Windows, but works on Linux. I need to investigate.

Edit:

Lyra2REv2 AVX2 works on Windows with 3.5.13 and it might be a little faster than 3.5.12.

There are no changes to the Lyra2 code between 3.5.13 and 3.6.0 so I don't have any clues.
It's going to take a while to figure this out.
full member
Activity: 187
Merit: 100
Cryptocurrency enthusiast
Seems that lyra2rev2 is broken in 3.6.0 avx2 build. When I launch the miner, cli doesn't show cpu threads at all, then miner quits after ~15 seconds. It's OK on 3.5.12 avx2 with same settings:

3.6.0:
cpuminer-aes-avx2 -a lyra2rev2 -t 4 -o stratum+tcp://hub.miningpoolhub.com:20507 -u qwerty -p qwerty

CPU: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
CPU features: SSE2 AES AVX AVX2
SW built on Mar 15 2017 with GCC 4.8.3
SW features: SSE2 AES AVX AVX2
Algo features: SSE2 AES AVX AVX2
Start mining with SSE2 AES AVX AVX2

[2017-03-30 12:23:07] Starting Stratum on stratum+tcp://hub.miningpoolhub.com:20
507
[2017-03-30 12:23:07] 4 miner threads started, using 'lyra2rev2' algorithm.
[2017-03-30 12:23:07] Stratum difficulty set to 4

Then, miner quits after a short time. No crashes, just quit.

3.5.12:
cpuminer-aes-avx2 -a lyra2rev2 -t 4 -o stratum+tcp://hub.miningpoolhub.com:20507 -u qwerty -p qwerty

[2017-03-30 12:25:49] Starting Stratum on stratum+tcp://hub.miningpoolhub.com:20
507
[2017-03-30 12:25:49] 4 miner threads started, using 'lyra2rev2' algorithm.
[2017-03-30 12:25:50] Stratum difficulty set to 4
[2017-03-30 12:25:53] Stratum difficulty set to 1.79259
[2017-03-30 12:26:03] CPU #3: 2097.15 kH, 221.35 kH/s
[2017-03-30 12:26:03] CPU #0: 2097.15 kH, 219.95 kH/s
[2017-03-30 12:26:03] CPU #2: 2097.15 kH, 218.08 kH/s
[2017-03-30 12:26:04] CPU #1: 2097.15 kH, 197.22 kH/s
[2017-03-30 12:26:09] Accepted 1/1 (100%), 7509.29 kH, 851.53 kH/s

It's OK with 3.6.0 avx and other versions thought (slower, of course). Hope that info helps.
sr. member
Activity: 574
Merit: 250
Wave, person,

Would anyone have a tutorial on how to use download, compile and use this miner in UBuntu?
legendary
Activity: 1470
Merit: 1114
Looking for Ryzen owners to test SHA acceleration.

Ryzen CPUs have HW accelerated SHA, something Intel's mainstream CPUs won't have until Cannonlake.

Requirements:
  Ryzen CPU
  Linux
  Compiler version with support for sha
  Openssl development package with support for sha
  Cpuminer-opt source code with support for sha

I can provide the last one. GCC is supposed to have support for -msha starting in v 5, and Openssl added support in 2014
so both should be available in Ubuntu 16.04.

The following algos use sha256 and should benefit from HW acceleration: sha256t, lbry, skein, myr-groestl, m7m.
Pages:
Jump to: