Bitmong
Newbie
Offline
Activity: 29
Merit: 0
|
|
July 23, 2013, 12:52:19 AM |
|
Run:
apt-get update
This will update the package lists, and after that the packages should be installable.
|
|
|
|
|
leif1981
Newbie
Offline
Activity: 29
Merit: 0
|
|
July 23, 2013, 01:21:16 AM |
|
Thanks
How to on Centos 5?
|
|
|
|
relm9
|
|
July 23, 2013, 02:32:05 AM |
|
For comparison: 7 cores of an i7 930 get ~2100pps on Debianx64. Core2Duo 2.13GHz gets ~600pps on Win7 x64. Interestingly about the same performance per core although the i7 should be a faster. I set the sievesize of the i7 to 4096000 and the C2D to 2048000, not sure if those are good values, in testnet they seemed pretty fine. i7 got no blocks for over a week while the Core2Duo just found one tonight, so it's still got a lot to do with luck. edit: Great, now you replaced your question with nvm and my post is pretty much useless. i7 930 doesn't have 7 cores, it has 4 cores plus 4 HT threads.
|
|
|
|
cryptohunter
Legendary
Offline
Activity: 2100
Merit: 1167
MY RED TRUST LEFT BY SCUMBAGS - READ MY SIG
|
|
July 23, 2013, 04:25:03 AM |
|
followed all of this but now the dual xeon l5420 is only getting 8 PPS
what could be wrong with that? should be more like 8000 not 8 right?
|
|
|
|
|
arnuschky
|
|
July 23, 2013, 06:40:31 AM |
|
followed all of this but now the dual xeon l5420 is only getting 8 PPS
what could be wrong with that? should be more like 8000 not 8 right?
Many people are currently reporting very low PPS. There seems to be a problem with the network. Wait for mikaelh to fix it, then redownload & recompile.
|
|
|
|
eule
|
|
July 23, 2013, 07:01:26 AM |
|
i7 930 doesn't have 7 cores, it has 4 cores plus 4 HT threads.
You're right of course, thanks! I use genproclimit 6 or 7 though in Linux or the CPU won't be used fully, that's what made me think 8 cores. My pps went far down too btw, chainspermin is stable.
|
|
|
|
rethaw
|
|
July 23, 2013, 09:47:52 AM |
|
If I want to use the new fix you posted here: https://bitbucket.org/mikaelh/primecoin-hpI am using these directories from the wget HP6 download: /primecoin/src folder and did sudo mv primecoind /usr/local/bin/. Do I just git clone the url and sudo mv primecoind /usr/local/bin/. or how would you go about upgrading it? git pull make -f makefile.unix primecoind stop sudo mv /usr/local/bin/primecoind /usr/local/bin/primecoind_723 sudo mv primecoind /usr/local/bin/primecoind primecoind --daemon
|
|
|
|
maco
|
|
July 23, 2013, 09:51:02 AM |
|
git pull make -f makefile.unix primecoind stop sudo mv /usr/local/bin/primecoind /usr/local/bin/primecoind_723 sudo mv primecoind /usr/local/bin/primecoind primecoind --daemon You are always there when quick help is needed. Thanks! Do I need make -f makefile.unix clean before hand? and during make -f makefile.unit (should I be at cd ) or cd ~/primecoin/src ?
|
|
|
|
rethaw
|
|
July 23, 2013, 09:52:55 AM |
|
git pull make -f makefile.unix primecoind stop sudo mv /usr/local/bin/primecoind /usr/local/bin/primecoind_723 sudo mv primecoind /usr/local/bin/primecoind primecoind --daemon You are always there when quick help is needed. Thanks! Do I need make -f makefile.unix clean before hand? and during make -f makefile.unit (should I be at cd ) or cd ~/primecoin/src ? You don't need a clean, and yes, in the src directory.
|
|
|
|
rethaw
|
|
July 23, 2013, 10:04:07 AM |
|
git pull make -f makefile.unix primecoind stop sudo mv /usr/local/bin/primecoind /usr/local/bin/primecoind_723 sudo mv primecoind /usr/local/bin/primecoind primecoind --daemon You are always there when quick help is needed. Thanks! Do I need make -f makefile.unix clean before hand? and during make -f makefile.unit (should I be at cd ) or cd ~/primecoin/src ? You don't need a clean, and yes, in the src directory. I tried with both primecoind running and primecoind stopped but I get the following during make. /usr/bin/ld: cannot find -lminiupnpc collect2: ld returned 1 exit status make: *** [primecoind] Error 1 make -f makefile.unix USE_UPNP=-
|
|
|
|
|
rethaw
|
|
July 23, 2013, 10:11:51 AM |
|
git pull fatal: Not a git repository (or any of the parent directories): .git I tried even using git pull https://bitbucket.org/mikaelh/primecoin-hp.git and git pull alone for the make part it compiled too fast and got this error: make -f makefile.unix USE_UPNP=- /bin/sh ../share/genbuild.sh obj/build.h fatal: Not a git repository (or any of the parent directories): .git Run git clone in a fresh directory.
|
|
|
|
woodrake
|
|
July 23, 2013, 07:35:07 PM |
|
Thanks for the comprehensive instructions. I have got a bit stuck though and I'm hoping someone can help. I got HP5 working and am now trying HP7. I am trying under three different distros: Debian 6, Ubuntu 12.4 and Centos 6. I was getting some failures due to this bug, but got around that using the recommended s/TIME_UTC/TIME_UTC_/g. CentOSThis one fails not finding lib boost I think, but the latest versions are installed: # make -f makefile.unix USE_UPNP=- /bin/sh ../share/genbuild.sh obj/build.h which: no git in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin-0.1.1-hp7/src -I/root/primecoin-0.1.1-hp7/src/obj -I/usr/local/include -DUSE_IPV6=1 -I/root/primecoin-0.1.1-hp7/src/leveldb/include -I/root/primecoin-0.1.1-hp7/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o primecoind leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o obj/prime.o obj/checkpointsync.o -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l gmp -Wl,-Bdynamic -l z -l dl -l pthread /root/primecoin-0.1.1-hp7/src/leveldb/libleveldb.a /root/primecoin-0.1.1-hp7/src/leveldb/libmemenv.a /usr/bin/ld: cannot find -lboost_thread collect2: ld returned 1 exit status make: *** [primecoind] Error 1
UbuntuCompiler crashes without any particularly helpful info: # make -f makefile.unix /bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin-0 p7/src -I/root/primecoin-0.1.1-hp7/src/obj -I/usr/local/include -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/primecoin-0.1.1-hp7/src/leveldb/include -I/root/primecoi 1-hp7/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/main.d -o obj/m main.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make: *** [obj/main.o] Error 4
DebianSimilar to Ubuntu in terms of compiler crash, but the message about git might be helpful to someone more clueful than me? # make -f makefile.unix /bin/sh ../share/genbuild.sh obj/build.h fatal: Not a git repository (or any of the parent directories): .git g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin-0.1.1-hp7/src -I/root/primecoin-0.1.1-hp7/src/obj -I/usr/local/include -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/primecoin-0.1.1-hp7/src/leveldb/include -I/root/primecoin-0.1.1-hp7/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/main.d -o obj/main.o main.cpp g++: Internal error: Killed (program cc1plus) Please submit a full bug report. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make: *** [obj/main.o] Error 1
Any suggestions welcome! Kate. PS. I expect my guys will fix this in the next day or so but I was having a go while they are busy with the main mining estate. Since I've got stuck I expect others will too!
|
|
|
|
Tamis
|
|
July 23, 2013, 07:49:11 PM |
|
Have no problem compiling on Ubuntu 13.04 x 64... Compiled today several time without a flaw
|
|
|
|
JohnDorien
|
|
July 23, 2013, 10:22:18 PM |
|
Thanks for the comprehensive instructions. I have got a bit stuck though and I'm hoping someone can help. I got HP5 working and am now trying HP7. I am trying under three different distros: Debian 6, Ubuntu 12.4 and Centos 6. I was getting some failures due to this bug, but got around that using the recommended s/TIME_UTC/TIME_UTC_/g. CentOSThis one fails not finding lib boost I think, but the latest versions are installed: # make -f makefile.unix USE_UPNP=- /bin/sh ../share/genbuild.sh obj/build.h which: no git in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin-0.1.1-hp7/src -I/root/primecoin-0.1.1-hp7/src/obj -I/usr/local/include -DUSE_IPV6=1 -I/root/primecoin-0.1.1-hp7/src/leveldb/include -I/root/primecoin-0.1.1-hp7/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o primecoind leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o obj/prime.o obj/checkpointsync.o -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l gmp -Wl,-Bdynamic -l z -l dl -l pthread /root/primecoin-0.1.1-hp7/src/leveldb/libleveldb.a /root/primecoin-0.1.1-hp7/src/leveldb/libmemenv.a /usr/bin/ld: cannot find -lboost_thread collect2: ld returned 1 exit status make: *** [primecoind] Error 1
UbuntuCompiler crashes without any particularly helpful info: # make -f makefile.unix /bin/sh ../share/genbuild.sh obj/build.h g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin-0 p7/src -I/root/primecoin-0.1.1-hp7/src/obj -I/usr/local/include -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/primecoin-0.1.1-hp7/src/leveldb/include -I/root/primecoi 1-hp7/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/main.d -o obj/m main.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make: *** [obj/main.o] Error 4
DebianSimilar to Ubuntu in terms of compiler crash, but the message about git might be helpful to someone more clueful than me? # make -f makefile.unix /bin/sh ../share/genbuild.sh obj/build.h fatal: Not a git repository (or any of the parent directories): .git g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/primecoin-0.1.1-hp7/src -I/root/primecoin-0.1.1-hp7/src/obj -I/usr/local/include -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/primecoin-0.1.1-hp7/src/leveldb/include -I/root/primecoin-0.1.1-hp7/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/main.d -o obj/main.o main.cpp g++: Internal error: Killed (program cc1plus) Please submit a full bug report. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make: *** [obj/main.o] Error 1
Any suggestions welcome! Kate. PS. I expect my guys will fix this in the next day or so but I was having a go while they are busy with the main mining estate. Since I've got stuck I expect others will too! the Ubuntu problem is caused by too little RAM. I think the debian error has the same cause.
|
|
|
|
relm9
|
|
July 23, 2013, 10:41:44 PM |
|
For CentOS if you installed Boost from an rpm distribution you'll probably have to edit the makefile to include boost_thread-mt instead of boost_thread. Or just do this, as the guide points out: make -f makefile.unix BOOST_LIB_SUFFIX=-mt
|
|
|
|
monsterer
Legendary
Offline
Activity: 1008
Merit: 1007
|
|
July 24, 2013, 06:57:36 AM |
|
This guide is awesome; I tried to get this running on centos myself for ages without success; now it's up and running!
One quick question: how do I tell how many coins I've mined?
|
|
|
|
Tamis
|
|
July 24, 2013, 09:40:01 AM Last edit: July 24, 2013, 10:51:26 AM by Tamis |
|
One quick question: how do I tell how many coins I've mined?
Hi, just watch 'primecoind getbalance' or 'primecoind listtransactions' or both... I don't know if immature coins are listed though. edit : primecoind listaccounts will show all coins immature or not.
|
|
|
|
|