Bitcoin Forum
June 14, 2024, 10:39:07 PM *
News: Latest Bitcoin Core release: 27.0 [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 ... 90 »
  Print  
Author Topic: ethminer-0.9.41-genoil-1.1  (Read 397330 times)
Genoil (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 250


View Profile
March 21, 2016, 10:10:22 PM
 #201

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.

ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
BTC: 1Nu2fMCEBjmnLzqb8qUJpKgq5RoEWFhNcW
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 22, 2016, 08:56:19 AM
 #202

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
Genoil (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 250


View Profile
March 22, 2016, 09:03:29 AM
 #203

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)

ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
BTC: 1Nu2fMCEBjmnLzqb8qUJpKgq5RoEWFhNcW
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 22, 2016, 09:18:15 AM
Last edit: March 22, 2016, 10:02:04 AM by tolazy
 #204

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
Genoil (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 250


View Profile
March 22, 2016, 11:47:48 AM
 #205

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

ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
BTC: 1Nu2fMCEBjmnLzqb8qUJpKgq5RoEWFhNcW
CookieMonstaSMTH
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
March 22, 2016, 04:09:55 PM
 #206

How much performance improvements this miner has, if we compare with the original cuda miner?
Genoil (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 250


View Profile
March 22, 2016, 05:52:17 PM
 #207

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.

ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
BTC: 1Nu2fMCEBjmnLzqb8qUJpKgq5RoEWFhNcW
scryptr
Legendary
*
Offline Offline

Activity: 1796
Merit: 1028



View Profile WWW
March 22, 2016, 09:40:44 PM
 #208

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

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
rednoW
Legendary
*
Offline Offline

Activity: 1510
Merit: 1003


View Profile
March 23, 2016, 08:03:53 AM
 #209

Dear Genoil.

Why this very usefull option doesn't work on your fork?
ethminer --list-devices
bobben2
Full Member
***
Offline Offline

Activity: 279
Merit: 104


View Profile
March 23, 2016, 09:00:07 AM
 #210

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.

Fellow miners, get your thens and thans in order and help other forum readers understand what you are writing. Remember the grammar basics:  B larger THAN A (comparator operator). If something THEN ....
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 23, 2016, 09:21:49 AM
 #211

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.
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 23, 2016, 09:23:38 AM
 #212

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
bobben2
Full Member
***
Offline Offline

Activity: 279
Merit: 104


View Profile
March 23, 2016, 11:17:37 AM
 #213

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

Ok, I see.
I moved over to my other box with same build env, except with CUDA 7.5  instead of AMD catalyst,
then compiled it there.
cmake  -DCOMPUTE=30 -DBUNDLE=cudaminer
then installed all the packages that cmake complained about.
then ran make with out error.
nvcc --version
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17

I have an GTX 970 so I cannot run it since the -DCOMPUTE=30 cmake flag.

I think the reason for your problem is Ubuntu 15.10 which require other packages..

ATM I am running qtminer and using ethpool.org and am happy with that so far.
It has built in stratum so I guess performance is on par with genoils miner, which I might try later..

Fellow miners, get your thens and thans in order and help other forum readers understand what you are writing. Remember the grammar basics:  B larger THAN A (comparator operator). If something THEN ....
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 24, 2016, 08:07:37 AM
 #214

wonder what in 15.10 that make is not work.

the normal miner compile just fine

cmake -DCOMPUTE=30 -DBUNDLE=cudaminer .. gives me

Could NOT find cpuid (missing:  CPUID_INCLUDE_DIR CPUID_LIBRARY)  but its installed

can it be that i'm on gcc-5 and cmake 3.4.1
to me it looks like something about the cuda i've tried to look on the lines to see if i can find what breaks it

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
make[1]: *** Waiting for unfinished jobs....
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 24, 2016, 08:38:17 AM
 #215

sorry for spamming so much but i just want it to work.
how do i do if i want to use a diffrent gcc then the default one gcc-5 that is.

if i min directly in cpp-ethereum with cmake -DCOMPUTE=30 -DBUNDLE=cudaminer
i get this error message

[ 66%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
In file included from /usr/local/cuda/include/cuda_runtime.h:76:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:115:2: error: #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
 #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
  ^
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:207 (message):
  Error generating
  /root/cpp-ethereum-cuda/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:350: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/all' failed
make[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
March 24, 2016, 12:19:28 PM
Last edit: March 24, 2016, 12:36:13 PM by tolazy
 #216

tried a fresh install of ubuntu 14.04
still get error
Segmentation fault
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:264 (message):
  Error generating file
  /root/cpp-ethereum/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o


make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1
make[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2

it must be me doing things wrong.
i'll stay with cmake -DBUNDLE=miner .. that works with my 660ti card getting 10.4MHs witch isnt bad getting 29.4MHs on my R9 390x on windows with genolis ethminer


can it be something with cuda ? did you use export with your cuda install
GenTarkin
Legendary
*
Offline Offline

Activity: 2450
Merit: 1002


View Profile
March 24, 2016, 07:34:50 PM
 #217

Thanks so much for coding in --opencl-devices 0 1 n    on the latest version!!!

Long awaited and very useful feature.
The stock --opencl-device option is retarded. LOL!

GenTarkin's MOD Kncminer Titan custom firmware! v1.0.4! -- !!NO LONGER AVAILABLE!!
Donations: bitcoin- 1Px71mWNQNKW19xuARqrmnbcem1dXqJ3At || litecoin- LYXrLis3ik6TRn8tdvzAyJ264DRvwYVeEw
Za1n
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011



View Profile
March 25, 2016, 06:22:01 PM
 #218

Dear Genoil.

Why this very usefull option doesn't work on your fork?
ethminer --list-devices

Try using:  ethminer -G --list-devices and see if that helps.
malekbaba
Legendary
*
Offline Offline

Activity: 1526
Merit: 1026

SellDefi.com | Earn by selling files


View Profile
March 25, 2016, 06:35:30 PM
 #219

Is it possible to create dag file in another drive other than drive C
bbr
Sr. Member
****
Offline Offline

Activity: 290
Merit: 250


View Profile
March 25, 2016, 09:15:22 PM
 #220

Is it possible to create dag file in another drive other than drive C

-R [path-to-dir]
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 ... 90 »
  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!