Bitcoin Forum
June 17, 2024, 03:16:58 AM *
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 »
  Print  
Author Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS)  (Read 88502 times)
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:27:42 AM
 #181

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.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.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.

BTC-Market
Member
**
Offline Offline

Activity: 229
Merit: 10



View Profile
July 11, 2013, 01:35:27 AM
 #182

Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance

It's the 13.04x64 instance. You should be able to see the file in the src if make finished successfully.

Ok it's working now, I guess the make didn't complete last time. Thanks!
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:37:18 AM
 #183

Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance

It's the 13.04x64 instance. You should be able to see the file in the src if make finished successfully.

Ok it's working now, I guess the make didn't complete last time. Thanks!

Let us know what speed you get, I'll add it to the OP.

Cyberclones
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 11, 2013, 01:40:55 AM
 #184

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.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.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.
How do you remove the -O2 flag? Sorry complete Linux noob here.
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 01:57:55 AM
 #185

I always get this when I try compiling.  Any tips?  

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.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.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.
How do you remove the -O2 flag? Sorry complete Linux noob here.

Try this, I haven't tried it yet.

sed "s/\-O2//" makefile.unix > makefile.unix.new
make -f makefile.unix.new USE_UPNP=-

Mind you this removes some optimizations, its better to use an instance with more memory... and it looks like the new code can take advantage of more headroom!

Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 01:59:40 AM
 #186

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.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.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.

I deleted -O2, but run into the same error still.

Anyone want to put up a dropbox link to a primecoind? The direct link to a precompiled binary in a previous post is no longer working.
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 02:01:03 AM
 #187

Its a bad idea to grab someone else's precompiled binary. I'm sure you can find one, but my guess is Sunny will upload one soon.

superfluouso
Full Member
***
Offline Offline

Activity: 201
Merit: 100


View Profile
July 11, 2013, 02:01:41 AM
 #188


edit: nevermind..
notlist3d
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
July 11, 2013, 02:02:09 AM
 #189

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.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.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.

When you say larger instance are u refering to " 1GB / 1 CPU 30GB SSD Disk 2TB Transfer" or which droplet are u making?
OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 11, 2013, 02:02:15 AM
 #190


Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance.

Code:
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Couldn't find any package by regex 'libdb5.3++-dev'
I'm using 13.4 64bit droplets too Sad
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 02:05:01 AM
 #191


Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance.

Code:
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Couldn't find any package by regex 'libdb5.3++-dev'
I'm using 13.4 64bit droplets too Sad

Try apt-get update?

libdb5.3++-dev - Berkeley v5.3 Database Libraries for C++ [development]

Otherwise you can use another version

libdb5.1++-dev or libdb4.8++-dev

Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 02:05:36 AM
 #192

Its a bad idea to grab someone else's precompiled binary.

Yeah I'm aware of that. I suppose I could fire up a droplet with 2GB of RAM temporarily, it's only 0.03 an hour. Wink

So it's definitely an out-of-memory issue?
Cyberclones
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 11, 2013, 02:12:16 AM
 #193

Its a bad idea to grab someone else's precompiled binary.

Yeah I'm aware of that. I suppose I could fire up a droplet with 2GB of RAM temporarily, it's only 0.03 an hour. Wink

So it's definitely an out-of-memory issue?
I'm thinking of going this route too as I can't get it to work either.
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 02:22:17 AM
 #194

Its a bad idea to grab someone else's precompiled binary.

Yeah I'm aware of that. I suppose I could fire up a droplet with 2GB of RAM temporarily, it's only 0.03 an hour. Wink

So it's definitely an out-of-memory issue?
I'm thinking of going this route too as I can't get it to work either.

So far, this is the only tested way to get the optimized miner in this thread. And since it scales with core count you can get huge pps on an 8 core instance...

notlist3d
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
July 11, 2013, 02:25:34 AM
 #195

Do you have to pay the monthly and hourly cost?   What are the two costs?
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 02:25:47 AM
 #196

I went ahead add set up a 2GB unit and it's compiling happily. Thanks.
MagicSata
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 11, 2013, 02:31:07 AM
 #197

For anyone not wanting to give out creditcard details or if you simply don't have one:
1. go to https://bancore.com/
2. sign up
3. generate a card
4. use your new virtual credit card info for registering your droplets



AUrXSodpcj5LKio1v5jWfu6ZXNAZbveU1h
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 02:36:38 AM
 #198

Do you have to pay the monthly and hourly cost?   What are the two costs?

The monthly cost is just the sum of the hourly costs, i.e.

.007 / hour * 24 hours / day * 30 days / month = $5.04 / month

OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 11, 2013, 02:36:50 AM
 #199


Today's update vastly improves mining. I'm getting up to 200 on the smallest instance, the large instance gets 1500+, I built it like this on the large instance.

Code:
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Couldn't find any package by regex 'libdb5.3++-dev'
I'm using 13.4 64bit droplets too Sad

Try apt-get update?

libdb5.3++-dev - Berkeley v5.3 Database Libraries for C++ [development]

Otherwise you can use another version

libdb5.1++-dev or libdb4.8++-dev

Yeah, it worked with 5.1. Thanks.
But my second droplet, 5.3 is ok, after that makefile failed. Don't know why >"<
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 02:39:10 AM
 #200

Yeah, it worked with 5.1. Thanks.
But my second droplet, 5.3 is ok, after that makefile failed. Don't know why >"<

Me neither, but glad its working now!

Anyone care to post their pps? I'm getting around 150 on the smalls and 1500 on the 8-core.

EDIT: I should mention you will end up charging your card sooner if you use a larger instance.

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 »
  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!