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

0 Members and 1 Guest are viewing this topic.

Offline aakashkumar

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #58 on: January 08, 2014, 05:36:45 pm »
Good Work .
I would like to suggest you to build a gpu Miner and  take about  1% donation (like yvg1900) with every Worker . this would be good for you

We are waiting For Your Release  :)

Offline svyatoslav

  • Full Member
  • ***
  • Posts: 60
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #57 on: January 08, 2014, 05:35:23 pm »
I'm facing this error:

using SSE4
Segmentation fault (core dumped)


my GPU is Quadro 5000 and CPU is Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz

Cuda 5.5
Donate memorycoin.info

MMC: M8DJnqMBuW6QGfoprDDr4jMgCnDBuyChfq

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #56 on: January 08, 2014, 05:32:40 pm »
Ok i added the 32 bit libs on 64bit arch

working now, thanks!

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #55 on: January 08, 2014, 05:29:24 pm »
make sure you have the paths set

export PATH=/usr/local/cuda-5.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:$LD_LIBRARY_PATH
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #54 on: January 08, 2014, 05:23:05 pm »
Dude, what software did you create there! I already fixed the problem above, but now tell me:

sh: cicc: command not found

Edit: fixed that already, now tell me this:

Code: [Select]
$ make -f makefile.unix
nvcc -O3 -c -arch=sm_30 -o obj/gpuhash.o gpuhash.cu
cicc: error while loading shared libraries: libnvvm.so.2: wrong ELF class: ELFCLASS32
make: *** [obj/gpuhash.o] Error 127

 >:( :D ;D
« Last Edit: January 08, 2014, 05:26:24 pm by donschoe »

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #53 on: January 08, 2014, 05:08:28 pm »
Hi,

If you want to check it out in AWS try ami-c4bfd9f4 in Oregon.

sudo nano -w /etc/rc.local

to change start up.

 /bin/screen -dmS miner2 bash -c 'until /home/ubuntu/cudapts/src/cudapts <youraddress> 0, 1  && false; do echo "Error, restarting...";done'

this points at beeer as per hardcoded in code

and change yam.cfg in /home/ubuntu for your ypool cpu mining

on start sudo su to see your miners

screen -r miner1
screen -r miner2

This is enough for proof of work :)

If you like this please buy me a beer

PhtFxxNWAHgwzgwAR8vPGJA9soC5qX4SkS
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #52 on: January 08, 2014, 03:43:02 pm »
Code: [Select]
$ make -f makefile.unix
nvcc -O3 -c -arch=sm_30 -o obj/gpuhash.o gpuhash.cu
nvcc fatal   : Path to libdevice library not specified
make: *** [obj/gpuhash.o] Error 255

Any idea?

Urk, wow.  I've never seen that compile error.  Is your LD_LIBRARY_PATH set to include the cuda libs?  Often /usr/local/cuda-5.5/lib64

But I think this is a CUDA install problem.  Googling it suggests that the line

NVVMIR_LIBRARY_DIR = /usr/lib/nvidia-cuda-toolkit/libdevice
to /etc/nvcc.profile

fixed it for some people.

But that may not apply to you.  Are you using Debian?  If so, give that a shot, correcting the path as needed for the location of the cuda toolkit.

It's gentoo. I found them in /opt/cuda/*

Now:

Code: [Select]
$ make -f makefile.unix
nvcc -O3 -c -arch=sm_30 -o obj/gpuhash.o gpuhash.cu
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/stddef.h:214:32: fatal error: crt/device_runtime.h: No such file or directory
compilation terminated.
make: *** [obj/gpuhash.o] Error 1

Keeping you busy :)

Oh gentoo.  Um. 

The sledgehammer might be to try upgrading to gcc 4.8, but I realize that's a royal pain.  You're using the latest CUDA 5.5?

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #51 on: January 08, 2014, 03:34:15 pm »
Instaled Ubuntu 12.04.3, libboost,  Yasm and CUDA

ERRO

g++ -c -O2 -fpermissive -o obj/cpuid.o cpuid.c
make: nvcc: Command not found

You don't have nvcc in your path.  You'll need to add it to your PATH and the path to the cuda libraries to your LD_LIBRARY_PATH.

if CUDADIR is the path to where you have cuda installed, in bash, do:

export PATH=$PATH:CUDADIR/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:CUDADIR/lib64

Offline daem0n

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #50 on: January 08, 2014, 03:23:48 pm »
Instaled Ubuntu 12.04.3, libboost,  Yasm and CUDA

ERRO

g++ -c -O2 -fpermissive -o obj/cpuid.o cpuid.c
yasm -f elf64 -o obj/sha512_avx.o intel/sha512_avx.asm
yasm -f elf64 -o obj/sha512_sse4.o intel/sha512_sse4.asm
g++ -c -O2 -fpermissive -o obj/sha512.o sha512.c
g++ -c -O1 -fpermissive -o obj/sph_sha2.o sph_sha2.c
g++ -c -O1 -fpermissive -o obj/sph_sha2big.o sph_sha2big.c
nvcc -O3 -c -arch=sm_30 -o obj/gpuhash.o gpuhash.cu
make: nvcc: Command not found
make: ** [obj/gpuhash.o] Erro 127

Offline jagali2014

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #49 on: January 08, 2014, 03:11:47 pm »
Did you install in AWS g2.2xlarge?

Offline 5chdn

  • Sr. Member
  • ****
  • Posts: 487
  • i wonder how many chars i can put in this field 50
    • View Profile
    • Votesapp
  • GitHub: 5chdn
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #48 on: January 08, 2014, 02:59:47 pm »
Code: [Select]
$ make -f makefile.unix
nvcc -O3 -c -arch=sm_30 -o obj/gpuhash.o gpuhash.cu
nvcc fatal   : Path to libdevice library not specified
make: *** [obj/gpuhash.o] Error 255

Any idea?

Urk, wow.  I've never seen that compile error.  Is your LD_LIBRARY_PATH set to include the cuda libs?  Often /usr/local/cuda-5.5/lib64

But I think this is a CUDA install problem.  Googling it suggests that the line

NVVMIR_LIBRARY_DIR = /usr/lib/nvidia-cuda-toolkit/libdevice
to /etc/nvcc.profile

fixed it for some people.

But that may not apply to you.  Are you using Debian?  If so, give that a shot, correcting the path as needed for the location of the cuda toolkit.

It's gentoo. I found them in /opt/cuda/*

Now:

Code: [Select]
$ make -f makefile.unix
nvcc -O3 -c -arch=sm_30 -o obj/gpuhash.o gpuhash.cu
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/stddef.h:214:32: fatal error: crt/device_runtime.h: No such file or directory
compilation terminated.
make: *** [obj/gpuhash.o] Error 1

Keeping you busy :)

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #47 on: January 08, 2014, 02:45:35 pm »
Excellent thanks!
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #46 on: January 08, 2014, 02:28:24 pm »
Got it working in an ubuntu instance but only getting 540 c/m “Kepler” GK104 / obviously I am doing something wrong

No, that's about what you should expect.

Glad it's working.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #45 on: January 08, 2014, 02:26:36 pm »
Got it working in an ubuntu instance but only getting 540 c/m “Kepler” GK104 / obviously I am doing something wrong
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline dga

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Donations to open source a GPU Protoshares miner (PTS)
« Reply #44 on: January 08, 2014, 01:59:37 pm »
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

1)  I've added osfinder.sh to the git repository.  Please re-pull.

2)  To the person trying on cygwin, I've removed the need for syscall.h in the most recent commit.  Go ahead and update and try again -- I'm not able to test on Cygwin, though, so it's likely you'll encounter further errors.

  -Dave