Pages:
Author

Topic: ethminer-0.9.41-genoil-1.1 - page 83. (Read 397360 times)

full member
Activity: 279
Merit: 104
March 23, 2016, 07:17:37 AM
full member
Activity: 196
Merit: 100
March 23, 2016, 05:23:38 AM
this is make with VERBOSE=1
cmake -DCOMPUTE=30 -DBUNDLE=cudaminer ..
dont know why. can be that i'm on ubuntu 15.10

[ 66%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
cd /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir && /usr/bin/cmake -E make_directory /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//.
cd /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING=Release -D generated_file:STRING=/root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o -D generated_cubin_file:STRING=/root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cubin.txt -P /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake
-- Removing /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
/usr/bin/cmake -E remove /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
-- Generating dependency file: /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.NVCC-depend
/usr/bin/nvcc -M -D__CUDACC__ /root/cpp-ethereum/libethash-cuda/ethash_cuda_miner_kernel.cu -o /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 --std c++11 -DETH_JSONRPC -DETH_READLINE -DETH_MINIUPNPC -DETH_ETHASHCL -DETH_ETHASHCUDA -DETH_STRATUM -DETH_CURL -DETH_FRONTIER -DETH_TRUE -Xcompiler ,\"-Wall\",\"-Wno-unknown-pragmas\",\"-Wextra\",\"-Wno-error=parentheses\",\"-pedantic\",\"-DSHAREDLIB\",\"-fPIC\",\"-fuse-ld=gold\",\"-O3\",\"-DNDEBUG\",\"-DETH_RELEASE\" --disable-warnings --ptxas-options=-v -use_fast_math -lineinfo -gencode arch=compute_30,code=sm_30 -O3 -DNVCC -I/usr/include -I/root/cpp-ethereum/build2/gen -I/root/cpp-ethereum/build2 -I/root/cpp-ethereum/build2/libethash-cuda -I/usr/include -I/root/cpp-ethereum/libethash-cuda/..
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:207 (message):
  Error generating
  /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o


libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:63: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o' failed
make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1
make[2]: Leaving directory '/root/cpp-ethereum/build2'
CMakeFiles/Makefile2:320: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/all' failed
make[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
make[1]: Leaving directory '/root/cpp-ethereum/build2'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
full member
Activity: 196
Merit: 100
March 23, 2016, 05:21:49 AM
For some reason it looks like ETH_STRATUM is not defined, while cmake should have defined it. What you could try is remove #if ETH_STRATUM || !ETH_TRUE from Mineraux at the top of the file (and the #endif, but not the include in between)

i'll give it a try.

saying it again thx for helping me out

didnt find the file= mineraux: command not found
there isnt any at remps looking for rar.gz fil now


Tolazy,
This might not help you much, but I was able to build the ethminer from a fresh install of all tools within an hour.
On Xubuntu 14.04.4 LTS.

I built for AMD GPUs using this command
 cmake -DBUNDLE=miner
I had to repeat the cmake cmd a lot of times taking note of all the complaints.
Based on the cmake error messages I found I had to install the following packages (I already had the AMD driver installed):
Code:
 sudo apt-get update
 sudo apt-get upgrade
 sudo apt-get install  build-essential
 sudo apt-get install fakeroot
 sudo apt-get install dh-make
 sudo apt-get install debconf execstack dh-modaliases
 sudo apt-get install dkms
 sudo apt-get install pkg-config
 sudo apt-get install libtool
 sudo apt-get install libncurses5-dev
 sudo apt-get install libcryptopp-dev
 sudo apt-get install libleveldb-dev
 sudo apt-get install libjsoncpp-dev libargtable2-dev
 sudo apt-get install libjson-rpc-cpp-dev
 sudo apt-get install libmicrohttpd-dev
 sudo apt-get install libreadline-dev
 sudo apt-get install -f libsdl2-dev
 sudo apt-get install build-essential libtool autotools-dev automake
 sudo apt-get install pkg-config  libssl-dev libevent-dev bsdmainutils
 sudo apt-get install  qttools5-dev-tools libprotobuf-dev protobuf-compiler
 sudo apt-get install libgmp-dev
 sudo apt-get install cpuid
Some of these might not be needed for the ethminer build, but I needed them for the AMD driver. YMMV.
Once cmake is happy (no errors) you should have a Makefile.  Just run make after that.
I have
cmake version 3.2.2
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
Code:
cd ethminer
 file ethminer
ethminer: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=8c71afcbb564055dfcbfb9968fe30ab3faf0993d, not stripped

If I were you I would unzip the ethminer to a new directory and try over.


-DBUNDLE=miner works great. it the -DBUNDLE=cudaminer i cant get to work.
full member
Activity: 279
Merit: 104
March 23, 2016, 05:00:07 AM
For some reason it looks like ETH_STRATUM is not defined, while cmake should have defined it. What you could try is remove #if ETH_STRATUM || !ETH_TRUE from Mineraux at the top of the file (and the #endif, but not the include in between)

i'll give it a try.

saying it again thx for helping me out

didnt find the file= mineraux: command not found
there isnt any at remps looking for rar.gz fil now


Tolazy,
This might not help you much, but I was able to build the ethminer from a fresh install of all tools within an hour.
On Xubuntu 14.04.4 LTS.

I built for AMD GPUs using this command
 cmake -DBUNDLE=miner
I had to repeat the cmake cmd a lot of times taking note of all the complaints.
Based on the cmake error messages I found I had to install the following packages (I already had the AMD driver installed):
Code:
 sudo apt-get update
 sudo apt-get upgrade
 sudo apt-get install  build-essential
 sudo apt-get install fakeroot
 sudo apt-get install dh-make
 sudo apt-get install debconf execstack dh-modaliases
 sudo apt-get install dkms
 sudo apt-get install pkg-config
 sudo apt-get install libtool
 sudo apt-get install libncurses5-dev
 sudo apt-get install libcryptopp-dev
 sudo apt-get install libleveldb-dev
 sudo apt-get install libjsoncpp-dev libargtable2-dev
 sudo apt-get install libjson-rpc-cpp-dev
 sudo apt-get install libmicrohttpd-dev
 sudo apt-get install libreadline-dev
 sudo apt-get install -f libsdl2-dev
 sudo apt-get install build-essential libtool autotools-dev automake
 sudo apt-get install pkg-config  libssl-dev libevent-dev bsdmainutils
 sudo apt-get install  qttools5-dev-tools libprotobuf-dev protobuf-compiler
 sudo apt-get install libgmp-dev
 sudo apt-get install cpuid
Some of these might not be needed for the ethminer build, but I needed them for the AMD driver. YMMV.
Once cmake is happy (no errors) you should have a Makefile.  Just run make after that.
I have
cmake version 3.2.2
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
Code:
cd ethminer
 file ethminer
ethminer: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=8c71afcbb564055dfcbfb9968fe30ab3faf0993d, not stripped

If I were you I would unzip the ethminer to a new directory and try over.
legendary
Activity: 1510
Merit: 1003
March 23, 2016, 04:03:53 AM
Dear Genoil.

Why this very usefull option doesn't work on your fork?
ethminer --list-devices
legendary
Activity: 1797
Merit: 1028
March 22, 2016, 05:40:44 PM
How much performance improvements this miner has, if we compare with the original cuda miner?

CBUCHNER--

Because CBuchner started using CUDA code in CudaMiner and CCminer, many miners have confused Genoil's Ethminer with older cryptocoin mining software.  Genoil's Ethminer is a CUDA-enabled piece of mining software that mines DAGGER-Hashimoto coins.  Comparing it to the earlier CUDA mining software is like comparing "apples and oranges".  They don't mine the same algorithms.    --scryptr
sr. member
Activity: 438
Merit: 250
March 22, 2016, 01:52:17 PM
How much performance improvements this miner has, if we compare with the original cuda miner?

This is the original CUDA ethminer. Performance-wise it is about 10-40% faster (depending on GPU) compared to the official OpenCL miner when using the same hardware.
newbie
Activity: 33
Merit: 0
March 22, 2016, 12:09:55 PM
How much performance improvements this miner has, if we compare with the original cuda miner?
sr. member
Activity: 438
Merit: 250
March 22, 2016, 07:47:48 AM
For some reason it looks like ETH_STRATUM is not defined, while cmake should have defined it. What you could try is remove #if ETH_STRATUM || !ETH_TRUE from Mineraux at the top of the file (and the #endif, but not the include in between)

i'll give it a try.

saying it again thx for helping me out

didnt find the file= mineraux: command not found
there isnt any at remps looking for rar.gz fil now


/root/cpp-ethereum/ethminer/MinerAux.h
full member
Activity: 196
Merit: 100
March 22, 2016, 05:18:15 AM
For some reason it looks like ETH_STRATUM is not defined, while cmake should have defined it. What you could try is remove #if ETH_STRATUM || !ETH_TRUE from Mineraux at the top of the file (and the #endif, but not the include in between)

i'll give it a try.

saying it again thx for helping me out

didnt find the file= mineraux: command not found
there isnt any at remps looking for rar.gz fil now
sr. member
Activity: 438
Merit: 250
March 22, 2016, 05:03:29 AM
For some reason it looks like ETH_STRATUM is not defined, while cmake should have defined it. What you could try is remove #if ETH_STRATUM || !ETH_TRUE from Mineraux at the top of the file (and the #endif, but not the include in between)
full member
Activity: 196
Merit: 100
March 22, 2016, 04:56:19 AM
sorry for asking so much Genoli..
i dont know why.

[ 97%] Building CXX object ethminer/CMakeFiles/ethminer.dir/main.cpp.o
In file included from /root/cpp-ethereum/ethminer/main.cpp:39:0:
/root/cpp-ethereum/ethminer/MinerAux.h: In member function ‘void MinerCLI::doFarm(dev::eth::MinerType, const string&, unsigned int)’:
/root/cpp-ethereum/ethminer/MinerAux.h:815:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
      if (current.seedHash != newSeedHash)
         ^
/root/cpp-ethereum/ethminer/MinerAux.h: In member function ‘void MinerCLI::doStratum(dev::eth::MinerType, unsigned int, const string&, const string&, const string&, const string&)’:
/root/cpp-ethereum/ethminer/MinerAux.h:876:3: error: ‘EthStratumClient’ was not declared in this scope
   EthStratumClient client(&f, _m, host, port, user, pass);
   ^
/root/cpp-ethereum/ethminer/MinerAux.h: In lambda function:
/root/cpp-ethereum/ethminer/MinerAux.h:882:4: error: ‘client’ was not declared in this scope
    client.submit(sol);
    ^
/root/cpp-ethereum/ethminer/MinerAux.h: In member function ‘void MinerCLI::doStratum(dev::eth::MinerType, unsigned int, const string&, const string&, const string&, const string&)’:
/root/cpp-ethereum/ethminer/MinerAux.h:890:8: error: ‘client’ was not declared in this scope
    if (client.isConnected())
        ^
/root/cpp-ethereum/ethminer/MinerAux.h: At global scope:
/root/cpp-ethereum/ethminer/MinerAux.h:863:27: warning: unused parameter ‘_m’ [-Wunused-parameter]
  void doStratum(MinerType _m, unsigned _recheckPeriod, string const & host, string const & port, string const & user, string const & pass)
                           ^
/root/cpp-ethereum/ethminer/MinerAux.h:863:71: warning: unused parameter ‘host’ [-Wunused-parameter]
  void doStratum(MinerType _m, unsigned _recheckPeriod, string const & host, string const & port, string const & user, string const & pass)
                                                                       ^
/root/cpp-ethereum/ethminer/MinerAux.h:863:92: warning: unused parameter ‘port’ [-Wunused-parameter]
  void doStratum(MinerType _m, unsigned _recheckPeriod, string const & host, string const & port, string const & user, string const & pass)
                                                                                            ^
/root/cpp-ethereum/ethminer/MinerAux.h:863:113: warning: unused parameter ‘user’ [-Wunused-parameter]
  void doStratum(MinerType _m, unsigned _recheckPeriod, string const & host, string const & port, string const & user, string const & pass)
                                                                                                                 ^
/root/cpp-ethereum/ethminer/MinerAux.h:863:134: warning: unused parameter ‘pass’ [-Wunused-parameter]
  void doStratum(MinerType _m, unsigned _recheckPeriod, string const & host, string const & port, string const & user, string const & pass)
                                                                                                                                      ^
ethminer/CMakeFiles/ethminer.dir/build.make:62: recipe for target 'ethminer/CMakeFiles/ethminer.dir/main.cpp.o' failed
make[2]: *** [ethminer/CMakeFiles/ethminer.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:447: recipe for target 'ethminer/CMakeFiles/ethminer.dir/all' failed
make[1]: *** [ethminer/CMakeFiles/ethminer.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
sr. member
Activity: 438
Merit: 250
March 21, 2016, 06:10:22 PM
Hi all, is there any chance soon someone to build ethereum miner for Win32 ? I already compiled  ethminer-0.9.41-genoil on win64 and it is great, but i am curious if it is possible for win32?!
Thanks in advance! Smiley

It can be done and some devs have tried, but it's not quite straightforward. So I guess that's a no.
newbie
Activity: 19
Merit: 0
March 21, 2016, 05:35:13 PM
Hi all, is there any chance soon someone to build ethereum miner for Win32 ? I already compiled  ethminer-0.9.41-genoil on win64 and it is great, but i am curious if it is possible for win32?!
Thanks in advance! Smiley
full member
Activity: 196
Merit: 100
March 21, 2016, 01:38:58 PM
have gcc5 tried to use CC="gcc-4.7" make -j2 no luck.


[ 66%] Built target ethash-cl
In file included from /usr/include/cuda_runtime.h:59:0,
                 from :0:
/usr/include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.9 and up are not supported!
 #error -- unsupported GNU version! gcc 4.9 and up are not supported!
  ^
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:207 (message):
  Error generating
  /root/cpp-ethereum/build2/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o


libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:63: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o' failed
make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1
CMakeFiles/Makefile2:320: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/all' failed
make[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
sr. member
Activity: 438
Merit: 250
March 21, 2016, 12:17:44 PM
Better rerun cmake with -DCOMPUTE=30 -DBUNDLE=cudaminer
full member
Activity: 196
Merit: 100
March 21, 2016, 10:35:47 AM
think i found the problem but not sure i'm no programmer

nvcc fatal   : Unsupported gpu architecture 'compute_52'

dont know what file i need to change for compute_30

have a 660ti.
with ethminer i get about 10.3MHs genoli on linux.
with the cpp-ethereum installed from repo give me about 1MHs less

tried to remove compute_52 from

libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake
but got this error then
nvcc fatal   : '-O3' is not in 'keyword=value' format
full member
Activity: 196
Merit: 100
March 21, 2016, 10:08:19 AM
think i found the problem but not sure i'm no programmer

nvcc fatal   : Unsupported gpu architecture 'compute_52'

dont know what file i need to change for compute_30

have a 660ti.
with ethminer i get about 10.3MHs genoli on linux.
with the cpp-ethereum installed from repo give me about 1MHs less
sr. member
Activity: 329
Merit: 250
full member
Activity: 196
Merit: 100
March 21, 2016, 09:34:29 AM
Pages:
Jump to: