Bitcoin Forum
May 26, 2024, 06:35:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 »
141  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 1.4.9 with stats+monitoring API - opensource (tpruvot) on: November 24, 2014, 01:20:12 AM
try a clean build... it works here... hmm do you mean x11 on SM 3 ?
yes, it's a clean build...
and yes, any algo on sm 3:
Code:
*** ccminer 1.5-git for nVidia GPUs by tpruvot@github ***
        Built with the nVidia CUDA SDK 6.5

  Based on pooler cpuminer 2.3.2
  CUDA support by Christian Buchner and Christian H.
  Include some of djm34 additions and sp optimisations

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo

[2014-11-24 02:13:32] Starting Stratum on stratum+tcp://am01.eu.trademybit.com:4440
* Rebuilt URL to: http://am01.eu.trademybit.com:4440/
* Hostname was NOT found in DNS cache
[2014-11-24 02:13:32] CUDA GPU#0 matches NVML GPU 0 by busId 1
[2014-11-24 02:13:32] NVML GPU monitoring enabled.
[2014-11-24 02:13:32] 1 miner threads started, using 'x11' algorithm.
[2014-11-24 02:13:32] Binding thread 0 to cpu 0
*   Trying 162.243.98.68...
* TCP_NODELAY set
* Connected to am01.eu.trademybit.com (162.243.98.68) port 4440 (#0)
* Connection #0 to host am01.eu.trademybit.com left intact
[2014-11-24 02:13:33] > {"id": 1, "method": "mining.subscribe", "params": ["ccminer/1.5-git"]}
[2014-11-24 02:13:33] < {"id":1,"result":[[["mining.set_difficulty","deadbeefcafebabe5004000000000000"],["mining.notify","deadbeefcafebabe5004000000000000"]],"30000435",4],"error":null}
[2014-11-24 02:13:33] Stratum session id: deadbeefcafebabe5004000000000000
[2014-11-24 02:13:33] > {"id": 2, "method": "mining.authorize", "params": ["skunk.gpu", "123"]}
[2014-11-24 02:13:33] < {"id":null,"method":"mining.set_difficulty","params":[0.005]}
[2014-11-24 02:13:33] Stratum difficulty set to 0.005
[2014-11-24 02:13:33] < {"id":null,"method":"mining.notify","params":["13","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f046e86725408","0d2f6e6f64655374726174756d2f0000000002387e7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca87a5d16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["70208abe2159faa839e3663502e479b526cd567b1b1263def969e76c2ad3c48a","742251aa525a570077f42766b13a4f5853b19b4593a854432dd140657667c024","5d5f2ff472c8ee9157c3119b95e7c1b6ec6961d92c5f24252f35ab673a6d01b6"],"00000002","1b15ec49","5472866e",true]}
[2014-11-24 02:13:33] stratum time is at least 49s in the future
[2014-11-24 02:13:34] < {"id":2,"result":true,"error":null}
[2014-11-24 02:13:34] > {"id": 3, "method": "mining.extranonce.subscribe", "params": []}
[2014-11-24 02:13:34] sleeptime: 500 ms
[2014-11-24 02:13:34] DEBUG: job_id=472866e 13 xnonce2=00000000 time=02:13:33
[2014-11-24 02:13:34] job 472866e 13 target change: c7ff380000 (1.3)
[2014-11-24 02:13:34] GPU #0: start=00000000 end=003fffff range=003fffff
[2014-11-24 02:13:35] stratum extranonce subscribe timed out
[2014-11-24 02:13:35] DEBUG: job_id=472866e 13 xnonce2=01000000 time=02:13:33
[2014-11-24 02:13:35] am01.eu.trademybit.com:4440 x11 block 174738
[2014-11-24 02:13:50] < {"id":null,"method":"mining.notify","params":["14","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f04a586725408","0d2f6e6f64655374726174756d2f0000000002387e7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca87a5d16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["70208abe2159faa839e3663502e479b526cd567b1b1263def969e76c2ad3c48a","742251aa525a570077f42766b13a4f5853b19b4593a854432dd140657667c024","5d5f2ff472c8ee9157c3119b95e7c1b6ec6961d92c5f24252f35ab673a6d01b6"],"00000002","1b15ec49","5472866e",false]}
[2014-11-24 02:13:50] DEBUG: job_id=472866e 14 xnonce2=00000000 time=02:13:33
[2014-11-24 02:13:50] am01.eu.trademybit.com:4440 asks job 20 for block 174738
[2014-11-24 02:13:50] < {"id":null,"method":"mining.notify","params":["15","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f04a586725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:13:50] stratum time is at least 87s in the future
[2014-11-24 02:13:50] DEBUG: job_id=47286a5 15 xnonce2=00000000 time=02:13:50
[2014-11-24 02:13:50] am01.eu.trademybit.com:4440 asks job 21 for block 174738
[2014-11-24 02:14:45] < {"id":null,"method":"mining.notify","params":["16","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f04dc86725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:14:45] DEBUG: job_id=47286a5 16 xnonce2=00000000 time=02:13:50
[2014-11-24 02:14:45] am01.eu.trademybit.com:4440 asks job 22 for block 174738
[2014-11-24 02:15:40] < {"id":null,"method":"mining.notify","params":["17","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f041387725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:15:40] DEBUG: job_id=47286a5 17 xnonce2=00000000 time=02:13:50
[2014-11-24 02:15:40] am01.eu.trademybit.com:4440 asks job 23 for block 174738
[2014-11-24 02:16:35] < {"id":null,"method":"mining.notify","params":["18","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f044a87725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:16:35] DEBUG: job_id=47286a5 18 xnonce2=00000000 time=02:13:50
[2014-11-24 02:16:35] am01.eu.trademybit.com:4440 asks job 24 for block 174738
[2014-11-24 02:16:52] < {"id":null,"method":"mining.notify","params":["19","fab6dff86f9e510f97accaed6dd47a3f226c970f7eb2c3eb0007722d00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270393aa02062f503253482f045c87725408","0d2f6e6f64655374726174756d2f000000000240597307000000001976a914a7134b81f946dc22cf207c9fddd0e49e06b10f0a88acc00b5a16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["70208abe2159faa839e3663502e479b526cd567b1b1263def969e76c2ad3c48a"],"00000002","1b179554","5472875c",true]}
[2014-11-24 02:16:52] stratum time is at least 88s in the future
[2014-11-24 02:16:52] DEBUG: job_id=472875c 19 xnonce2=00000000 time=02:16:52
[2014-11-24 02:16:52] am01.eu.trademybit.com:4440 x11 block 174739
[2014-11-24 02:16:52] hashlog: 1/1 purged
[2014-11-24 02:17:41] < {"id":null,"method":"mining.notify","params":["14","6749f43e90fc9c149529576fb20f567d8eac4639033452b6015c784b00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f34e01062f503253482f048187725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c02475a","54728781",true]}
[2014-11-24 02:17:41] DEBUG: job_id=4728781 14 xnonce2=00000000 time=02:17:29
[2014-11-24 02:17:41] am01.eu.trademybit.com:4440 x11 block 85747
[2014-11-24 02:17:41] < {"id":null,"method":"mining.notify","params":["15","4306df6772b4c4fc8856190f637703898f980a2460e834720216911400000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f44e01062f503253482f048c87725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c020d04","5472878c",true]}
[2014-11-24 02:17:41] DEBUG: job_id=472878c 15 xnonce2=00000000 time=02:17:40
[2014-11-24 02:17:41] am01.eu.trademybit.com:4440 x11 block 85748
[2014-11-24 02:17:49] < {"id":null,"method":"mining.notify","params":["16","a8ad6f3e9a20c0302dd69b8cf8c4bdea34e82a16d2a9d29800aec36000000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f54e01062f503253482f049487725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c01d883","54728795",true]}
[2014-11-24 02:17:49] DEBUG: job_id=4728795 16 xnonce2=00000000 time=02:17:49
[2014-11-24 02:17:49] am01.eu.trademybit.com:4440 x11 block 85749
[2014-11-24 02:17:58] sleeptime: 500 ms
[2014-11-24 02:17:58] DEBUG: job_id=4728795 16 xnonce2=01000000 time=02:17:49
[2014-11-24 02:17:58] GPU #0: start=00000000 end=003fffff range=003fffff
[2014-11-24 02:18:08] < {"id":null,"method":"mining.notify","params":["17","65b76b01f335cbe274bc2338b8bdf1a902cb39874a4c2b3601d37e8d00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f64e01062f503253482f04a787725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c01a162","547287a7",true]}
[2014-11-24 02:18:08] DEBUG: job_id=47287a7 17 xnonce2=00000000 time=02:18:07
[2014-11-24 02:18:08] am01.eu.trademybit.com:4440 x11 block 85750
[2014-11-24 02:18:18] GPU #0: GeForce GTX 660, 27.23 kH/s
[2014-11-24 02:18:18] sleeptime: 500 ms
[2014-11-24 02:18:18] DEBUG: job_id=47287a7 17 xnonce2=01000000 time=02:18:07
[2014-11-24 02:18:18] GPU #0: start=00000000 end=0018ed18 range=0018ed18
142  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 1.4.9 with stats+monitoring API - opensource (tpruvot) on: November 24, 2014, 01:09:51 AM
commit 9e2ab1cb6f3728b47dbd17fccc6fad258962bac7

the miner stopped working on any pool, it prints out hash rates only in benchmark mode...
143  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 1.4.9 with stats+monitoring API - opensource (tpruvot) on: November 23, 2014, 11:02:06 AM
do you know the commit hash of your build ? (git show)
3be08ad9445ddc7e594c916e5cc85bef2b58af66
144  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 1.4.9 with stats+monitoring API - opensource (tpruvot) on: November 23, 2014, 02:53:28 AM
thank you Epsylon3 for this miner, i'm testing 1.5-git and found 2 issues:
Code:
*** ccminer 1.5-git for nVidia GPUs by tpruvot@github ***
        Built with the nVidia CUDA SDK 6.5

  Based on pooler cpuminer 2.3.2
  CUDA support by Christian Buchner and Christian H.
  Include some of djm34 additions and sp optimisations

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo

[2014-11-23 03:34:06] Starting Stratum on stratum+tcp://yaamp.com:3633
[2014-11-23 03:34:06] NVML GPU monitoring enabled.
[2014-11-23 03:34:06] 1 miner threads started, using 'x13' algorithm.
[2014-11-23 03:34:06] Stratum extranonce answer id is not correct!
[2014-11-23 03:34:06] stratum time is at least 34s in the future
[2014-11-23 03:34:06] yaamp.com:3633 x13 block 8885
[2014-11-23 03:34:06] accepted: 1/1 (100.00%), 0.00 khash/s yay!!!
[2014-11-23 03:34:16] stratum time is at least 87s in the future
[2014-11-23 03:34:16] yaamp.com:3633 x13 block 8885
[2014-11-23 03:34:16] GPU #0: GeForce GTX 660, 1291 kH/s
[2014-11-23 03:35:16] GPU #0: GeForce GTX 660, 1287 kH/s
[2014-11-23 03:35:19] stratum time is at least 88s in the future
[2014-11-23 03:35:19] yaamp.com:3633 x13 block 8885
[2014-11-23 03:35:19] GPU #0: GeForce GTX 660, 1290 kH/s
[2014-11-23 03:36:20] GPU #0: GeForce GTX 660, 1285 kH/s
[2014-11-23 03:36:24] yaamp.com:3633 x13 block 8885
[2014-11-23 03:36:24] GPU #0: GeForce GTX 660, 1290 kH/s
[2014-11-23 03:36:31] yaamp.com:3633 x13 block 78884
[2014-11-23 03:36:31] GPU #0: GeForce GTX 660, 1290 kH/s
while mining.set_extranonce feature is working fine with nicehash and has no side effects with trademybit.com, it breaks mining on yaamp.com (after the first share no more yays).
second, the hash rate rate has decreased ~200khs on all x## algos compared with version 1.4.9 on sm_30 (gtx660), do you think it's caused by changes made in the calculation of the average hash rate or by recent sm_50 optimizations?
145  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX] on: November 04, 2014, 02:11:24 PM
for those of you in need to heat up their room and without the time to search for the next profitable coin, past weekend i've put together a bash script that switches between 3 multipools (trademybit, yaamp and nicehash) and their algos in function of advertised profitability (by pool's api itself).
the script is self explanatory, just adjust hashing rates, pool's user/pass/apikey where applicable and miner's paths.
warning: don't expect huge profits since profitability on multipools is very low lately...
Code:
#!/bin/bash

# depends on sys-devel/bc, app-misc/jq, app-misc/screen and sys-process/schedtool
# after starting this script you can execute "screen -r miner" to see miner's output

# algo ids (the first 8 must match with nicehash's api: https://nicehash.com/?p=api)
scrypt=0
sha256=1
nscrypt=2
x11=3
x13=4
keccak=5
x15=6
nist5=7
neoscrypt=8
x14=9
quark=10
fresh=11

# in the following array keys must match with above ids
declare -a ALGO=('scrypt' 'sha256' 'nscrypt' 'x11' 'x13' 'keccak' 'x15' 'nist5' 'neoscrypt' 'x14' 'quark' 'fresh')

# hashing rates in Mhs (GTX-660-oem)
#       not minable, leave it at 0!
RATE[$sha256]=0
#       cudaminer (https://github.com/cbuchner1/CudaMiner)
RATE[$scrypt]=.21
RATE[$nscrypt]=.105
#       ccminer (https://github.com/tpruvot/ccminer or https://github.com/djm34/ccminer)
RATE[$x11]=1.857
RATE[$x13]=1.386
RATE[$x15]=1.217
RATE[$keccak]=66
RATE[$nist5]=5.1
RATE[$x14]=1.3
RATE[$quark]=2.8
RATE[$fresh]=2.5
#       neo-gpuminer (https://github.com/vehre/neo-gpuminer)
RATE[$neoscrypt]=.017

# https://pool.trademybit.com/start
TMB_URL=stratum+tcp://am01.eu.trademybit.com
TMB_PASS=Your_pass
TMB_USER=Your_user
TMB_FEE=3
TMB_API_KEY=Your_TMB_API_key
TMB_PORT[$scrypt]=3330
TMB_PORT[$nscrypt]=2220
TMB_PORT[$x11]=4440
TMB_PORT[$x13]=5550
TMB_PORT[$x15]=6660
TMB_PORT[$nist5]=7770

# https://www.nicehash.com/index.jsp?p=gstarted#seller
NH_URL=stratum+tcp://stratum.nicehash.com
NH_USER=Your_BTC_address
NH_PASS=x
NH_FEE=2
NH_PORT[$scrypt]=3333
NH_PORT[$nscrypt]=3335
NH_PORT[$x11]=3336
NH_PORT[$x13]=3337
NH_PORT[$x15]=3339
NH_PORT[$nist5]=3340
NH_PORT[$keccak]=3338

# http://yaamp.com/ (ports numbers and fees are delivered by the api)
YA_URL=stratum+tcp://yaamp.com
YA_USER=Your_BTC_address
YA_PASS=xx

# hysteresis: by which (absolute) increment of price a pool/algo switch should be triggered
HYST=.1

# miner's paths
CCMINER=~/bitcoin/ccminer-tpruvot/ccminer
CUDAMINER=~/bitcoin/CudaMiner/cudaminer
NEOGPUMINER=~/bitcoin/neo-gpuminer/cgminer

# start miner screen session if it doesn't exist
if [ "$(screen -ls|grep miner)" == "" ]
then
        screen -dmS miner
fi

MPRICE=0

while [ 1 ]
do
        # start execution timer
        START=$(date +%s)

        # initialize profitability list
        LIST=''

        # fetch data from pool's api
        NH=$(wget -qO - 'https://www.nicehash.com/api?method=stats.global.current')
        YA=$(wget -qO - 'http://yaamp.com/api/status')
        TMB=$(wget -qO - "https://pool.trademybit.com/api/bestalgo?key=$TMB_API_KEY")

        # process yaamp's data
        for i in $(echo "$YA"|jq '.[].name'|tr -d '"')
        do
                eval x='$'$i
                price=$(echo "$YA"|jq ".[\"$i\"].estimate_current"|awk '{ print sprintf("%.9f", $1); }')
                YA_FEE=$(echo "$YA"|jq ".[\"$i\"].fees")
                price=$(echo "$price * 1000 * ${RATE[$x]}"|bc)
                price=$(echo "$price - ($price * $YA_FEE / 100)"|bc)
                # if port is 0 means this channel is inactive...
                YA_PORT[$x]=$(echo "$YA"|jq ".[\"$i\"].port")
                if [ ${YA_PORT[$x]} -gt 0 ]
                then
                        LIST+="$price\t${ALGO[$x]}\tYA\n"
                fi
        done

        # process nicehash's data
        for i in $(echo "$NH"|jq '.result.stats[].algo')
        do
                # ignore algo id 100 (multi-algo id)
                if [ $i -eq 100 ]
                then
                        continue
                fi
                price=$(echo "$NH"|jq ".result.stats[$i].price"|tr -d '"')
                price=$(echo "$price * ${RATE[$i]}"|bc)
                price=$(echo "$price - ($price * $NH_FEE / 100)"|bc)
                LIST+="$price\t${ALGO[$i]}\tNH\n"
        done

        # process trademybit's data
        c=0;
        for i in $(echo "$TMB"|jq '.[].algo')
        do
                eval x='$'$i
                price=$(echo "$TMB"| jq ".[$c].actual"|tr -d '"')
                price=$(echo "$price * 1000 * ${RATE[$x]}"|bc)
                price=$(echo "$price - ($price * $TMB_FEE / 100)"|bc)
                LIST+="$price\t${ALGO[$x]}\tTMB\n"
                ((c++))
        done

        # most profitable channel candidate extraction
        LIST=$(echo -e $LIST|sort -rn)
        MPRICE_CAND=$(echo "$LIST"|head -n1|cut -f1)
        MALGO_CAND=$(echo "$LIST"|head -n1|cut -f2)
        MPOOL_CAND=$(echo "$LIST"|head -n1|cut -f3)

        # actual channel price extraction
        if [ $(echo "$MPRICE > 0"|bc) -eq 1 ]
        then
                MPRICE=$(echo "$LIST"|grep -P "[0-9.]+\t$MALGO\t$MPOOL"|cut -f1)
                if [ -z $MPRICE ]
                then
                        MPRICE=0
                fi
        fi

        # choose candidate pool/algo if candidate's price difference is greater than HYST
        if [ $(echo "$MPRICE_CAND > ($MPRICE + $HYST)"|bc) -eq 1 ]
        then
                MPRICE=$MPRICE_CAND
                MPOOL=$MPOOL_CAND
                MALGO=$MALGO_CAND
        fi

        # set miner parameters
        eval URL='$'${MPOOL}_URL
        eval PORT='$'{${MPOOL}_PORT[$MALGO]}
        eval USER='$'${MPOOL}_USER
        eval PASS='$'${MPOOL}_PASS
        PMALGO="-a $MALGO"

        # choose miner and correctly set algo parameter for nscrypt
        if [ "$MALGO" == "scrypt" -o "$MALGO" == "nscrypt" ]
        then
                MINER=$CUDAMINER
                if [ "$MALGO" == "nscrypt" ]
                then
                        PMALGO='-a scrypt:2048'
                fi
        elif [ "$MALGO" == "neoscrypt" ]
        then
                MINER=$NEOGPUMINER
                PMALGO="--neoscrypt -I 13"
        else
                MINER=$CCMINER
        fi

        # start miner if not running or restart it with new parameters if they've changed
        if [ -z "$(pgrep $(basename $CCMINER))" -a -z "$(pgrep $(basename $CUDAMINER))" -a -z "$(pgrep $(basename $NEOGPUMINER))" ]
        then
                screen -S miner -X screen schedtool -B -e $MINER $PMALGO -o $URL:$PORT -u $USER -p $PASS
        elif [ -z "$(pgrep -f -- "$PMALGO.*$USER")" ]
        then
                killall -q $(basename $CCMINER) $(basename $CUDAMINER) $(basename $NEOGPUMINER)
                screen -S miner -X screen schedtool -B -e $MINER $PMALGO -o $URL:$PORT -u $USER -p $PASS
                echo "========================================================"
        fi

        # current date/tme and status output
        DATE=$(date +"%x %R")
        echo "$DATE - Mining $MALGO@$MPOOL@$MPRICE (best $MALGO_CAND@$MPOOL_CAND@$MPRICE_CAND)"

        # stop execution timer and sleep until next minute
        END=$(date +%s)
        TOOK=$((END-START))
        SLEEP=$((60-TOOK))
        if [ $SLEEP -lt 0 ]
        then
                SLEEP=0
        fi
        sleep $SLEEP
done
146  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: November 01, 2014, 01:12:14 PM
~100 euros, I don't see how it could get lower (might find a deal with miners selling out though, if they are as smart as for selling coins, you might found some at 10 euros  Grin)
the cheaper 750ti i could find in spain sells at 128 euros and the palit stormx dual that i was watching still sells at 145 euros...
however it's not the card price my main concern but mining profitability itself, coinshield might be the last coin worth mining since multipools are almost not worth electricity costs and new coins are not worth my time.
time has passed since the great jackpotcoin ride which raised my hobbyist interest into cryptocurrency and even if a 750ti is a small investment, it's still an investment that needs to prove to be worth since i'm not even a gamer.
147  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: November 01, 2014, 11:19:38 AM
skunk,

I'll work on a fix for this when I build the GPU Pool Miner. GPU Pools are coming after Core 1.0.2 Update which is coming after CPU Pools Launch. Currently finishing up CPU pool backend to get it ready for Beta Testing [it will be a Live pool, that I will be working on until I am satisfied everything is correct]. Will then build UI, open the source code, and start working on Core 1.0.2. This will be a mandatory update [Block Version 3 with Time-Lock], and should bring a lot smoother difficulty adjustments Smiley It will also include a Debug LLP so I can monitor specific Debug Outputs remotely, and ensure that everything "under the hood" continues to run smoothly.

Depending on how efficiently the Pool runs, and the necessity, I can add a synchronization protocol to keep a pool server cluster mining for the same pool. Might consider releasing a third code base too, as a joint CPU / GPU pool for Coinshield. We'll see, my TODO list keeps getting longer  Tongue

Thank You,
Viz.
thank you for the update viz, pools are a good news if this coin gets more popular, but still won't make my card's 3 Mhs worth the fuss...
i was thinking about getting a 750ti (less power/noise with slightly better hashing rates) since i thought the price would drop with the introduction of the 900 series, but it didn't yet...
148  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 10:04:29 PM
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.
overclocking is not an option since it makes the card unstable and not worth the additional max. 400 khs it brings...
regarding the throughput, i can even double it but then i get just 2 Mhs and increasing/decreasing it by small steps doesn't make a significative difference (got just +100 khs with throughput = 512*1 * 512*1...
beside that it's four times more cpu intensive than ccminer, so it's actually slowing down the primeminer...
sorry, but i don't think it's worth waiting to see if any blocks gets mined, i'll go back to multipools for now.
149  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 06:33:06 PM
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
150  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 06:00:58 PM
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
151  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 05:12:28 PM
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
152  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 04:41:23 PM
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...
153  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 04:18:36 PM
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)
154  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 03:58:47 PM
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
155  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 03:38:45 PM
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)
hi djm34,
after symlinking every hash/Keccak*.c with hash/Keccak*.cpp, i get this error:
Code:
g++ -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE   -g -O2 -MT hash/skminer-Connection.o -MD -MP -MF hash/.deps/skminer-Connection.Tpo -c -o hash/skminer-Connection.o `test -f 'hash/Connection.cpp' || echo './'`hash/Connection.cpp
In file included from hash/DDOS_Filter.h:5:0,
                 from hash/Connection.cpp:2:
hash/DDOS_Score.h:24:33: error: ‘>>’ should be ‘> >’ within a nested template argument list
   std::vector<std::pair<bool,int>> SCORE;
                                 ^
hash/DDOS_Score.h:45:39: error: ‘>>’ should be ‘> >’ within a nested template argument list
   const std::vector<std::pair<bool,int>> GetScores()  const { return this->SCORE;  }
thank you
well just do as the compiler says: replace >> by > > (kinda picky linux compiler  Grin) line 33 and 39 of DDOS_SCore (I must admit I forgot to check if anything had been edited at that level... I'll need to instal some linux distro on VM to compile
yes, it was pretty obvious, sorry...
what about this?
Code:
hash/Keccak-compact64.cpp: In function ‘void KeccakF1600_StatePermute(void*)’:
hash/Keccak-compact64.cpp:189:11: error: invalid conversion from ‘void*’ to ‘tKeccakLane* {aka long long unsigned int*}’ [-fpermissive]
     state = argState;
           ^
Makefile:585: recipe for target 'hash/skminer-Keccak-compact64.o' failed
thank you

edit: solved by adding -fpermissive to compile flags, but now i really don't know what to do:
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(33): error: more than one instance of overloaded function "scanhash_sk1024" has "C" linkage

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

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

1 error detected in the compilation of "/tmp/tmpxft_000013e5_00000000-6_sk1024.cpp1.ii".
(fyi, i had also to symlink util.c to util.cpp)
156  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 31, 2014, 03:25:29 PM
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)
hi djm34,
after symlinking every hash/Keccak*.c with hash/Keccak*.cpp, i get this error:
Code:
g++ -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE   -g -O2 -MT hash/skminer-Connection.o -MD -MP -MF hash/.deps/skminer-Connection.Tpo -c -o hash/skminer-Connection.o `test -f 'hash/Connection.cpp' || echo './'`hash/Connection.cpp
In file included from hash/DDOS_Filter.h:5:0,
                 from hash/Connection.cpp:2:
hash/DDOS_Score.h:24:33: error: ‘>>’ should be ‘> >’ within a nested template argument list
   std::vector<std::pair<bool,int>> SCORE;
                                 ^
hash/DDOS_Score.h:45:39: error: ‘>>’ should be ‘> >’ within a nested template argument list
   const std::vector<std::pair<bool,int>> GetScores()  const { return this->SCORE;  }
thank you
157  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 27, 2014, 02:44:33 AM

Thanks for the tips everyone.  Removing the unroll's made the difference, but now I have a compiled (and running) version I'll keep playing with the compiler options and retrying with the pragma unroll's back in.

Incidentally when compiled with sm_35 the miner is reporting a MH/s value that I think should be KH/s...

Code:
[MASTER] Coinshield Network: New Block 29091
367528.1 MH/s | 0 Blks ACC=0 REJ=0 | Height = 29091 | Diff = 35 0-bits | 00:03:17
365121.1 MH/s | 0 Blks ACC=0 REJ=0 | Height = 29091 | Diff = 35 0-bits | 00:03:28

When compiled with sm_30 it reports correctly around the 28 MH/s mark, but with sm_35 it gives this.  Should I be concerned?


Your GPU's compute capability is not set correctly in the Makefile and the kernel is not being launched correctly. please see the link below:

https://developer.nvidia.com/cuda-gpus

Also please note that the application currently only works on GPUs with compute capability 3.5 or greater.
Thanks for the quick reply. Changed it back to 30 and all is working fine... I hope
Code:
[MASTER] Coinshield Network: New Block 29127
24.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 29127 | Diff = 36 0-bits | 00:04:09
24.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 29127 | Diff = 36 0-bits | 00:04:20
24.0 MH/s | 0 Blks ACC=0 REJ=0 | Height = 29127 | Diff = 36 0-bits | 00:04:31

ehmmm... you missed:

Also please note that the application currently only works on GPUs with compute capability 3.5 or greater.

you'll not find any block ever...
158  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 26, 2014, 05:49:15 PM
GTX 760 is an sm_30 GPU and the application only seems to work on GPUs with greater compute capability for now.
so is there a chance to get it fixed?
ps: could somebody tell if sm_30 cards are finding any block under windows?

I didn't find any on testnet with a 660.
I am looking into a new kernel for the compute_30 cards (they don't have enough registers for the current one... )
but I have many things on my plate at the moment...
(I might have something... but the diff on testnet is a bit too high to get a fast answer... so it tells you already it won't be fast...)

so would lowering minimal difficulty on testnet help?
@viz: are you about to release a c release of the wallet? could you also please consider lowering the diff. in this release?
i consider donating the first 24h (or more if asked) of mining with a fixed sm_30 miner if this would help as a incentive for your (or anybody else) time...
thank you.

edit: djm34, if you have a roughly idea about which code parameters needs to be changed to fix this, please explain what i should try so i could do a trial/error loop myself until a fix is found. i'm not a software developer, but i've enough programming knowledge to perform simple code read and modifications...

If you just want to "simulate" a lower difficulty in the code then just simply do this in MinerThread.cpp (-> MinerThread::SK1024Miner() function)
            CBigNum target;
            target.SetCompact(m_pBLOCK->GetBits());            
            target.SetCompact(0x7e003fff); //simulate lower difficulty

With this setting my single 750ti "finds" a "block" every couple of seconds. Of course submission will fail but you can check that the mining algo code is working.  
thank you mumus, there are no submission attempts thus confirming the mining code is actually not working...
i've blindly tried to enable SKEIN_ERR_CHECK into hash/skein.h but nothing changed, do you know if there's something that could eventually be tuned in the code that could help fixing it?

Try to lower the const int throughput = 512*8 * 512 * 4; in sk1024.cu, for example to 512* 8 * 512 * 1 or just 512 *  512. Let me know if it worked or not. I'm trying to understand the code and now I'm playing now with another parameter that can be related and it may help. I'm a beginner in cuda coding and I definitely don't understand the code crypto algorithm yet.
unfortunately still no submission attempts, even not with just 512...
159  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 26, 2014, 04:09:14 PM
GTX 760 is an sm_30 GPU and the application only seems to work on GPUs with greater compute capability for now.
so is there a chance to get it fixed?
ps: could somebody tell if sm_30 cards are finding any block under windows?

I didn't find any on testnet with a 660.
I am looking into a new kernel for the compute_30 cards (they don't have enough registers for the current one... )
but I have many things on my plate at the moment...
(I might have something... but the diff on testnet is a bit too high to get a fast answer... so it tells you already it won't be fast...)

so would lowering minimal difficulty on testnet help?
@viz: are you about to release a c release of the wallet? could you also please consider lowering the diff. in this release?
i consider donating the first 24h (or more if asked) of mining with a fixed sm_30 miner if this would help as a incentive for your (or anybody else) time...
thank you.

edit: djm34, if you have a roughly idea about which code parameters needs to be changed to fix this, please explain what i should try so i could do a trial/error loop myself until a fix is found. i'm not a software developer, but i've enough programming knowledge to perform simple code read and modifications...

If you just want to "simulate" a lower difficulty in the code then just simply do this in MinerThread.cpp (-> MinerThread::SK1024Miner() function)
            CBigNum target;
            target.SetCompact(m_pBLOCK->GetBits());            
            target.SetCompact(0x7e003fff); //simulate lower difficulty

With this setting my single 750ti "finds" a "block" every couple of seconds. Of course submission will fail but you can check that the mining algo code is working.  
thank you mumus, there are no submission attempts thus confirming the mining code is actually not working...
i've blindly tried to enable SKEIN_ERR_CHECK into hash/skein.h but nothing changed, do you know if there's something that could eventually be tuned in the code that could help fixing it?
160  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield -SK-1024 |11 New Features | Petition | Vote | Exchange | PROFIT on: October 26, 2014, 01:56:15 PM
GTX 760 is an sm_30 GPU and the application only seems to work on GPUs with greater compute capability for now.
so is there a chance to get it fixed?
ps: could somebody tell if sm_30 cards are finding any block under windows?

I didn't find any on testnet with a 660.
I am looking into a new kernel for the compute_30 cards (they don't have enough registers for the current one... )
but I have many things on my plate at the moment...
(I might have something... but the diff on testnet is a bit too high to get a fast answer... so it tells you already it won't be fast...)

so would lowering minimal difficulty on testnet help?
@viz: are you about to release a c release of the wallet? could you also please consider lowering the diff. in this release?
i consider donating the first 24h (or more if asked) of mining with a fixed sm_30 miner if this would help as a incentive for your (or anybody else) time...
thank you.

edit: djm34, if you have a roughly idea about which code parameters needs to be changed to fix this, please explain what i should try so i could do a trial/error loop myself until a fix is found. i'm not a software developer, but i've enough programming knowledge to perform simple code read and modifications...
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!