Pages:
Author

Topic: [ANNOUNCE] Tenebrix, a CPU-friendly, GPU-hostile cryptocurrency - page 6. (Read 127234 times)

hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
1) PoW will be updated as hardware grows bigger...cache.

2) The point is not to make implementation of hardware-accelerated solution impossible (You can implement TBX miner in OpenCL, ArtForz already tested it, see the "Tenebrix scaling questions" thread), but to make it uneconomical (If your wonderful hardware-cruncher costs 700$ and only marginally outperforms a cpu  which costs $100, you loose the race)

Scrypt was specifically designed to be uneconomical and painful in GPU and FPGA and, amazingly, it really is
Sorry, I am not native English. What they mean here words "PoW" and "Scrypt" (not "script") ?
Scrypt is a type of cryptography. And in this context, PoW means Proof of Work (more commonly though, it means Prisoner of War, like a soldier that is captured by the enemy during an attack).
hero member
Activity: 560
Merit: 501
1) PoW will be updated as hardware grows bigger...cache.

2) The point is not to make implementation of hardware-accelerated solution impossible (You can implement TBX miner in OpenCL, ArtForz already tested it, see the "Tenebrix scaling questions" thread), but to make it uneconomical (If your wonderful hardware-cruncher costs 700$ and only marginally outperforms a cpu  which costs $100, you loose the race)

Scrypt was specifically designed to be uneconomical and painful in GPU and FPGA and, amazingly, it really is
Sorry, I am not native English. What they mean here words "PoW" and "Scrypt" (not "script") ?
PoW - Proof of Work
Scrypt - The cryptographic algorithm that powers Tenebrix.
member
Activity: 138
Merit: 25
1) PoW will be updated as hardware grows bigger...cache.

2) The point is not to make implementation of hardware-accelerated solution impossible (You can implement TBX miner in OpenCL, ArtForz already tested it, see the "Tenebrix scaling questions" thread), but to make it uneconomical (If your wonderful hardware-cruncher costs 700$ and only marginally outperforms a cpu  which costs $100, you loose the race)

Scrypt was specifically designed to be uneconomical and painful in GPU and FPGA and, amazingly, it really is
Sorry, I am not native English. What they mean here words "PoW" and "Scrypt" (not "script") ?
full member
Activity: 128
Merit: 100
Well got slightly further and going very crazy in the process, make now gives:
Code:
[root@localhost cpu]# make
make  all-recursive
make[1]: Entering directory `/home/darren/Desktop/cpu'
Making all in compat
make[2]: Entering directory `/home/darren/Desktop/cpu/compat'
Making all in jansson
make[3]: Entering directory `/home/darren/Desktop/cpu/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/darren/Desktop/cpu/compat/jansson'
make[3]: Entering directory `/home/darren/Desktop/cpu/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/darren/Desktop/cpu/compat'
make[2]: Leaving directory `/home/darren/Desktop/cpu/compat'
make[2]: Entering directory `/home/darren/Desktop/cpu'
i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson /usr/bin/curl   -march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4 -mavx -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
In file included from ./curl/curl.h:34:0,
                 from cpu-miner.c:27:
./curl/curlbuild.h:1:27: fatal error: bits/wordsize.h: No such file or directory
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
Wow Shocked TBX is low at http://www.btc-e.com

Already moving some BTC over there to buy cheap Grin

Will you use the "GG lowest buy+profit strategy"?  Grin

Just buy 'em cheap  Grin
full member
Activity: 168
Merit: 100
Wow Shocked TBX is low at http://www.btc-e.com

Already moving some BTC over there to buy cheap Grin

Will you use the "GG lowest buy+profit strategy"?  Grin
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
Wow Shocked TBX is low at http://www.btc-e.com

Already moving some BTC over there to buy cheap Grin
sr. member
Activity: 305
Merit: 250
Trust but confirm!
Top Secret material, short video of LoLcUst inventing Tenebrix,
its captured moment when he got it to work properly. Nice job!

legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
Are you sure you installed libcurl?
full member
Activity: 128
Merit: 100
So I took a look for the libcurl file and found it in /usr/lib/libcurl.so.

I opened up the Makefile and replaced the two @LIBCURL@ and @LIBCURL_CPPFLAGS@ on the next line to both /usr/lib/libcurl.so however I'm still throwing up the same error.
Try replacing them with -lcurl
Little bit more success, close but no cigar.
In the Makefile:
Code:
minerd_LDADD = -lcurl
minerd_CPPFLAGS = -lcurl
(Lines 240/241?)

I end up getting when I use make
Code:
darren@File-Server:~/Desktop/cpu$ make
make  all-recursive
make[1]: Entering directory `/home/darren/Desktop/cpu'
Making all in compat
make[2]: Entering directory `/home/darren/Desktop/cpu/compat'
make[3]: Entering directory `/home/darren/Desktop/cpu/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/darren/Desktop/cpu/compat'
make[2]: Leaving directory `/home/darren/Desktop/cpu/compat'
make[2]: Entering directory `/home/darren/Desktop/cpu'
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -lcurl   -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -lcurl   -O3 -Wall -msse2 -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -lcurl   -O3 -Wall -msse2 -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
scrypt.c: In function ‘scanhash_scrypt’:
scrypt.c:427:3: warning: pointer targets in passing argument 2 of ‘scrypt_1024_1_1_256_sp’ differ in signedness [-Wpointer-sign]
scrypt.c:364:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’
scrypt.c:418:6: warning: unused variable ‘i’ [-Wunused-variable]
mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po
make[2]: *** No rule to make target `/usr/lib/libcurl.so', needed by `minerd'.  Stop.
make[2]: Leaving directory `/home/darren/Desktop/cpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/Desktop/cpu'
make: *** [all] Error 2

I wonder if I'm perpetually doomed for failure, in the mean time I found a precompiled one but it would be nice to know how to get these things going myself -_-
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
So I took a look for the libcurl file and found it in /usr/lib/libcurl.so.

I opened up the Makefile and replaced the two @LIBCURL@ and @LIBCURL_CPPFLAGS@ on the next line to both /usr/lib/libcurl.so however I'm still throwing up the same error.
Try replacing them with -lcurl
full member
Activity: 128
Merit: 100
So I took a look for the libcurl file and found it in /usr/lib/libcurl.so.

I opened up the Makefile and replaced the two @LIBCURL@ and @LIBCURL_CPPFLAGS@ on the next line to both /usr/lib/libcurl.so however I'm still throwing up the same error.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem.

I'm a complete Linux noob however I have libcurl installed
Code:
curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website.

Using ./autogen.sh on the cpuminer returns no errors
Using CFLAGS etc works
Make throws a few errors:
Code:
make[2]: Entering directory `/home/darren/Desktop/cpu'
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  @LIBCURL_CPPFLAGS@   -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory
make[2]: *** [minerd-cpu-miner.o] Error 1
make[2]: Leaving directory `/home/darren/Desktop/cpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/Desktop/cpu'
make: *** [all] Error 2

I'm not entirely sure what this means, if someone could help I'd appreciate it.

What I remember / wrote:

I finally got minerd compiled (ArtForz version)...

First I did an " sudo apt-get install libcurl4-openssl-dev" but I couldn't find the libcurl.so file.
After a search I found it was in /usr/lib

I changed both the @LIBCURL lines in makefile to /usr/lib/libcurl.so

Then I did "make"  and suddenly I had " minerd"   Grin


Another noob question:

How do I make a " batch"  file so I don't have to enter all the commands for minerd, every time I want to run it?
In DOS / Windows I know all this shit but in Linux? Learning...

Hashrate on my 1055T (@3.2Ghz) = 3.37 khash/s (x6 cores) Smiley
full member
Activity: 168
Merit: 100
I think also libssl-dev.

No, this is only required (along with some other stuff) for compiling the *coin client.

Ah ok right. But better to have it written here somewhere in the thread just in case someone looks for it Smiley
sr. member
Activity: 313
Merit: 251
Third score
I think also libssl-dev.

No, this is only required (along with some other stuff) for compiling the *coin client.
full member
Activity: 168
Merit: 100
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem.

I'm a complete Linux noob however I have libcurl installed
Code:
curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website.

Using ./autogen.sh on the cpuminer returns no errors
Using CFLAGS etc works
Make throws a few errors:
Code:
make[2]: Entering directory `/home/darren/Desktop/cpu'
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  @LIBCURL_CPPFLAGS@   -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory
make[2]: *** [minerd-cpu-miner.o] Error 1
make[2]: Leaving directory `/home/darren/Desktop/cpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/Desktop/cpu'
make: *** [all] Error 2
You need libcurl4-dev (or any of the packages it suggests)

I'm not entirely sure what this means, if someone could help I'd appreciate it.
You need package libcurl4-dev (or any of the packages it suggests)

I think also libssl-dev.
sr. member
Activity: 313
Merit: 251
Third score
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem.

I'm a complete Linux noob however I have libcurl installed
Code:
curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website.

Using ./autogen.sh on the cpuminer returns no errors
Using CFLAGS etc works
Make throws a few errors:
Code:
make[2]: Entering directory `/home/darren/Desktop/cpu'
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  @LIBCURL_CPPFLAGS@   -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory
make[2]: *** [minerd-cpu-miner.o] Error 1
make[2]: Leaving directory `/home/darren/Desktop/cpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/Desktop/cpu'
make: *** [all] Error 2
You need libcurl4-dev (or any of the packages it suggests)

I'm not entirely sure what this means, if someone could help I'd appreciate it.
You need package libcurl4-dev (or any of the packages it suggests)
full member
Activity: 128
Merit: 100
So I tried my hand at compiling the cpu-miner on Ubuntu 11.10 and ran into a little problem.

I'm a complete Linux noob however I have libcurl installed
Code:
curl 7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
And I created Jansson from the source provided on their website.

Using ./autogen.sh on the cpuminer returns no errors
Using CFLAGS etc works
Make throws a few errors:
Code:
make[2]: Entering directory `/home/darren/Desktop/cpu'
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  @LIBCURL_CPPFLAGS@   -O3 -Wall -msse2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc: error: @LIBCURL_CPPFLAGS@: No such file or directory
make[2]: *** [minerd-cpu-miner.o] Error 1
make[2]: Leaving directory `/home/darren/Desktop/cpu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/Desktop/cpu'
make: *** [all] Error 2

I'm not entirely sure what this means, if someone could help I'd appreciate it.
hero member
Activity: 504
Merit: 502
I dont think this is optimized enough for i7 range.

twobits, could you upload a 64bit optimized version for AMD and INTEL, similar to the versions you uploaded earlier in this thread for win64.
sr. member
Activity: 270
Merit: 250
http://www.megaupload.com/?d=SUPB61Z4
64bit deb core2duo cpuminer, might work on early i7's I don't know, you need to compile jansson and install curl and libcurl something(libcurl3 and libcurl4-openssl-dev on xubuntu 11.04 i think).
Pages:
Jump to: