jrovins
Newbie
Offline
Activity: 6
Merit: 0
|
|
January 31, 2014, 04:39:20 AM |
|
Any news on miners with -xpm option for solo on Linux?
Yes, I have a merge of tandyuk's and Ray's -xpm code on github https://github.com/jrovins/jhprimeminerYou will have to pull it an build it yourself. ( Follow the instructions in the README file) Several folks have tried it solo, and there are no problems. I'ts still has some debug enabled, which will be cleaned up as soon as I have some time. The master branch was more like tandyuk's version, there is a second branch with the tuning threads re-enabled. They both work. A few weeks ago I was finding blocks about once evety 3 ot 4 days solo, but now since the difficulty increase, I haven't seen a block since 1/24/14 (6+ DAYS)
|
|
|
|
PeaMine
|
|
January 31, 2014, 04:36:36 PM |
|
Any news on miners with -xpm option for solo on Linux?
Yes, I have a merge of tandyuk's and Ray's -xpm code on github https://github.com/jrovins/jhprimeminerYou will have to pull it an build it yourself. ( Follow the instructions in the README file) Several folks have tried it solo, and there are no problems. I'ts still has some debug enabled, which will be cleaned up as soon as I have some time. The master branch was more like tandyuk's version, there is a second branch with the tuning threads re-enabled. They both work. A few weeks ago I was finding blocks about once evety 3 ot 4 days solo, but now since the difficulty increase, I haven't seen a block since 1/24/14 (6+ DAYS) Thanks, does this allow for mining to a wallet from a remote miner?
|
Datacenter Technician and Electrician. If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
|
|
|
ssl303
Newbie
Offline
Activity: 46
Merit: 0
|
|
January 31, 2014, 05:38:44 PM |
|
Hmm, I can't get this to work on mine. I get around 23 for 6ch/h running mumus build on ubuntu 13.10 64-bit with on wine64, but I got this running for about 15 minutes. New Block: 383912 - Diff: 10.405359 / 10.405359 Total/Valid shares: [ 0 / 0 ] - Max diff: 6.889326 6ch/h: 0.00 - 0 [ 0 / 0 / 0 Share Value submitted - Last Block/Total: 0.000000 / 0.000000 Current Primorial Value: 61
|
|
|
|
jrovins
Newbie
Offline
Activity: 6
Merit: 0
|
|
February 01, 2014, 05:37:58 AM |
|
Any news on miners with -xpm option for solo on Linux?
Yes, I have a merge of tandyuk's and Ray's -xpm code on github https://github.com/jrovins/jhprimeminerYou will have to pull it an build it yourself. ( Follow the instructions in the README file) Several folks have tried it solo, and there are no problems. I'ts still has some debug enabled, which will be cleaned up as soon as I have some time. The master branch was more like tandyuk's version, there is a second branch with the tuning threads re-enabled. They both work. A few weeks ago I was finding blocks about once evety 3 ot 4 days solo, but now since the difficulty increase, I haven't seen a block since 1/24/14 (6+ DAYS) Thanks, does this allow for mining to a wallet from a remote miner? Yes, that is the way I have been using it. See this thread for setup details: http://www.peercointalk.org/index.php?topic=623.0
|
|
|
|
jrovins
Newbie
Offline
Activity: 6
Merit: 0
|
|
February 01, 2014, 05:55:25 AM |
|
Hmm, I can't get this to work on mine. I get around 23 for 6ch/h running mumus build on ubuntu 13.10 64-bit with on wine64, but I got this running for about 15 minutes. New Block: 383912 - Diff: 10.405359 / 10.405359 Total/Valid shares: [ 0 / 0 ] - Max diff: 6.889326 6ch/h: 0.00 - 0 [ 0 / 0 / 0 Share Value submitted - Last Block/Total: 0.000000 / 0.000000 Current Primorial Value: 61 When I mine solo with my wallet as the server, I found that the stats stayed at zero, until I actually found a block. like what you have listed above. you have found at least one 6ch since your Max diff is 6.889326 The program just isn't tallying them, because they didn't count as full blocks. I have a modified version that tallies all the chains found, but I did not push that up to git yet, since I am not totally certain how the stats should be displayed. I will take a look at mumus running on windows, and see what that gives. Here is the output of the version that keeps the tallies, ( I will push it th github tomorrow) ����������������������������������������������������������������������������� New Block: 384604 - Diff: 10.400611 / 10.400611 Total/Valid shares: [ 0 / 0 ] - Max diff: 9.797124 6ch/h: 57.41 - 2819 [ 0 / 0 / 0 ] 7ch/h: 5.29 - 260 [ 0 / 0 / 0 ] 8ch/h: 0.41 - 20 [ 0 / 0 / 0 ] 9ch/h: 0.02 - 1 [ 0 / 0 / 0 ] Share Value submitted - Last Block/Total: 0.000000 / 0.000000 Current Primorial Value: 47 ����������������������������������������������������������������������������� Val/h:0.000000 - PPS:37449 - SPS:68.370 - ACC:551 Chain/Hr: 6: 57.40 7: 5.29 8: 0.41 9: 0.02 10: 0.00 (This one was running about 2 days)
|
|
|
|
pocesar
|
|
February 01, 2014, 10:08:43 AM Last edit: February 01, 2014, 06:54:01 PM by pocesar |
|
I've fixed the build on Windows 7 jrovins, doing some tests now and will report back (and a pull request just in case) EDIT: Working amazingly well for solo mining (testing on testnet right now), build on Windows 7 64 bits, outputting x64 binaries, using Visual Studio 2013. Mined 2 22XPM blocks within 2 minutes at testnet diff 6.65094072. Had to fix some Windows specific code, and I hope not to break anything for the linux counterpart New Block: 327721 - Diff: 6.651355 / 6.651355 Total/Valid shares: [ 0 / 0 ] - Max diff: 7.586425 6ch/h: 10.75 - 1 [ 0 / 1 / 0 ] 7ch/h: 10.75 - 1 [ 1 / 0 / 0 ] Share Value submitted - Last Block/Total: 0.000000 / 0.000000 Current Primorial Value: 37
EDIT2: Refactored A LOT of code to conform with C99 best practices (code warnings are my pet peeve). Working really fast on both 32 and 64 bits. Still need to finish refactoring the prime.cpp, because there are a lot of doubles being used where should be floats, and vice-versa EDIT3: On my fork branch from your repo https://github.com/pocesar/jhprimeminer/tree/refactor
|
|
|
|
PeaMine
|
|
February 02, 2014, 12:24:30 AM |
|
I've fixed the build on Windows 7 jrovins, doing some tests now and will report back (and a pull request just in case) EDIT: Working amazingly well for solo mining (testing on testnet right now), build on Windows 7 64 bits, outputting x64 binaries, using Visual Studio 2013. Mined 2 22XPM blocks within 2 minutes at testnet diff 6.65094072. Had to fix some Windows specific code, and I hope not to break anything for the linux counterpart New Block: 327721 - Diff: 6.651355 / 6.651355 Total/Valid shares: [ 0 / 0 ] - Max diff: 7.586425 6ch/h: 10.75 - 1 [ 0 / 1 / 0 ] 7ch/h: 10.75 - 1 [ 1 / 0 / 0 ] Share Value submitted - Last Block/Total: 0.000000 / 0.000000 Current Primorial Value: 37
EDIT2: Refactored A LOT of code to conform with C99 best practices (code warnings are my pet peeve). Working really fast on both 32 and 64 bits. Still need to finish refactoring the prime.cpp, because there are a lot of doubles being used where should be floats, and vice-versa EDIT3: On my fork branch from your repo https://github.com/pocesar/jhprimeminer/tree/refactorThanks, I'm following the Ubuntu instructions, but it's prompting for a username and password for git clone https://github.com/jrovins/jhPrimeminer.gitFrom: https://github.com/pocesar/jhprimeminer/tree/refactor readme When I try to compile it normally I get: g++ -c -march=native -mtune=native -Wall -Wextra -std=c++0x -O3 -ggdb -fomit-frame-pointer -I/usr/local/include -I/usr/include -Isrc/primecoinMiner/includes/ src/primecoinMiner/bn2.cpp -o src/primecoinMiner/bn2.o In file included from src/primecoinMiner/bn2.cpp:1:0: src/primecoinMiner/global.h:47:19: fatal error: gmpxx.h: No such file or directory #include <gmpxx.h> ^ compilation terminated. make: *** [src/primecoinMiner/bn2.o] Error 1
|
Datacenter Technician and Electrician. If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
|
|
|
pocesar
|
|
February 02, 2014, 05:07:46 AM |
|
@PeaMine, you need to install GMP dev package before trying to build. After installing the devel package, it need to be available either in /usr/local/include or /usr/include
|
|
|
|
PeaMine
|
|
February 02, 2014, 11:19:06 AM |
|
@PeaMine, you need to install GMP dev package before trying to build. After installing the devel package, it need to be available either in /usr/local/include or /usr/include
I have it installed and also tried compiling in /usr/include/ and had the same issue. Followed these steps: http://stackoverflow.com/questions/7251070/gmpxx-h-no-such-file-or-directoryhttp://ubuntuforums.org/showthread.php?t=1043547Not related to this thread though really, I need to go to a linux forum
|
Datacenter Technician and Electrician. If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
|
|
|
pocesar
|
|
February 02, 2014, 12:10:36 PM |
|
actually, it seems that the Makefile is broken, since the miner uses mpir (that's a "fork" from GMP lib), and it contains all the needed sources for it to compile (openssl, etc). I'll try to fix that.
EDIT: actually I don't know how to make it "linux proof". and I have no linux machine to test on... don't know if you need GMP or if mpir works... try removing the <gmpxx.h> and <gmp.h> lines inside "global.h" file
|
|
|
|
ssl303
Newbie
Offline
Activity: 46
Merit: 0
|
|
February 02, 2014, 05:34:46 PM |
|
Where to get the latest rdebourbon jhprimeminer? His Dropbox got flagged for too many downloads.
|
|
|
|
jinx1984
Newbie
Offline
Activity: 1
Merit: 0
|
|
February 02, 2014, 10:43:58 PM |
|
Hello, im trying to build jhPrimeminer-master
but I'm getting linking errors
1>xptPacketbuffer.obj : error LNK2001: unresolved external symbol ___gmpz_init_set_si 1>xptServer.obj : error LNK2001: unresolved external symbol ___gmpz_init_set_si 1>xptServerPacketHandler.obj : error LNK2001: unresolved external symbol ___gmpz_init_set_si 1>jsonParser.obj : error LNK2001: unresolved external symbol ___gmpz_init_set_si 1>jsonrpc.obj : error LNK2001: unresolved external symbol ___gmpz_init_set_si 1>xptClient.obj : error LNK2001: unresolved external symbol ___gmpz_init_set_si
I've added OpenCL.lib to Properties=>Configuration Properties => Linker => Input => additional dependencies
but it didn't help.
Do you have any ideas?
Thank You in advance.
|
|
|
|
primer-
Legendary
Offline
Activity: 1092
Merit: 1000
|
|
February 04, 2014, 02:50:42 PM |
|
Version below is NOT working. On testnet, at diff 6.6, it found four 7ch blocks but only one was submitted/accepted. I would not use this version on mainnet. https://github.com/jrovins/jhprimeminer
|
|
|
|
pocesar
|
|
February 04, 2014, 03:51:44 PM |
|
my version works, and I'm also using it on ypool
|
|
|
|
primer-
Legendary
Offline
Activity: 1092
Merit: 1000
|
|
February 04, 2014, 05:55:19 PM |
|
my version works, and I'm also using it on ypool
I'm unable to compile your version - mpirxx.h errors ?
|
|
|
|
pocesar
|
|
February 04, 2014, 06:22:34 PM |
|
what error is it giving you? are you using the refactor branch?
|
|
|
|
primer-
Legendary
Offline
Activity: 1092
Merit: 1000
|
|
February 04, 2014, 07:13:17 PM |
|
what error is it giving you? are you using the refactor branch?
https://github.com/pocesar/jhprimeminer/tree/refactorg++ -c -march=native -mtune=native -Wall -Wextra -std=c++0x -O3 -ggdb -fomit-frame-pointer -I/usr/local/include -I/usr/include -Isrc/primecoinMiner/includes/ src/primecoinMiner/bn2.cpp -o src/primecoinMiner/bn2.o In file included from src/primecoinMiner/mpirxx.h:44, from src/primecoinMiner/global.h:8, from src/primecoinMiner/bn2.cpp:1: src/primecoinMiner/mpir.h: In function ‘mp_limb_t __gmpn_add(mp_limb_t*, const mp_limb_t*, mp_size_t, const mp_limb_t*, mp_size_t)’: src/primecoinMiner/mpir.h:1767: error: ‘GMP_NAIL_BITS’ was not declared in this scope src/primecoinMiner/mpir.h: In function ‘mp_limb_t __gmpn_sub(mp_limb_t*, const mp_limb_t*, mp_size_t, const mp_limb_t*, mp_size_t)’: src/primecoinMiner/mpir.h:1803: error: ‘GMP_NAIL_BITS’ was not declared in this scope In file included from src/primecoinMiner/global.h:8, from src/primecoinMiner/bn2.cpp:1: src/primecoinMiner/mpirxx.h: In static member function ‘static void __gmp_binary_and::eval(__mpz_struct*, const __mpz_struct*, mpir_ui)’: src/primecoinMiner/mpirxx.h:779: error: ‘GMP_LIMB_BITS’ was not declared in this scope src/primecoinMiner/mpirxx.h:779: error: ‘GMP_NAIL_BITS’ was not declared in this scope src/primecoinMiner/mpirxx.h:779: error: ‘limbs’ was not declared in this scope src/primecoinMiner/mpirxx.h: In static member function ‘static void __gmp_binary_and::eval(__mpz_struct*, mpir_ui, const __mpz_struct*)’: src/primecoinMiner/mpirxx.h:783: error: ‘GMP_LIMB_BITS’ was not declared in this scope
|
|
|
|
czmiho
Newbie
Offline
Activity: 1
Merit: 0
|
|
February 06, 2014, 06:07:55 AM |
|
Hi. I use jhPrimeminer-T18-AVX on 2 rigs. First one have Valid/Total Shares 48/48. Second one have Valid/Total Shares 96/103. So ~12% of shares is invalid: Invalid share Reason: Share failed Primecoin's CheckPrimeProofOfWork()
Second PC is 24h Prime95 stable. Does it mean, that jhPrimeminer triggers some kind of fault on my second PC?
|
|
|
|
Rive
Newbie
Offline
Activity: 2
Merit: 0
|
|
February 07, 2014, 01:03:32 PM |
|
Please, anyone can give me a link to rdebourbon jhPrimeminer 4.0F-2 (latest)? Dropbox link is down.
Aerocool's miner is unstable, rdebourbon's works for weeks without crashing. But I've accidentally deleted it.
|
|
|
|
mumus
|
|
February 07, 2014, 01:09:47 PM |
|
Please, anyone can give me a link to rdebourbon jhPrimeminer 4.0F-2 (latest)? Dropbox link is down.
Aerocool's miner is unstable, rdebourbon's works for weeks without crashing. But I've accidentally deleted it.
https://mega.co.nz/#F!SMdjBZjA!ft7TBVIedEg820_3GFzEAQ This is a copy of rde's dropbox I've made a couple of months ago.
|
|
|
|
|