Author

Topic: Nexus - Pure SHA3 + CPU/GPU + nPoS + 15 Active Innovations + More to Come - page 301. (Read 785531 times)

sr. member
Activity: 278
Merit: 250
Linux makefiles with some output enhancements for djm34's miner (v0.2):

https://www.dropbox.com/s/rjagl880gjqboh6/skminer.v02.tar.gz?dl=0

tar -xvf skminer.v02.tar.gz

cd skminer

./autogen.sh

./configure

make



Don't forget to change the NVCC options in the Makefile to match your GPU's compute capability:
-gencode=arch=compute_xx,code=\"sm_xx,compute_xx\"

For example, compile with the options below for execution on a GTX 750 GPU
-gencode=arch=compute_50,code=\"sm_50,compute_50\"

Please see the following link for help:
https://developer.nvidia.com/cuda-gpus
sr. member
Activity: 278
Merit: 250
new sources and binaries for nvidia miner: http://ge.tt/4dUHeF32/v/0?c

main change:
* support added for compute_30 (the performance are bad... but it works... not enough register for skein 1024 leading to large spill store
* kernel working now with compute 5_2
* optimization of skein for compute >= 3_5
gtx750: 22.5MH/s
gtx780ti: 43MH/s
gtx 980: 63MH/s
* possibility to select the card to be used together with new format for IP:PORT selection

example Release/skminer 127.0.0.1:9325 gtx980#1,gtx980#2,gtxWhatever

(in the example, the program will run on two gtx980 and ignore the gtxWhatever as it won't find it on your computer (so make sure you put names of card which exist)... alternatively 980#1,980#2 will also work (as in ccminer).

If no second argument is given, it will use every card found on the system.
There is may-be a limitation, as I think, the number of card should be smaller or equal to the number of cpu core/thread (need to be verified though... and I don't have enough pci port for that...)

* new display format, I used supercomputing one.
* added compilation for linux (it is again supercomputing one...) please let me know if it works.


current hashrate on my system with this version: 193MH/s (2 gtx980, 1 gtx750 and 1 gtx780ti), cpu usage 26% (which is high compared to ccminer)

Works on Linux


Testnet:
./skminer 10.0.0.2:8325 750#1
        ***** skMiner for nVidia GPUs by djm34  *****
                     This is version v0.2
        based on ccMiner by Christian Buchner and Christian H. 2014 ***
                   and on primeminer by Videlicet
         Copyright 2014 djm34
          BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
                           CSD: 2S2pCpRXyb8Lpre52U3Xjq2MguSdaea5YGjVTsJqgZBfL2S24ag

cards asked 1
existing card: 750#1
Initializing Miner 10.0.0.2:8325 Number of Cards = 1 Timeout = 10
Connected to 10.0.0.2:8325...
[MASTER] Coinshield Network: New Block 7422
17.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:00:12
19.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:00:23
20.7 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:00:34
20.5 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:00:46
20.8 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:00:57
21.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:01:08
21.2 MH/s | 0 Blks ACC=0 REJ=0 | Height = 7422 | Diff = 30 0-bits | 00:01:19

                GeForce GTX 750 Ti (1)

******* BLOCK with 30 Leading Zero Bits FOUND *******

                Preparing for Block Submission...

Submitting Block...
[MASTER] Block Accepted By Coinshield Network.
[MASTER] Coinshield Network: New Block 7423
20.7 MH/s | 1 Blks ACC=1 REJ=0 | Height = 7423 | Diff = 30 0-bits | 00:01:31
sr. member
Activity: 318
Merit: 250
I have a 6 card (750ti) rig solo mining, speed is approx 75mh, 2 cards are stone cold, I think only 4 cards are mining.

Before I start to investigate, am I missing something really obvious, my launch config is skminer.exe 127.0.0.1 9325 6


try the new version I published, also how many core/thread has your cpu ?

Thanks djm.  I downloaded your new version, 6 cards now running.  The CPU on the rig is an intel dual core & the mobo is an H61.

Donation to follow once I have found some blocks.


member
Activity: 92
Merit: 10
Thanks , Ill check out
EDIT: Stabilized it at 145 MH/s with 5x280X Vapor-X, but did not find any block.
I have a rig of Nvidia which mining with 110MH/s and hits blocks ...
It should work, in principle, I will check again (to make sure I didn't mess with before releasing) if the nonce doesn't skip any value...
What's the conf of 750ti for your previous released miner,I got only around 19mh/s for each 750ti.

Can you share your 280x config file ? I can't get my rig of AMD work corectly. In test machine single msi amd 280x work nice (~25Mhs) but in the other machine with 4x amd 280x only get ~50Mhs...
legendary
Activity: 1400
Merit: 1050
dammit... remove the line I told you to add
and replace any occurance of uint64_t in sk1024.cu by unsigned long long (I must be missing something... this shouldn't be necessary)
after doing this operation on all these files:
Algo/sk1024.cu
Algo/sk1024_keccak.cu
hash/MinerThread.cpp
miner2.h

it did finally build and it (slowly) runs:
Code:
        ***** skMiner for nVidia GPUs by djm34  *****
                     This is version v0.2
        based on ccMiner by Christian Buchner and Christian H. 2014 ***
                   and on primeminer by Videlicet
         Copyright 2014 djm34
          BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
                           CSD: 2S2pCpRXyb8Lpre52U3Xjq2MguSdaea5YGjVTsJqgZBfL2S24ag
Initializing Miner 127.0.0.1:9325 Number of Cards = 1 Timeout = 10
Connected to 127.0.0.1:9325...
[MASTER] Coinshield Network: New Block 35227
2.6 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35227 | Diff = 37 0-bits | 00:00:11
[MASTER] Coinshield Network: New Block 35228
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:22
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:33
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:45
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:56
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:07
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:18
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:29
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:40
i'll tell if it'll find any blocks in the next days...
thank you again for your hints Smiley
what card are you using ? 3MH/s is very bad... (compute_30 ?)
yes, gtx660-oem with 1152 cuda cores
any other tweaking hint is welcome Smiley
try to overclock a bit you should get at least 4MH/s, if you have enough memory, you can try to increase the throughput also.
sr. member
Activity: 329
Merit: 250
dammit... remove the line I told you to add
and replace any occurance of uint64_t in sk1024.cu by unsigned long long (I must be missing something... this shouldn't be necessary)
after doing this operation on all these files:
Algo/sk1024.cu
Algo/sk1024_keccak.cu
hash/MinerThread.cpp
miner2.h

it did finally build and it (slowly) runs:
Code:
        ***** skMiner for nVidia GPUs by djm34  *****
                     This is version v0.2
        based on ccMiner by Christian Buchner and Christian H. 2014 ***
                   and on primeminer by Videlicet
         Copyright 2014 djm34
          BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
                           CSD: 2S2pCpRXyb8Lpre52U3Xjq2MguSdaea5YGjVTsJqgZBfL2S24ag
Initializing Miner 127.0.0.1:9325 Number of Cards = 1 Timeout = 10
Connected to 127.0.0.1:9325...
[MASTER] Coinshield Network: New Block 35227
2.6 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35227 | Diff = 37 0-bits | 00:00:11
[MASTER] Coinshield Network: New Block 35228
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:22
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:33
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:45
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:56
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:07
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:18
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:29
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:40
i'll tell if it'll find any blocks in the next days...
thank you again for your hints Smiley
what card are you using ? 3MH/s is very bad... (compute_30 ?)
yes, gtx660-oem with 1152 cuda cores
any other tweaking hint is welcome Smiley
legendary
Activity: 1400
Merit: 1050
dammit... remove the line I told you to add
and replace any occurance of uint64_t in sk1024.cu by unsigned long long (I must be missing something... this shouldn't be necessary)
after doing this operation on all these files:
Algo/sk1024.cu
Algo/sk1024_keccak.cu
hash/MinerThread.cpp
miner2.h

it did finally build and it (slowly) runs:
Code:
        ***** skMiner for nVidia GPUs by djm34  *****
                     This is version v0.2
        based on ccMiner by Christian Buchner and Christian H. 2014 ***
                   and on primeminer by Videlicet
         Copyright 2014 djm34
          BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
                           CSD: 2S2pCpRXyb8Lpre52U3Xjq2MguSdaea5YGjVTsJqgZBfL2S24ag
Initializing Miner 127.0.0.1:9325 Number of Cards = 1 Timeout = 10
Connected to 127.0.0.1:9325...
[MASTER] Coinshield Network: New Block 35227
2.6 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35227 | Diff = 37 0-bits | 00:00:11
[MASTER] Coinshield Network: New Block 35228
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:22
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:33
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:45
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:56
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:07
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:18
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:29
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:40
i'll tell if it'll find any blocks in the next days...
thank you again for your hints Smiley
what card are you using ? 3MH/s is very bad... (compute_30 ?)
sr. member
Activity: 329
Merit: 250
dammit... remove the line I told you to add
and replace any occurance of uint64_t in sk1024.cu by unsigned long long (I must be missing something... this shouldn't be necessary)
after doing this operation on all these files:
Algo/sk1024.cu
Algo/sk1024_keccak.cu
hash/MinerThread.cpp
miner2.h

it did finally build and it (slowly) runs:
Code:
        ***** skMiner for nVidia GPUs by djm34  *****
                     This is version v0.2
        based on ccMiner by Christian Buchner and Christian H. 2014 ***
                   and on primeminer by Videlicet
         Copyright 2014 djm34
          BTC donation address: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
                           CSD: 2S2pCpRXyb8Lpre52U3Xjq2MguSdaea5YGjVTsJqgZBfL2S24ag
Initializing Miner 127.0.0.1:9325 Number of Cards = 1 Timeout = 10
Connected to 127.0.0.1:9325...
[MASTER] Coinshield Network: New Block 35227
2.6 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35227 | Diff = 37 0-bits | 00:00:11
[MASTER] Coinshield Network: New Block 35228
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:22
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:33
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:45
2.9 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:00:56
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:07
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:18
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:29
3.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 35228 | Diff = 37 0-bits | 00:01:40
i'll tell if it'll find any blocks in the next days...
thank you again for your hints Smiley
member
Activity: 92
Merit: 10
@djm34:
Thanks for the reliese , I've reached 126Mh/s with 6x 750Ti. I'll try some clocking for squeeze more power

What clocks do U use??
legendary
Activity: 1512
Merit: 1000
quarkchain.io
@djm34:
Thanks for the reliese , I've reached 126Mh/s with 6x 750Ti. I'll try some clocking for squeeze more power
member
Activity: 92
Merit: 10
new sources and binaries for nvidia miner: http://ge.tt/4dUHeF32/v/0?c

main change:
* support added for compute_30 (the performance are bad... but it works... not enough register for skein 1024 leading to large spill store
* kernel working now with compute 5_2
* optimization of skein for compute >= 3_5
gtx750: 22.5MH/s
gtx780ti: 43MH/s
gtx 980: 63MH/s
* possibility to select the card to be used together with new format for IP:PORT selection

example Release/skminer 127.0.0.1:9325 gtx980#1,gtx980#2,gtxWhatever

(in the example, the program will run on two gtx980 and ignore the gtxWhatever as it won't find it on your computer (so make sure you put names of card which exist)... alternatively 980#1,980#2 will also work (as in ccminer).

If no second argument is given, it will use every card found on the system.
There is may-be a limitation, as I think, the number of card should be smaller or equal to the number of cpu core/thread (need to be verified though... and I don't have enough pci port for that...)

* new display format, I used supercomputing one.
* added compilation for linux (it is again supercomputing one...) please let me know if it works.


current hashrate on my system with this version: 193MH/s (2 gtx980, 1 gtx750 and 1 gtx780ti), cpu usage 26% (which is high compared to ccminer)

Good update. With this version on stock clock I got with 6 GPU (6x750ti 2gb) ~105Mhs and all GPU work.

Thanks!
legendary
Activity: 1400
Merit: 1050
for the error in Keccak-compact64.cpp
replace "state= argState" by "state = (tKeccakLane *)argState;" (line 189)

for the error in sk1024.cu remove "extern "C"" in front of "bool scanhash_sk1024(..." (line 33)
next one:
Code:
g++  -g -O2 -L/usr/local/cuda/lib64  -o skminer hash/skminer-CBlock.o hash/skminer-Connection.o hash/skminer-DDOS_Filter.o hash/skminer-DDOS_Score.o hash/skminer-Keccak-compact64.o hash/skminer-KeccakDuplex.o hash/skminer-KeccakHash.o hash/skminer-KeccakSponge.o hash/skminer-Miner.o hash/skminer-MinerThread.o hash/skminer-Outbound.o hash/skminer-Packet.o hash/skminer-skein.o hash/skminer-skein_block.o hash/skminer-Timer.o skminer-cpu-miner.o skminer-util.o heavy/heavy.o Algo/cuda_skein1024.o Algo/sk1024.o Algo/sk1024_keccak.o -lcurl -lssl -lcrypto -lssl -lcrypto -lz -ljansson   -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl  -L/usr/local/lib -lboost_filesystem -lboost_system -lboost_program_options -lboost_thread -lcrypto -lssl 
hash/skminer-MinerThread.o: In function `Core::MinerThread::SK1024Miner()':
/home/skunk/bitcoin/skminer_source/hash/MinerThread.cpp:74: undefined reference to `scanhash_sk1024'
Algo/sk1024.o: In function `scanhash_sk1024(unsigned int, unsigned int*, uint1024, unsigned long&, unsigned long, unsigned long long*)':
/home/skunk/bitcoin/skminer_source/Algo/sk1024.cu:63: undefined reference to `skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
collect2: error: ld returned 1 exit status
In miner2.h you need to remove line 7 to 8 and line 22 to 24
got again the same errors (even after make clean)
try to remove line 8-9 and line 15 in sk1024.cu (extern "C" { and the "}")
unfortunately still the same...
ok this is strange... there is no skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
it should be unsigned long long, unsigned long long*

Can you add after the last include in skein1024.cu
"typedef uint64_t unsigned long long"

edit: "typedef unsigned long long uint64_t;" not what I wrote before... sorry
you meant Algo/sk1024.cu, right?
result:
Code:
nvcc -g -O2 -I . -Xptxas "-v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --ptxas-options=-v  -o Algo/sk1024.o -c Algo/sk1024.cu
Algo/sk1024.cu(14): error: invalid redeclaration of type name "uint64_t"
/usr/include/stdint.h(55): here

Algo/sk1024.cu(77): warning: variable "pskein" was declared but never referenced

Algo/sk1024.cu(84): warning: variable "pkeccak" was declared but never referenced
dammit... remove the line I told you to add
and replace any occurance of uint64_t in sk1024.cu by unsigned long long (I must be missing something... this shouldn't be necessary)
sr. member
Activity: 329
Merit: 250
for the error in Keccak-compact64.cpp
replace "state= argState" by "state = (tKeccakLane *)argState;" (line 189)

for the error in sk1024.cu remove "extern "C"" in front of "bool scanhash_sk1024(..." (line 33)
next one:
Code:
g++  -g -O2 -L/usr/local/cuda/lib64  -o skminer hash/skminer-CBlock.o hash/skminer-Connection.o hash/skminer-DDOS_Filter.o hash/skminer-DDOS_Score.o hash/skminer-Keccak-compact64.o hash/skminer-KeccakDuplex.o hash/skminer-KeccakHash.o hash/skminer-KeccakSponge.o hash/skminer-Miner.o hash/skminer-MinerThread.o hash/skminer-Outbound.o hash/skminer-Packet.o hash/skminer-skein.o hash/skminer-skein_block.o hash/skminer-Timer.o skminer-cpu-miner.o skminer-util.o heavy/heavy.o Algo/cuda_skein1024.o Algo/sk1024.o Algo/sk1024_keccak.o -lcurl -lssl -lcrypto -lssl -lcrypto -lz -ljansson   -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl  -L/usr/local/lib -lboost_filesystem -lboost_system -lboost_program_options -lboost_thread -lcrypto -lssl 
hash/skminer-MinerThread.o: In function `Core::MinerThread::SK1024Miner()':
/home/skunk/bitcoin/skminer_source/hash/MinerThread.cpp:74: undefined reference to `scanhash_sk1024'
Algo/sk1024.o: In function `scanhash_sk1024(unsigned int, unsigned int*, uint1024, unsigned long&, unsigned long, unsigned long long*)':
/home/skunk/bitcoin/skminer_source/Algo/sk1024.cu:63: undefined reference to `skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
collect2: error: ld returned 1 exit status
In miner2.h you need to remove line 7 to 8 and line 22 to 24
got again the same errors (even after make clean)
try to remove line 8-9 and line 15 in sk1024.cu (extern "C" { and the "}")
unfortunately still the same...
ok this is strange... there is no skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
it should be unsigned long long, unsigned long long*

Can you add after the last include in skein1024.cu
"typedef uint64_t unsigned long long"

edit: "typedef unsigned long long uint64_t;" not what I wrote before... sorry
you meant Algo/sk1024.cu, right?
result:
Code:
nvcc -g -O2 -I . -Xptxas "-v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --ptxas-options=-v  -o Algo/sk1024.o -c Algo/sk1024.cu
Algo/sk1024.cu(14): error: invalid redeclaration of type name "uint64_t"
/usr/include/stdint.h(55): here

Algo/sk1024.cu(77): warning: variable "pskein" was declared but never referenced

Algo/sk1024.cu(84): warning: variable "pkeccak" was declared but never referenced
legendary
Activity: 1400
Merit: 1050
I have a 6 card (750ti) rig solo mining, speed is approx 75mh, 2 cards are stone cold, I think only 4 cards are mining.

Before I start to investigate, am I missing something really obvious, my launch config is skminer.exe 127.0.0.1 9325 6


try the new version I published, also how many core/thread has your cpu ?
sr. member
Activity: 318
Merit: 250
I have a 6 card (750ti) rig solo mining, speed is approx 75mh, 2 cards are stone cold, I think only 4 cards are mining.

Before I start to investigate, am I missing something really obvious, my launch config is skminer.exe 127.0.0.1 9325 6

legendary
Activity: 1400
Merit: 1050
for the error in Keccak-compact64.cpp
replace "state= argState" by "state = (tKeccakLane *)argState;" (line 189)

for the error in sk1024.cu remove "extern "C"" in front of "bool scanhash_sk1024(..." (line 33)
next one:
Code:
g++  -g -O2 -L/usr/local/cuda/lib64  -o skminer hash/skminer-CBlock.o hash/skminer-Connection.o hash/skminer-DDOS_Filter.o hash/skminer-DDOS_Score.o hash/skminer-Keccak-compact64.o hash/skminer-KeccakDuplex.o hash/skminer-KeccakHash.o hash/skminer-KeccakSponge.o hash/skminer-Miner.o hash/skminer-MinerThread.o hash/skminer-Outbound.o hash/skminer-Packet.o hash/skminer-skein.o hash/skminer-skein_block.o hash/skminer-Timer.o skminer-cpu-miner.o skminer-util.o heavy/heavy.o Algo/cuda_skein1024.o Algo/sk1024.o Algo/sk1024_keccak.o -lcurl -lssl -lcrypto -lssl -lcrypto -lz -ljansson   -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl  -L/usr/local/lib -lboost_filesystem -lboost_system -lboost_program_options -lboost_thread -lcrypto -lssl 
hash/skminer-MinerThread.o: In function `Core::MinerThread::SK1024Miner()':
/home/skunk/bitcoin/skminer_source/hash/MinerThread.cpp:74: undefined reference to `scanhash_sk1024'
Algo/sk1024.o: In function `scanhash_sk1024(unsigned int, unsigned int*, uint1024, unsigned long&, unsigned long, unsigned long long*)':
/home/skunk/bitcoin/skminer_source/Algo/sk1024.cu:63: undefined reference to `skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
collect2: error: ld returned 1 exit status
In miner2.h you need to remove line 7 to 8 and line 22 to 24
got again the same errors (even after make clean)
try to remove line 8-9 and line 15 in sk1024.cu (extern "C" { and the "}")
unfortunately still the same...
ok this is strange... there is no skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
it should be unsigned long long, unsigned long long*

Can you add after the last include in skein1024.cu
"typedef uint64_t unsigned long long"

edit: "typedef unsigned long long uint64_t;" not what I wrote before... sorry
sr. member
Activity: 329
Merit: 250
for the error in Keccak-compact64.cpp
replace "state= argState" by "state = (tKeccakLane *)argState;" (line 189)

for the error in sk1024.cu remove "extern "C"" in front of "bool scanhash_sk1024(..." (line 33)
next one:
Code:
g++  -g -O2 -L/usr/local/cuda/lib64  -o skminer hash/skminer-CBlock.o hash/skminer-Connection.o hash/skminer-DDOS_Filter.o hash/skminer-DDOS_Score.o hash/skminer-Keccak-compact64.o hash/skminer-KeccakDuplex.o hash/skminer-KeccakHash.o hash/skminer-KeccakSponge.o hash/skminer-Miner.o hash/skminer-MinerThread.o hash/skminer-Outbound.o hash/skminer-Packet.o hash/skminer-skein.o hash/skminer-skein_block.o hash/skminer-Timer.o skminer-cpu-miner.o skminer-util.o heavy/heavy.o Algo/cuda_skein1024.o Algo/sk1024.o Algo/sk1024_keccak.o -lcurl -lssl -lcrypto -lssl -lcrypto -lz -ljansson   -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl  -L/usr/local/lib -lboost_filesystem -lboost_system -lboost_program_options -lboost_thread -lcrypto -lssl 
hash/skminer-MinerThread.o: In function `Core::MinerThread::SK1024Miner()':
/home/skunk/bitcoin/skminer_source/hash/MinerThread.cpp:74: undefined reference to `scanhash_sk1024'
Algo/sk1024.o: In function `scanhash_sk1024(unsigned int, unsigned int*, uint1024, unsigned long&, unsigned long, unsigned long long*)':
/home/skunk/bitcoin/skminer_source/Algo/sk1024.cu:63: undefined reference to `skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
collect2: error: ld returned 1 exit status
In miner2.h you need to remove line 7 to 8 and line 22 to 24
got again the same errors (even after make clean)
try to remove line 8-9 and line 15 in sk1024.cu (extern "C" { and the "}")
unfortunately still the same...
legendary
Activity: 1400
Merit: 1050
@ djm34
 
Stupid question for you. This miner doesn't allow us to solo mine from one computer to the other, does it?

Was just curious because the skminer allows that.

which one ? (it should in principle as it uses the same code)

From post 1,445: https://bitcointalksearch.org/topic/m.9287828

When I try your new one I get this "The procedure entry point clRelease could not be located in the dynamic link library OpenCl.dll"

EDIT: When I run it on the rig with the wallet, it starts but closes after a few seconds. Tried to add pause but no message comes up. It just sits there.
not sure what to see on post 1445.
which opencl version is there on your computer ? may-be a problem with the version you are using...

Sorry, I thought you meant what miner I was using to solo mine. That is what that post was for.

I'll try and update the opencl and see if that helps (I have no idea what version I am on).
that was my question and still is (however I assume it is the amd one), because there is no link to any amd miner on that post.
The amd miner was released later on.
However all the miners (amd/prime/nvidia) use the same logic to connect to the wallet. So if it works for one, it should work for the others.
legendary
Activity: 1400
Merit: 1000
@ djm34
 
Stupid question for you. This miner doesn't allow us to solo mine from one computer to the other, does it?

Was just curious because the skminer allows that.

which one ? (it should in principle as it uses the same code)

From post 1,445: https://bitcointalksearch.org/topic/m.9287828

When I try your new one I get this "The procedure entry point clRelease could not be located in the dynamic link library OpenCl.dll"

EDIT: When I run it on the rig with the wallet, it starts but closes after a few seconds. Tried to add pause but no message comes up. It just sits there.
not sure what to see on post 1445.
which opencl version is there on your computer ? may-be a problem with the version you are using...

Sorry, I thought you meant what miner I was using to solo mine. That is what that post was for.

I'll try and update the opencl and see if that helps (I have no idea what version I am on).
legendary
Activity: 1400
Merit: 1050
for the error in Keccak-compact64.cpp
replace "state= argState" by "state = (tKeccakLane *)argState;" (line 189)

for the error in sk1024.cu remove "extern "C"" in front of "bool scanhash_sk1024(..." (line 33)
next one:
Code:
g++  -g -O2 -L/usr/local/cuda/lib64  -o skminer hash/skminer-CBlock.o hash/skminer-Connection.o hash/skminer-DDOS_Filter.o hash/skminer-DDOS_Score.o hash/skminer-Keccak-compact64.o hash/skminer-KeccakDuplex.o hash/skminer-KeccakHash.o hash/skminer-KeccakSponge.o hash/skminer-Miner.o hash/skminer-MinerThread.o hash/skminer-Outbound.o hash/skminer-Packet.o hash/skminer-skein.o hash/skminer-skein_block.o hash/skminer-Timer.o skminer-cpu-miner.o skminer-util.o heavy/heavy.o Algo/cuda_skein1024.o Algo/sk1024.o Algo/sk1024_keccak.o -lcurl -lssl -lcrypto -lssl -lcrypto -lz -ljansson   -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl  -L/usr/local/lib -lboost_filesystem -lboost_system -lboost_program_options -lboost_thread -lcrypto -lssl 
hash/skminer-MinerThread.o: In function `Core::MinerThread::SK1024Miner()':
/home/skunk/bitcoin/skminer_source/hash/MinerThread.cpp:74: undefined reference to `scanhash_sk1024'
Algo/sk1024.o: In function `scanhash_sk1024(unsigned int, unsigned int*, uint1024, unsigned long&, unsigned long, unsigned long long*)':
/home/skunk/bitcoin/skminer_source/Algo/sk1024.cu:63: undefined reference to `skein1024_cpu_hash(int, int, unsigned long, unsigned long*, int)'
collect2: error: ld returned 1 exit status
In miner2.h you need to remove line 7 to 8 and line 22 to 24
got again the same errors (even after make clean)
try to remove line 8-9 and line 15 in sk1024.cu (extern "C" { and the "}")
Jump to: