Author Topic: Donations to open source a GPU Protoshares miner (PTS)  (Read 103584 times)

0 Members and 1 Guest are viewing this topic.

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #28 on: January 08, 2014, 11:44:58 am »
Hi Dave, is there anyway to control intensity (utilization) of the card like cgminer? Example I wanna watch youtube video while mine at same time. Now very jerky.

Not yet.  I'm creating a wishlist - see TODO in the git repository.

Also, for everyone:

I've restructured the git repository, added a better README, and simplified the command line options.  You'll find it happier to use now than last night.

./cudapts <paymentaddr>

is enough to get most people running.  If you can build it - which is still the tricky part. :)

  -Dave

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #27 on: January 08, 2014, 11:43:33 am »
I managed to compile it but got this error when try to run it.

Initializing.  Device has 965951488 free of 1341325312 total bytes of memory
Could not mmap hugepage, reverting to malloc: Cannot allocate memory

You can ignore that error - it was probably working. :)  I've committed an update that gets rid of it.  It's just informational (and unimportant) with the way the code works now.

  -Dave

Hi Dave, with that error the miner wasn't working, not doing anything. I made a change in makefile.unix line 142

nvcc -O3 -c -arch=sm_35 -o $@ $<

changed to

nvcc -O3 -c -arch=sm_20 -o $@ $<

Recompiled and now running flawlessly no errors. I just tried my luck with that change to reflect the compute capability of my card. Mine is gtx 570. Getting about 670 c/m.

Ahhhhh!  Thank you - I'm really sorry, I left that in for testing.  Your change was right.  I've updated the makefile to use sm_30 as a default and will add this to the readme for now.

Glad it's working!  That's a great rate from an older card.

Offline ryen123

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #26 on: January 08, 2014, 11:29:41 am »
Hi Dave, is there anyway to control intensity (utilization) of the card like cgminer? Example I wanna watch youtube video while mine at same time. Now very jerky.
Latest by GawMiners | DigitalOcean Sign-Up Receive $10 Credit
Singapore P2Pool: DarkCoin

Offline ryen123

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #25 on: January 08, 2014, 11:26:56 am »
I managed to compile it but got this error when try to run it.

Initializing.  Device has 965951488 free of 1341325312 total bytes of memory
Could not mmap hugepage, reverting to malloc: Cannot allocate memory

You can ignore that error - it was probably working. :)  I've committed an update that gets rid of it.  It's just informational (and unimportant) with the way the code works now.

  -Dave

Hi Dave, with that error the miner wasn't working, not doing anything. I made a change in makefile.unix line 142

nvcc -O3 -c -arch=sm_35 -o $@ $<

changed to

nvcc -O3 -c -arch=sm_20 -o $@ $<

Recompiled and now running flawlessly no errors. I just tried my luck with that change to reflect the compute capability of my card. Mine is gtx 570. Getting about 670 c/m.
Latest by GawMiners | DigitalOcean Sign-Up Receive $10 Credit
Singapore P2Pool: DarkCoin

Offline noobster

  • Jr. Member
  • **
  • Posts: 35
  • cryptocurrencies vs. fed
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #24 on: January 08, 2014, 11:15:52 am »
could this miner be emulated on this: http://code.google.com/p/gpuocelot/ ?
BTC: 15mey7vTkkvHm4UoZgVEP4Yo3REDpH87KW
PTS: PkzbnN7Nkv6TcqJuNjpcLfmPqpPUphpu5W
drop some =)

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #23 on: January 08, 2014, 11:12:47 am »
I have added a record to our transaction log for your payment, provide a PTS address and I will pay out once we have confirmation from the community that it works.

https://docs.google.com/a/invictus-innovations.com/spreadsheet/ccc?key=0AqTwk-e7yzJydFZ3bVVWT0o1OUwzXzdESHFBY0FkUWc&usp=drive_web#gid=0

Thanks!

Pr8cnhz5eDsUegBZD4VZmGDARcKaozWbBc

  -Dave

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #22 on: January 08, 2014, 11:11:10 am »
I managed to compile it but got this error when try to run it.

Initializing.  Device has 965951488 free of 1341325312 total bytes of memory
Could not mmap hugepage, reverting to malloc: Cannot allocate memory

You can ignore that error - it was probably working. :)  I've committed an update that gets rid of it.  It's just informational (and unimportant) with the way the code works now.

  -Dave

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #21 on: January 08, 2014, 11:09:19 am »
i am getting the following error

balu@jagali:~/cudapts$ make -f makefile.unix
make: ./osfinder.sh: Command not found
make: ./osfinder.sh: Command not found
make: ./osfinder.sh: Command not found
g++ -c -O2  -fpermissive -o obj/cpuid.o cpuid.c
yasm -f elf64 -o obj/sha512_avx.o intel/sha512_avx.asm
make: yasm: Command not found
make: *** [obj/sha512_avx.o] Error 127

You need to install yasm.  On Ubuntu, apt-get install yasm.  On CentOS, yum install yasm.

  -Dave

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #20 on: January 08, 2014, 10:39:31 am »
ryen what OS? and care to provide steps? thanks
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline ryen123

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #19 on: January 08, 2014, 10:34:17 am »
I managed to compile it but got this error when try to run it.

Initializing.  Device has 965951488 free of 1341325312 total bytes of memory
Could not mmap hugepage, reverting to malloc: Cannot allocate memory
Latest by GawMiners | DigitalOcean Sign-Up Receive $10 Credit
Singapore P2Pool: DarkCoin

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
« Last Edit: January 08, 2014, 10:38:24 am by betax »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #17 on: January 08, 2014, 10:20:44 am »
Hi in CentOs 6 you will need to:

Install Yasm:  https://trac.ffmpeg.org/wiki/CentosCompilationGuide

The dependency of osfinder is here:

wget https://raw.github.com/thbaumbach/ptsminer/master/src/osfinder.sh
chmod +x osfinder.sh   

And finally install Cuda
http://aspratyush.wordpress.com/2012/05/06/install-nvidia-cuda-on-centos-6/

I am installing now Cuda.. I will let you know hot it goes.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline jbutta2k13

  • Full Member
  • ***
  • Posts: 51
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #16 on: January 08, 2014, 06:02:29 am »
I have attempted to compile the code.  However, I get the following errors under cygwin 64..
 
make -f makefile.mingw64
yasm -f win64 -D WINABI -o obj/sha512_avx.o_asm intel/sha512_avx.asm
yasm -f win64 -D WINABI -o obj/sha512_sse4.o_asm intel/sha512_sse4.asm
g++ -c -O2 -march=athlon64 -mmmx -msse -msse2   -fpermissive -o obj/sha512.o_amd                               sha512.c
g++ -c -O1 -march=athlon64 -mmmx -msse -msse2   -fpermissive -o obj/sph_sha2.o_a                              md sph_sha2.c
g++ -c -O1 -march=athlon64 -mmmx -msse -msse2   -fpermissive -o obj/sph_sha2big.                              o_amd sph_sha2big.c
g++ -c -O2 -march=athlon64 -mmmx -msse -msse2  -mthreads -w -Wall -Wextra -Wform                              at -Wformat-security -Wno-unused-parameter  -DWIN32 -D_WINDOWS -DBOOST_THREAD_US                              E_LIB -DBOOST_SPIRIT_THREADSAFE  -I"/home/jng/cudapts-master/cudapts-master" -I"                              /usr/local/include" -o obj/main_poolminer.o_amd main_poolminer.cpp
main_poolminer.cpp:18:25: fatal error: sys/syscall.h: No such file or directory
 #include <sys/syscall.h>
                         ^
compilation terminated.
makefile.mingw64:66: recipe for target 'obj/main_poolminer.o_amd' failed
make: *** [obj/main_poolminer.o_amd] Error 1

i dont see a file in the github for syscall.h...also, how do I find the boost suffix?,  I am almost there, so your help is appreciated.


I am unable to build this as well I keep getting errors with CentOS and osfinder.sh..It seems to no be in the git golder so I downloaded another one but it still doesnt work.  I get errors just trying to run the scrip by it self ..I also tried the no chrono version.  THat seems to go much further but still fails. 
Any help and I will make a contribution to your effort. Thanks


Offline bytemaster

Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #15 on: January 08, 2014, 05:24:46 am »
I have added a record to our transaction log for your payment, provide a PTS address and I will pay out once we have confirmation from the community that it works.

https://docs.google.com/a/invictus-innovations.com/spreadsheet/ccc?key=0AqTwk-e7yzJydFZ3bVVWT0o1OUwzXzdESHFBY0FkUWc&usp=drive_web#gid=0
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #14 on: January 08, 2014, 05:22:26 am »
DGA,
   Around here we don't do "contracts" but operate on the basis of trust and informal/non-binding agreements.  My entire trust with the community and valuation of PTS, AGS, and future in the bitcoin space is on the line and I am very well known.   So that is more of a guarantee than any signed contract, it is in my best interest to do right by everyone I deal with.
 
   It is nice that it is based on ptsminer so does that mean it works with standard pools?

   Post the code and when I hear feedback from those on the forum that it works I will pay you 160 PTS. 

Dan
   

ponder.

Done.

It's on github now.

Thanks, It looks like people are attempting to build it!   
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.