Pages:
Author

Topic: Open Source XPM Pool + GPU Miner (aka. madPrimeMiner) - page 23. (Read 63449 times)

sr. member
Activity: 378
Merit: 250
im just kidding, of course it will be free
selfish bastard...
full member
Activity: 289
Merit: 100
O2-Protocol.com Carbon Offset DeFi
im just kidding, of course it will be free
newbie
Activity: 16
Merit: 0
Compilation done but i have segfault on :

Code:
0x000000000059dea4 in PoolServer::NotifyNewBlock (this=0xb0f700, pindex=0xac7610) at pool.cpp:768
768             block->set_prevhash(pindex->pprev->phashBlock->GetHex());

Someone can help me ?
newbie
Activity: 28
Merit: 0


the question was has anyone compiled windows version and i assume they think its just a miner so like i said its already compiled for windows
[/quote]

working on a windows compilation for miner and pool

PS: My pool fee will be 50%  Wink
[/quote]

better 100%)
full member
Activity: 289
Merit: 100
O2-Protocol.com Carbon Offset DeFi
o.O its already compiled for windows. Click the link to the other thread and read it..Aint no one got time for that, right?
Doesn't really answer the question..
How do you compile it ?

the question was has anyone compiled windows version and i assume they think its just a miner so like i said its already compiled for windows

working on a windows compilation for miner and pool

PS: My pool fee will be 50%  Wink
sr. member
Activity: 2106
Merit: 282
👉bit.ly/3QXp3oh | 🔥 Ultimate Launc
/usr/local/include/czmq_prelude.h:498:13: error: conflicting declaration ‘typede
f int SOCKET’
 typedef int SOCKET;
             ^
In file included from netbase.h:11:0,
                 from util.h:33,
                 from bignum.h:12,
                 from main.h:10,
                 from main.hpp:13,
                 from primeserver.h:13,
                 from pool.h:13,
                 from pool.cpp:10:
compat.h:29:15: error: ‘SOCKET’ has a previous declaration as ‘typedef u_int SOC
KET’
 typedef u_int SOCKET;
Any ideas?

I make temporary patch:
Code:
diff --git a/primeserver/src/compat.h b/primeserver/src/compat.h
index 7062216..c407587 100644
--- a/primeserver/src/compat.h
+++ b/primeserver/src/compat.h
@@ -5,6 +5,8 @@
 #ifndef _BITCOIN_COMPAT_H
 #define _BITCOIN_COMPAT_H 1
 
+#include
+
 #ifdef WIN32
 #define _WIN32_WINNT 0x0501
 #define WIN32_LEAN_AND_MEAN 1
@@ -26,7 +28,7 @@
 #include
 #endif
 
-typedef u_int SOCKET;
+//typedef u_int SOCKET;
 #ifdef WIN32
 #define MSG_NOSIGNAL        0
 #define MSG_DONTWAIT        0
@@ -42,7 +44,7 @@ typedef int socklen_t;
 #define WSAEINPROGRESS      EINPROGRESS
 #define WSAEADDRINUSE       EADDRINUSE
 #define WSAENOTSOCK         EBADF
-#define INVALID_SOCKET      (SOCKET)(~0)
+//#define INVALID_SOCKET      (SOCKET)(~0)
 #define SOCKET_ERROR        -1
 #endif
 
@@ -58,7 +60,7 @@ inline int myclosesocket(SOCKET& hSocket)
     hSocket = INVALID_SOCKET;
     return ret;
 }
-#define closesocket(s)      myclosesocket(s)
+//#define closesocket(s)      myclosesocket(s)
 
 
 #endif
sr. member
Activity: 249
Merit: 250
Quote
This is on a 290X correct?
Yes.
I changed weave depth and got this results:
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.102074 fermat=589708/sec cpd=6.26/day
(ST/INV/DUP): 9x 8ch(0/0/0) 1x 10ch(0/0/0)
Fermat tests number increased, CPD - no.. need more time to found right configuration. I will release something after 7CPD reaching on R9 290X.

Great job man. Will your work also increase results on a 280X or are you specifically tuning it for 290 cards?

+1 to the qn.

Btw, I like your signature Smiley
member
Activity: 71
Merit: 10
Wayla is sometimes a man!
/usr/local/include/czmq_prelude.h:498:13: error: conflicting declaration ‘typede
f int SOCKET’
 typedef int SOCKET;
             ^
In file included from netbase.h:11:0,
                 from util.h:33,
                 from bignum.h:12,
                 from main.h:10,
                 from main.hpp:13,
                 from primeserver.h:13,
                 from pool.h:13,
                 from pool.cpp:10:
compat.h:29:15: error: ‘SOCKET’ has a previous declaration as ‘typedef u_int SOC
KET’
 typedef u_int SOCKET;
Any ideas?
sr. member
Activity: 332
Merit: 250
Quote
This is on a 290X correct?
Yes.
I changed weave depth and got this results:
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.102074 fermat=589708/sec cpd=6.26/day
(ST/INV/DUP): 9x 8ch(0/0/0) 1x 10ch(0/0/0)
Fermat tests number increased, CPD - no.. need more time to found right configuration. I will release something after 7CPD reaching on R9 290X.

Great job man. Will your work also increase results on a 280X or are you specifically tuning it for 290 cards?
sr. member
Activity: 2106
Merit: 282
👉bit.ly/3QXp3oh | 🔥 Ultimate Launc
Quote
This is on a 290X correct?
Yes.
I changed weave depth and got this results:
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.102074 fermat=589708/sec cpd=6.26/day
(ST/INV/DUP): 9x 8ch(0/0/0) 1x 10ch(0/0/0)
Fermat tests number increased, CPD - no.. need more time to found right configuration. I will release something after 7CPD reaching on R9 290X.
sr. member
Activity: 332
Merit: 250
Original:
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.103835 fermat=482404/sec cpd=6.07/day
(ST/INV/DUP): 1x 8ch(0/0/0) 1x 9ch(0/0/0)

With replaced Fermat:
Quote
(ST/INV/DUP): 1x 8ch(0/0/0)
[GPU 0] T=-1C A=-1% E=0 primes=0.104250 fermat=496779/sec cpd=6.51/day

My code uses 384-bit operands, need to create 352-bit version and tune sieve parameters.

This is on a 290X correct?
sr. member
Activity: 2106
Merit: 282
👉bit.ly/3QXp3oh | 🔥 Ultimate Launc
Original:
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.103835 fermat=482404/sec cpd=6.07/day
(ST/INV/DUP): 1x 8ch(0/0/0) 1x 9ch(0/0/0)

With replaced Fermat:
Quote
(ST/INV/DUP): 1x 8ch(0/0/0)
[GPU 0] T=-1C A=-1% E=0 primes=0.104250 fermat=496779/sec cpd=6.51/day

My code uses 384-bit operands, need to create 352-bit version and tune sieve parameters.
sr. member
Activity: 332
Merit: 250
Built success on linux (pool and client):
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.103835 fermat=482404/sec cpd=6.07/day
(ST/INV/DUP): 1x 8ch(0/0/0) 1x 9ch(0/0/0)
Now try replace a Fermat test function

Well done.
I'm excited to see what the performance will be with the replaced fermat. Smiley
sr. member
Activity: 2106
Merit: 282
👉bit.ly/3QXp3oh | 🔥 Ultimate Launc
Built success on linux (pool and client):
Quote
[GPU 0] T=-1C A=-1% E=0 primes=0.103835 fermat=482404/sec cpd=6.07/day
(ST/INV/DUP): 1x 8ch(0/0/0) 1x 9ch(0/0/0)
Now try replace a Fermat test function
legendary
Activity: 1078
Merit: 1050
o.O its already compiled for windows. Click the link to the other thread and read it..Aint no one got time for that, right?
Doesn't really answer the question..
How do you compile it ?

the question was has anyone compiled windows version and i assume they think its just a miner so like i said its already compiled for windows
legendary
Activity: 1400
Merit: 1050
o.O its already compiled for windows. Click the link to the other thread and read it..Aint no one got time for that, right?
Doesn't really answer the question..
How do you compile it ?
legendary
Activity: 1078
Merit: 1050
o.O its already compiled for windows. Click the link to the other thread and read it..Aint no one got time for that, right?
member
Activity: 115
Merit: 10
+1 need for win7 Smiley
hero member
Activity: 770
Merit: 500
Thanks for making it open source and sharing it with the community . Has anybody compiled binaries for windows ?
sr. member
Activity: 2106
Merit: 282
👉bit.ly/3QXp3oh | 🔥 Ultimate Launc
Quote
CD_X x86_64-Linux # ./webserver --docroot /usr/share/Wt --http-address 0.0.0.0 --http-port 80 --initwtdb
[2014-May-10 14:34:56.672193] 21248 - [info] "WServer/wthttp: fatal: Error: unknown option initwtdb"
Built with system libwt version 3.3.1, or 3.3.2 is minimal required?
Client built sucessfully.
Pages:
Jump to: