Pages:
Author

Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS) - page 29. (Read 88579 times)

full member
Activity: 201
Merit: 100

edit: nevermind..
sr. member
Activity: 378
Merit: 255
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.
sr. member
Activity: 401
Merit: 250
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 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.
sr. member
Activity: 378
Merit: 255
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 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!
newbie
Activity: 42
Merit: 0
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 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.
sr. member
Activity: 378
Merit: 255
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.
member
Activity: 229
Merit: 10
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!
sr. member
Activity: 378
Merit: 255
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 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.
member
Activity: 79
Merit: 10
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 for instructions.
make: *** [obj/init.o] Error 4
sr. member
Activity: 378
Merit: 255
Thanks for another tip... someone!

Code:
        "address" : "ANgVru19oYJU86NdGYTSVJSY8Y1MiCPkze",
        "category" : "receive",
        "amount" : 8.81000000,
sr. member
Activity: 378
Merit: 255
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.
sr. member
Activity: 378
Merit: 255
Does " Primecoin server starting" take a while for you guys to?

Sometimes it just doesn't clear a line, try hitting enter and you should get your prompt back. As the blockchain grows it may take longer to be ready to mine.
member
Activity: 229
Merit: 10
Yes I believe so (to both), what linux distribution did you pick? I'll try again on a new instance
legendary
Activity: 1456
Merit: 1000
Does " Primecoin server starting" take a while for you guys to?
sr. member
Activity: 378
Merit: 255
Did the build finish correctly? Are you still in the src directory?

My guess is make exited with an error.
member
Activity: 229
Merit: 10
Update:

4x DO 1cpu/512mb since yesterday (@ 28 hrs) = 1 block | orphaned

Agree with ninjarobot. Going to cut back to one mining droplet.

For comparison - Both running @ 48 hrs, blocks were found in the last 18hrs:

1st: i5 2500k @ 3 cores = 1 block | mined
2nd: G2020 @ 2 cores = 1 block | mined

We desperately need an optimized (shared) miner...


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'

It says "mv: cannot stat âprimecoindâ: No such file or directory" when I get to the "sudo mv primecoind /usr/local/bin/." step.

Any ideas?
sr. member
Activity: 378
Merit: 255
Update:

4x DO 1cpu/512mb since yesterday (@ 28 hrs) = 1 block | orphaned

Agree with ninjarobot. Going to cut back to one mining droplet.

For comparison - Both running @ 48 hrs, blocks were found in the last 18hrs:

1st: i5 2500k @ 3 cores = 1 block | mined
2nd: G2020 @ 2 cores = 1 block | mined

We desperately need an optimized (shared) miner...


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'
hero member
Activity: 644
Merit: 501
Update:

4x DO 1cpu/512mb since yesterday (@ 28 hrs) = 1 block | orphaned

Agree with ninjarobot. Going to cut back to one mining droplet.

For comparison - Both running @ 48 hrs, blocks were found in the last 18hrs:

1st: i5 2500k @ 3 cores = 1 block | mined
2nd: G2020 @ 2 cores = 1 block | mined

We desperately need an optimized (shared) miner...
hero member
Activity: 812
Merit: 1000
Only 8-15 PPS. I wonder if 2x5$ better than 10$ month VPS?

2x$5 will be better, specially if you manage to optimize your miner.
If I can manage do it I'll post a detailed step by step guide for noobs like me.
newbie
Activity: 50
Merit: 0
so i have been mining all day on a digital ocean instance and two other computers and have not gotten a thing . from your guy's experience so far, does this sound right or am I probably doing something wrong ?
Pages:
Jump to: