Author

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

full member
Activity: 239
Merit: 100
get this error with 3.3.5
Code:
c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
full member
Activity: 239
Merit: 100
cpuminer-opt v3.3.5 is available.

Fixed hodl on Windows with non-AES CPUs. New build procedure for Windows, see README.md.
This fix is only significant for Windows users who compile their own on non-AES CPUs. Cryptomining
Blog does not build binaries for non-AES CPUs.

Rewrote CPU capabilities check to provide more info and be less verbose. It is implemented in permissive
mode meaning that mining will always be attempted. The miner may crash or perform at less than optimum.

This should close any remaining issues for now. It is recommended that all users upgrade even those who don't
like to update every release.

Download source:

https://drive.google.com/file/d/0B0lVSGQYLJIZVVp5aGxFVm1qVE0

Check CMB or OP for Windows binaries availability.
thank you for the update
legendary
Activity: 1470
Merit: 1114
cpuminer-opt v3.3.5 is available.

Fixed hodl on Windows with non-AES CPUs. New build procedure for Windows, see README.md.
This fix is only significant for Windows users who compile their own on non-AES CPUs. Cryptomining
Blog does not build binaries for non-AES CPUs.

Rewrote CPU capabilities check to provide more info and be less verbose. It is implemented in permissive
mode meaning that mining will always be attempted. The miner may crash or perform at less than optimum.

This should close any remaining issues for now. It is recommended that all users upgrade even those who don't
like to update every release.

Download source:

https://drive.google.com/file/d/0B0lVSGQYLJIZVVp5aGxFVm1qVE0

Check CMB or OP for Windows binaries availability.
member
Activity: 83
Merit: 10
mounting drives (is that still priviledged)

Yes, it still is, but modern desktop environments do it for you via mechanism similar to sudo. You just click on 'mount USB drive' button in the UI.
legendary
Activity: 1470
Merit: 1114
The reason why I suggest using sudo is because doing everything as root is _very_ bad practice -- http://unix.stackexchange.com/questions/52268/why-is-it-a-bad-idea-to-run-as-root

In fact, even for installing most software you don't need root, for example my package manager revolves precisely around that -- https://github.com/hmage/norm

Agreed on the reasoning but I prefer having a root login for the simple reason it requires a second password.
If the user password gets cracked with sudo enabled the whole machine is compromised. Without sudo root
would have to be cracked.

Sudo can then be used to provide limited root priviledges like installling packages and mounting drives (is that
still priviledged) but nothing too dangerous.
member
Activity: 83
Merit: 10
My plan is to do a "net" install of Debian, basically the bare minimum, then figure out what I need to type next. Essentially a "step-by-step" from complete scratch/zero. It's in a VM, so no biggie if I have to do over and over just to get it right.

I've been doing Debian minimal netinstalls as part of job for 16 years.

You might want to set up sudo first, debian doesn't install it for you (ubuntu does).

so login as root first, "apt-get install sudo", then run "visudo" to edit /etc/sudoers and add yourself there, then log out and login as yourself.

Then run "sudo apt-get install build-essential" -- it will install essential stuff needed to have a C/C++ compiler that can compile.

After that it boils down to what you need to compile, in case of cpuminer-opt it's "sudo apt-get install libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake".

The reason why I suggest using sudo is because doing everything as root is _very_ bad practice -- http://unix.stackexchange.com/questions/52268/why-is-it-a-bad-idea-to-run-as-root

In fact, even for installing most software you don't need root, for example my package manager revolves precisely around that -- https://github.com/hmage/norm
legendary
Activity: 1470
Merit: 1114
My plan is to do a "net" install of Debian, basically the bare minimum, then figure out what I need to type next. Essentially a "step-by-step" from complete scratch/zero. It's in a VM, so no biggie if I have to do over and over just to get it right.

My only experience with minimal installs is Centos. It provide the install time options for both
a minimal install and development tools. After that install some of the missing dependencies for cpuminer-opt
then pick off any stragglers when the compiler complains about them. That would make for a pretty lean machine.

But I'm sure Debian can do it just as well.

legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
My plan is to do a "net" install of Debian, basically the bare minimum, then figure out what I need to type next. Essentially a "step-by-step" from complete scratch/zero. It's in a VM, so no biggie if I have to do over and over just to get it right.
legendary
Activity: 1470
Merit: 1114
Does ubuntu have a "console" install? Non-graphical type? Of course I will go to their website. I know how to run a Pi2 a bit, and I think Rasbian is based on Debian, so ... well, that's just what I've been using for 20 years (as a newbie, 20 years a Linux newbie, go figure). Ubuntu is more recent (about 10+ years old), and is also Debian based.

Anyway, queuing download for 16.04 LTS ubuntu 64-bit, desktop and server versions.

Last I checked (many moons ago) the server edition of ubuntu was text only so I'msure they do.
I don't think you need to switch. If you 've been using Debian for so long and you know how to compile
it should be a brease. I only recommended Ubuntu because it's trivial to install and has a lot more
bells and whistles to make it more desktop friendly. Strip that away and it's basically all Debian.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
Does ubuntu have a "console" install? Non-graphical type? Of course I will go to their website. I know how to run a Pi2 a bit, and I think Rasbian is based on Debian, so ... well, that's just what I've been using for 20 years (as a newbie, 20 years a Linux newbie, go figure). Ubuntu is more recent (about 10+ years old), and is also Debian based.

Anyway, queuing download for 16.04 LTS ubuntu 64-bit, desktop and server versions.
legendary
Activity: 1470
Merit: 1114
I am proposing a new direction for the CPU capabilities check...

Code:
Checking CPU capatibility...
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU features: SSE2 AES AVX AVX2
SW built on Jun  4 2016 with GCC 4.8.4
Build features: SSE2 AES AVX AVX2
Algo features: SSE2 AES
Start mining with AES-AVX optimizations...

More technical detail but last line summarizes for users. Better?
It would also be nice to include the -march flag either as specified
or translated from native. Haven't found a way except indirectly via
build features. Fortunately the ambuguity does not affect the miner's
decision to use AES.

mine with sse2:
core2    -> SSE2        
corei7    -> SSE2      
corei7-i  -> SSE2 AES
mine with aes:
corei7-avx -> SSE2 AES AVX
corei7-avx-i -> SSE2 AES AVX
corei7-avx2  -> SSE2 AES AVX AVX2
legendary
Activity: 1470
Merit: 1114
My 2 E5 Xeon 2670 dual platform, a total of 16 nuclear 32 threads, HMQ1725 algorithm is only 361K, this is not the normal bar @3.3.4 version

Can you provide more information? Are you saying HMQ1725 on v3.3.4 is slower than previous versions?
Did you compile yourself or use a precompiled binary? Also please post the startup messages showing the
CPU capabilities.

full member
Activity: 168
Merit: 100
My 2 E5 Xeon 2670 dual platform, a total of 16 nuclear 32 threads, HMQ1725 algorithm is only 361K, this is not the normal bar @3.3.4 version
legendary
Activity: 1470
Merit: 1114
you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

Still, something like http://hmage.net/cpuminer-opt/cpuminer-opt-3.3.4.tar.gz would be much more convenient.

 Smiley
I don't disagree. But I'll have to spend some time playing with git before I comit cpuminer-opt to it. And that
will have to wait until the development slows. It will happen eventually.

Still looking for an endian.h package that will work with Windows so I can enable hodl on non-AES CPUs.
full member
Activity: 239
Merit: 100
you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

Still, something like http://hmage.net/cpuminer-opt/cpuminer-opt-3.3.4.tar.gz would be much more convenient.
yes i think so too
member
Activity: 83
Merit: 10
you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

Still, something like http://hmage.net/cpuminer-opt/cpuminer-opt-3.3.4.tar.gz would be much more convenient.
legendary
Activity: 1470
Merit: 1114
A little more info for users with early corei CPUs. I found this which lists the mapping between -march
and the processor family.

This help clarify how CMB has built their binaries for Intel CPUs.

They have chosen to only build for CPUs with AES and AVX. This includes:

- westmere (-march=corei7-avx)
- sandybridge ivybridge (-march=corei7-avx-i)
- haswell broadwell (-march=corei7-avx2)

This excludes the following architectures that are supported by cpuminer-opt with SSE2 optimizations:

- nehalem (-march=corei7)
- core2 (-march=core2)

In order to use cpuminer-opt on these CPUs it is necessary to compile from source on that machine using
-march=native which will automatically select the correct architecture for your CPU.

For those who desire to specify the architecture manually please note that in GCC 4.9 and above you may
specify the family name, ie -march=haswell rather than -march=corei7-avx2.

I'm still waiting for feedback from more Westmere and Nehalem users. I presume the lack of feedback means
things are working (or  not) as expected.

I still don't have any issues that would justify a new release so I'll wait a little longer.
legendary
Activity: 1470
Merit: 1114
full member
Activity: 239
Merit: 100
The Google Drive "direct" link somehow works on Chrome and Windows, but don't work with wget on Ubuntu
Code:
urban@storm:~$ wget -4 https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
[1] 10374
urban@storm:~$ --2016-06-04 11:03:26--  https://drive.google.com/uc?export=download
Resolving drive.google.com (drive.google.com)... 216.58.209.206
Connecting to drive.google.com (drive.google.com)|216.58.209.206|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2016-06-04 11:03:26 ERROR 400: Bad Request.
You may need quotes around your URL

Code:
pi@raspberrypi:~ $ wget -O cpuminer-opt.tar.gz -4 "https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M"
--2016-06-04 12:39:10--  https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
Resolving drive.google.com (drive.google.com)... 64.15.112.84, 64.15.112.103, 64.15.112.118, ...
Connecting to drive.google.com (drive.google.com)|64.15.112.84|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://doc-00-7o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/dm3nstjm774g792jpfu2h5q95p8c1g2j/1465041600000/02937440540891330699/*/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M?e=download [following]
Warning: wildcards not supported in HTTP.
--2016-06-04 12:39:14--  https://doc-00-7o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/dm3nstjm774g792jpfu2h5q95p8c1g2j/1465041600000/02937440540891330699/*/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M?e=download
Resolving doc-00-7o-docs.googleusercontent.com (doc-00-7o-docs.googleusercontent.com)... 216.58.214.65
Connecting to doc-00-7o-docs.googleusercontent.com (doc-00-7o-docs.googleusercontent.com)|216.58.214.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/gzip]
Saving to: ‘cpuminer-opt.tar.gz’

cpuminer-opt.tar.gz                           [           <=>                                                                          ]  17.50M   464KB/s   in 40s

2016-06-04 12:39:55 (446 KB/s) - ‘cpuminer-opt.tar.gz’ saved [18348257]

pi@raspberrypi:~ $

 or try curl
Code:
pi@raspberrypi:~ $ curl -L "https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M" > cpuminer-opt.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   383    0   383    0     0     94      0 --:--:--  0:00:04 --:--:--    94
100 17.4M    0 17.4M    0     0   352k      0 --:--:--  0:00:50 --:--:--  384k
pi@raspberrypi:~ $
sr. member
Activity: 312
Merit: 250
The Google Drive "direct" link somehow works on Chrome and Windows, but don't work with wget on Ubuntu
Code:
urban@storm:~$ wget -4 https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
[1] 10374
urban@storm:~$ --2016-06-04 11:03:26--  https://drive.google.com/uc?export=download
Resolving drive.google.com (drive.google.com)... 216.58.209.206
Connecting to drive.google.com (drive.google.com)|216.58.209.206|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2016-06-04 11:03:26 ERROR 400: Bad Request.
Jump to: