Ok i have this code running on ubuntu ami from amazon. using c1.extralarge.. or what ever its called..
https://github.com/Chemisist/primecoinIm getting about 1600pps out of this box.. and it costs are about .50 an hour.. just a fyi to all..
This is a pretty bad result for $0.5/hour.
You should look for other providers.