Donations to open source a GPU Protoshares miner (PTS)

Started by dga, January 07, 2014, 11:59:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aakashkumar

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  :)

svyatoslav

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 [url="//memorycoin.info"]memorycoin.info[/url]

MMC: M8DJnqMBuW6QGfoprDDr4jMgCnDBuyChfq

5chdn

Ok i added the 32 bit libs on 64bit arch

working now, thanks!

betax

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
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

5chdn

#54
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:

$ 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

betax

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
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

dga

Quote from: donschoe on January 08, 2014, 02:59:47 PM
Quote from: dga on January 08, 2014, 01:41:08 PM
Quote from: donschoe on January 08, 2014, 01:07:20 PM
$ 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:

$ 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?

dga

Quote from: daem0n 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
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

daem0n

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

jagali2014


5chdn

Quote from: dga on January 08, 2014, 01:41:08 PM
Quote from: donschoe on January 08, 2014, 01:07:20 PM
$ 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:

$ 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 :)

betax

[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

dga

Quote from: betax 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

No, that's about what you should expect.

Glad it's working.

betax

Got it working in an ubuntu instance but only getting 540 c/m "Kepler" GK104 / obviously I am doing something wrong
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

dga

Quote from: jbutta2k13 on January 08, 2014, 06:02:29 AM
Quote from: jbutta2k13 on January 08, 2014, 01:54:45 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

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