Bitcoin Forum
April 26, 2024, 02:31:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 [44] 45 46 47 »
  Print  
Author Topic: [XPM]unofficial jhPrimeminer thread  (Read 180163 times)
jrovins
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 31, 2014, 04:39:20 AM
 #861

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/jhprimeminer

You 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)
1714141910
Hero Member
*
Offline Offline

Posts: 1714141910

View Profile Personal Message (Offline)

Ignore
1714141910
Reply with quote  #2

1714141910
Report to moderator
1714141910
Hero Member
*
Offline Offline

Posts: 1714141910

View Profile Personal Message (Offline)

Ignore
1714141910
Reply with quote  #2

1714141910
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714141910
Hero Member
*
Offline Offline

Posts: 1714141910

View Profile Personal Message (Offline)

Ignore
1714141910
Reply with quote  #2

1714141910
Report to moderator
1714141910
Hero Member
*
Offline Offline

Posts: 1714141910

View Profile Personal Message (Offline)

Ignore
1714141910
Reply with quote  #2

1714141910
Report to moderator
PeaMine
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
January 31, 2014, 04:36:36 PM
 #862

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/jhprimeminer

You 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 Offline

Activity: 46
Merit: 0


View Profile
January 31, 2014, 05:38:44 PM
 #863

Yes, I have a merge of tandyuk's and Ray's -xpm code on github
https://github.com/jrovins/jhprimeminer
Several folks have tried it solo, and there are no problems.

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 Offline

Activity: 6
Merit: 0


View Profile
February 01, 2014, 05:37:58 AM
 #864

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/jhprimeminer

You 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 Offline

Activity: 6
Merit: 0


View Profile
February 01, 2014, 05:55:25 AM
 #865

Yes, I have a merge of tandyuk's and Ray's -xpm code on github
https://github.com/jrovins/jhprimeminer
Several folks have tried it solo, and there are no problems.

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

Activity: 105
Merit: 10


View Profile WWW
February 01, 2014, 10:08:43 AM
Last edit: February 01, 2014, 06:54:01 PM by pocesar
 #866

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 Smiley

Quote
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

https://github.com/pocesar - BTC 1KLRAFHGGhE2WiRASkASatvMR1vALmkB9L
PeaMine
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
February 02, 2014, 12:24:30 AM
 #867

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 Smiley

Quote
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


Thanks, I'm following the Ubuntu instructions, but it's prompting for a username and password for git clone https://github.com/jrovins/jhPrimeminer.git
From:
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
Member
**
Offline Offline

Activity: 105
Merit: 10


View Profile WWW
February 02, 2014, 05:07:46 AM
 #868

@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

https://github.com/pocesar - BTC 1KLRAFHGGhE2WiRASkASatvMR1vALmkB9L
PeaMine
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
February 02, 2014, 11:19:06 AM
 #869

@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-directory
http://ubuntuforums.org/showthread.php?t=1043547

Not related to this thread though really, I need to go to a linux forum Tongue

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

Activity: 105
Merit: 10


View Profile WWW
February 02, 2014, 12:10:36 PM
 #870

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

https://github.com/pocesar - BTC 1KLRAFHGGhE2WiRASkASatvMR1vALmkB9L
ssl303
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
February 02, 2014, 05:34:46 PM
 #871

Where to get the latest rdebourbon jhprimeminer? His Dropbox got flagged for too many downloads.
jinx1984
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 02, 2014, 10:43:58 PM
 #872

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 Offline

Activity: 1092
Merit: 1000



View Profile
February 04, 2014, 02:50:42 PM
 #873

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

Activity: 105
Merit: 10


View Profile WWW
February 04, 2014, 03:51:44 PM
 #874

my version works, and I'm also using it on ypool

https://github.com/pocesar - BTC 1KLRAFHGGhE2WiRASkASatvMR1vALmkB9L
primer-
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000



View Profile
February 04, 2014, 05:55:19 PM
 #875

my version works, and I'm also using it on ypool

I'm unable to compile your version - mpirxx.h errors ?
pocesar
Member
**
Offline Offline

Activity: 105
Merit: 10


View Profile WWW
February 04, 2014, 06:22:34 PM
 #876

what error is it giving you? are you using the refactor branch?

https://github.com/pocesar - BTC 1KLRAFHGGhE2WiRASkASatvMR1vALmkB9L
primer-
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000



View Profile
February 04, 2014, 07:13:17 PM
 #877

what error is it giving you? are you using the refactor branch?

https://github.com/pocesar/jhprimeminer/tree/refactor

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/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 Offline

Activity: 1
Merit: 0


View Profile
February 06, 2014, 06:07:55 AM
 #878

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:

Quote
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 Offline

Activity: 2
Merit: 0


View Profile
February 07, 2014, 01:03:32 PM
 #879

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

Activity: 291
Merit: 250



View Profile
February 07, 2014, 01:09:47 PM
 #880

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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 [44] 45 46 47 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!