CryptoBeggar
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 119
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:25:31 PM |
|
Has anyone here *by any chance* managed to compile this under OpenSUSE. Seems like there is a miniupnpc gallery missing (I shall ask on dedicated forum anyway).
How do you compile? Probably you need to add the same option as on other systems make -f makefile.unix USE_UPNP= Thank you, I actually realized this library is not distributed as rpm for SUSE, so I built it from source on http://miniupnp.free.fr/files/.
|
|
|
|
|
loucy
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 77
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:32:53 PM |
|
Has anyone here *by any chance* managed to compile this under OpenSUSE. Seems like there is a miniupnpc gallery missing (I shall ask on dedicated forum anyway).
Here's my repository with various *coin-packages: https://build.opensuse.org/project/show?project=home%3Ap_conrad:coinsIt's somewhat experimental, i. e. I've included some of the optimizations discussed in the main Primecoin announcement thread. But you can leave out the -opts patch and build for yourself. Oh, and miniupnpc is available on newer OpenSUSE versions only.
|
|
|
|
Luckybit
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:33:21 PM |
|
I figured it out. ./primecoind setgenerate true -1
then to check that it's running ./primecoind getmininginfo
This applies to anyone else as well who started the daemon and couldn't figure it out. You have to pass commands to it, it's basically the console window from primecoin.exe
|
|
|
|
gateway
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:35:24 PM |
|
anyone have a windows or osx build with the latest suggested updates/patches/speed improvements?
|
|
|
|
mrmanager
Newbie
Offline
Activity: 50
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:39:06 PM |
|
I got a nice increase as well. From ~60pps to 151pps and still rising. cpu: AMD Athlon II x3 455 unlocked to phenom II x4 B55.
Yeah, I have a dual core unlocked to a Phenom II x4 B55, and I can only hit about 70pps. Unfortunately this is a Windows box, and I've never compiled anything on Windows. It would be nice to double the pps. anyone have a windows or osx build with the latest suggested updates/patches/speed improvements?
+1.
|
|
|
|
Mike270
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:45:35 PM |
|
I have been alerted that certain classes of system continue to experience extremely low primespersec values. Upon investigation it seems certain systems have performance problems with the sieve, causing extended sieve round time. A temporary fix is now pushed to github. Please note I don't have enough time yet to fully test this solution, so try it out first to see if this resolves your system's problems. https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9Please report back if this resolves your performance issues. Hi Sunny King, inspired by that I added something else (though I'm still testing): Make that while (psieve->Weave() && (pindexPrev==pindexBest) && (GetTimeMicros() - nStart < 3000000)); and add a CBlockIndex* pindexPrev=pindexBest; as first line of MineProbablePrimeChain(). Also, make that while (nCurrent - nStart < 10000 && nCurrent >= nStart && (pindexPrev==pindexBest)) later on. Should theoretically provide an automatic exit if the best block changes during work. (But I'm still testing it)
|
|
|
|
shinkicker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:48:26 PM Last edit: July 10, 2013, 10:50:30 PM by shinkicker |
|
ok, hopefully the karmic universe will throw something back my way for this. Here is the windows qt-client I built with the new code checked in by Sunny King/ https://www.dropbox.com/s/zzp42h320e8ogt2/Primecoin.zipAnd will all DLL's https://www.dropbox.com/s/gba0tqw01qbvzlk/windows-qt.zipPlease...I don't want accusations of stealing wallets or anything about trojans / viruses. So please virus scan the file first and go into your existing client and encrypt your wallet and then back up your wallet.dat, then try this client. Also I built this with -march=native, so its optimized for an i5, but it should be ok for i7 too. I am only sharing this as I know what its like to miss out on crypto mining.. If anyone has luck, tips are welcome: APY8fYJxuMe2hvHMHKBMWzURMCrYmCsKrB Again, use at your own risk. Its working away for me here, but I take no responsibility for any consequence of using this client. As for how it is progressing, I was between 90-120 before, now I am 150 to 200 ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FafZXy9H.png&t=665&c=rzprEiiW1ZUCXA) EDIT: You may also need the gcc dll's too (put them in the same folder):
|
|
|
|
hl5460
Legendary
Offline
Activity: 1620
Merit: 1000
news.8btc.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:50:17 PM |
|
I have been alerted that certain classes of system continue to experience extremely low primespersec values. Upon investigation it seems certain systems have performance problems with the sieve, causing extended sieve round time. A temporary fix is now pushed to github. Please note I don't have enough time yet to fully test this solution, so try it out first to see if this resolves your system's problems. https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9Please report back if this resolves your performance issues. Hi Sunny King, inspired by that I added something else (though I'm still testing): Make that while (psieve->Weave() && (pindexPrev==pindexBest) && (GetTimeMicros() - nStart < 3000000)); and add a CBlockIndex* pindexPrev=pindexBest; as first line of MineProbablePrimeChain(). Also, make that while (nCurrent - nStart < 10000 && nCurrent >= nStart && (pindexPrev==pindexBest)) later on. Should theoretically provide an automatic exit if the best block changes during work. (But I'm still testing it) Hi Mike, are you the guy that "alert" sunny of this problem! Thanks for the contribution!
|
|
|
|
JoeMattie
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:53:19 PM |
|
ok, hopefully the karmic universe will throw something back my way for this. Here is the windows qt-client I built with the new code in: https://www.dropbox.com/s/zzp42h320e8ogt2/Primecoin.zipPlease...I don't want accusations of stealing wallets or anything about trojans / viruses. So please virus scan the file first and go into your existing client and encrypt your wallet and then back up your wallet.dat, then try this client. Also I built this with -march=native, so its optimized for an i5, but it should be ok for i7 too. I am only sharing this as I know what its like to miss out on crypto mining.. If anyone has luck, tips are welcome: APY8fYJxuMe2hvHMHKBMWzURMCrYmCsKrB Again, use at your own risk. Its working away for me here, but I take no responsibility for any consequence of using this client. As for how it is progressing, I was between 90-120 before, now I am 150 to 200 ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FafZXy9H.png&t=665&c=rzprEiiW1ZUCXA) Any chance for a recompile with -static-libgcc and -static-libstdc++ ?
|
Bitrated user: AKQuaternion.
|
|
|
Mike270
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:55:28 PM |
|
Hi Mike, are you the guy that "alert" sunny of this problem! Thanks for the contribution!
Hi hl5460, no, I'm not. Just working on some optimizations of my own and this came to my mind when I thought about his change. Kind regards Mike
|
|
|
|
shinkicker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 09:56:40 PM |
|
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?
I honestly have to go to bed soon (kids to pack to school and work), otherwise I would. If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder. I got mine from an install of the megaclient (you can probably find them online too).
|
|
|
|
shinkicker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:00:49 PM |
|
First of all, thank you -- second -- I am still seeing single digits primespersec, which makes me think there is something else wrong.
My config file looks like:
rpcallowip=127.0.0.1 rpcuser=solo_user rpcpassword=solo_user_password rpcport=19911
port=9911 daemon=1 server=1 gen=1 listen=1 testnet=0
Anything glaring out at you here?
A few yes, it takes time for pps to build up. I would give it 20 minutes or so. Second, what CPU do you have?
|
|
|
|
nhminer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:02:42 PM |
|
file this under "I must be getting old"
Now that I've given it a little time, the pps is rising. I didn't realize it took fime.
~nh
|
BCH - 1EshwUEg9LRbY5WMSw7bkBGQUYQeenkcet
|
|
|
dmay728
Newbie
Offline
Activity: 9
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:04:16 PM |
|
I'm getting "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem."
Please tell me I'm not retarded.
|
|
|
|
mrmanager
Newbie
Offline
Activity: 50
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:04:32 PM Last edit: July 10, 2013, 10:17:19 PM by mrmanager |
|
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?
I honestly have to go to bed soon (kids to pack to school and work), otherwise I would. If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder. I got mine from an install of the megaclient (you can probably find them online too). I have both of those .ddls in the directory, and in system32, but I'm receiving this error below: "The procedure entry point _ZNSt12out_of_rangeD2Ev could not be located in the dynamic link library libstdc++-6.dll" Is anyone else having this problem? Edit: I found a different version of libstdc++-6.dll and it worked. The link below with both .ddls also works. I also needed to add mingwm10.ddl. Thanks a lot, OP. A donation will be coming your way.
|
|
|
|
JoeMattie
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:04:40 PM |
|
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?
I honestly have to go to bed soon (kids to pack to school and work), otherwise I would. If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder. I got mine from an install of the megaclient (you can probably find them online too). Got it working already. I only ask for the n00bs ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) Thanks, by the way, seems to be working well
|
Bitrated user: AKQuaternion.
|
|
|
shinkicker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:07:28 PM |
|
I'm getting "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem."
Please tell me I'm not retarded.
Yep, sorry I compiled it without the DLL's included; https://www.dropbox.com/s/5uot5d5xiwxfln6/libs.zipThats why JoeMattie asked me to compile with them included, Unzip those into your program files directory and you should be fine.
|
|
|
|
96redformula
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:07:59 PM |
|
First of all, thank you -- second -- I am still seeing single digits primespersec, which makes me think there is something else wrong.
My config file looks like:
rpcallowip=127.0.0.1 rpcuser=solo_user rpcpassword=solo_user_password rpcport=19911
port=9911 daemon=1 server=1 gen=1 listen=1 testnet=0
Anything glaring out at you here?
A few yes, it takes time for pps to build up. I would give it 20 minutes or so. Second, what CPU do you have? Any chance you can help us out with how to compile in windows machines. I would be willing to send some coins your way and I am sure others would be as well for the little bit of help.
|
|
|
|
JoeMattie
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2013, 10:08:07 PM |
|
Any chance for a recompile with -static-libgcc and -static-libstdc++ ?
I honestly have to go to bed soon (kids to pack to school and work), otherwise I would. If you want I can send you libstdc++-6.dll & libgcc_s_dw2-1.dll and drop them into the same folder. I got mine from an install of the megaclient (you can probably find them online too). I have both of those .ddls in the directory, and in system32, but I'm receiving this error below: "The procedure entry point _ZNSt12out_of_rangeD2Ev" Is anyone else having this problem? I had to try 4 versions of that DLL until I found the right one. Hang, on, I'll upload the one that worked edit: nevermind, OP beat me
|
Bitrated user: AKQuaternion.
|
|
|
|