Pages:
Author

Topic: [XPM]unofficial jhPrimeminer thread - page 3. (Read 180178 times)

newbie
Activity: 2
Merit: 0
February 07, 2014, 10:02:46 AM
https://mega.co.nz/#F!SMdjBZjA!ft7TBVIedEg820_3GFzEAQ
This is a copy of rde's dropbox I've made a couple of months ago.

Thank you!

I made my own package of 4.0f (AVX and non-AVX) and put it on simple russian filesharing site - http://rghost.ru/52264825 (no referrals and any kind of moneymaking, no waiting and almost no ads). Just hit "Скачать" gray button and the file is yours. Smiley
sr. member
Activity: 291
Merit: 250
February 07, 2014, 09:09:47 AM
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.
newbie
Activity: 2
Merit: 0
February 07, 2014, 09:03:32 AM
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.
newbie
Activity: 1
Merit: 0
February 06, 2014, 02: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:

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?
legendary
Activity: 1092
Merit: 1000
February 04, 2014, 03:13:17 PM
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
member
Activity: 105
Merit: 10
February 04, 2014, 02:22:34 PM
what error is it giving you? are you using the refactor branch?
legendary
Activity: 1092
Merit: 1000
February 04, 2014, 01:55:19 PM
my version works, and I'm also using it on ypool

I'm unable to compile your version - mpirxx.h errors ?
member
Activity: 105
Merit: 10
February 04, 2014, 11:51:44 AM
my version works, and I'm also using it on ypool
legendary
Activity: 1092
Merit: 1000
February 04, 2014, 10:50:42 AM
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
newbie
Activity: 1
Merit: 0
February 02, 2014, 06: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.


newbie
Activity: 46
Merit: 0
February 02, 2014, 01:34:46 PM
Where to get the latest rdebourbon jhprimeminer? His Dropbox got flagged for too many downloads.
member
Activity: 105
Merit: 10
February 02, 2014, 08:10:36 AM
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 and lines inside "global.h" file
hero member
Activity: 979
Merit: 510
February 02, 2014, 07: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-directory
http://ubuntuforums.org/showthread.php?t=1043547

Not related to this thread though really, I need to go to a linux forum Tongue
member
Activity: 105
Merit: 10
February 02, 2014, 01: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
hero member
Activity: 979
Merit: 510
February 01, 2014, 08:24:30 PM
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
                   ^
compilation terminated.
make: *** [src/primecoinMiner/bn2.o] Error 1
member
Activity: 105
Merit: 10
February 01, 2014, 06:08:43 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 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
newbie
Activity: 6
Merit: 0
February 01, 2014, 01:55:25 AM
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)


newbie
Activity: 6
Merit: 0
February 01, 2014, 01: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/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
newbie
Activity: 46
Merit: 0
January 31, 2014, 01:38:44 PM
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
hero member
Activity: 979
Merit: 510
January 31, 2014, 12: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/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?
Pages:
Jump to: