Pages:
Author

Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner - page 4. (Read 444096 times)

legendary
Activity: 1470
Merit: 1114
hello,
how to compile it in windows?

If you can't be bothered to read the instructions I can't be bothered to help you.
member
Activity: 151
Merit: 10
hello,
how to compile it in windows?
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp

With Windows, use Visual Studio 2013

Both your posts make no sense, cpuminer-opt will not compile with VS.

Both of you RTFM!

Yep right, sorry. I mess up with another cpuminer ( https://github.com/tpruvot/cpuminer-multi )
legendary
Activity: 1470
Merit: 1114

With Windows, use Visual Studio 2013

Both your posts make no sense, cpuminer-opt will not compile with VS.

Both of you RTFM!
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
I have compiled cpuminer to Windows and Unix, I am using sha256 bitcoin algo (pow)

The Unix version is doing around 2000-3000 Kh/s
The Windows version is doing around 500-800 Kh/s

Using the same source code... same machine, same specs (dedicated servers with the same CPU)
I have tested with about 10 setups.

Anyone else has the same issue?
legendary
Activity: 1470
Merit: 1114
If you want help you'll have to provide a lot more info than just a compile output
out of any context.

Also if you don't understand that error, you're probably in over your head.
newbie
Activity: 1
Merit: 0
please help

cpu-miner.c:37:10: fatal error: curl/curl.h: No such file or directory
   37 | #include
      |          ^~~~~~~~~~~~~



Code:
Ghanta@DESKTOP-ZZXZX MINGW64 ~
$ cd /c/msys64/home/ghanta/cpuminer-opt
-bash: cd: /c/msys64/home/ghanta/cpuminer-opt: No such file or directory

Ghanta@DESKTOP-ZZXZX MINGW64 ~
$ cd /c/msys64/home/ghanta/cpuminer-opt-master

Ghanta@DESKTOP-ZZXZX MINGW64 /c/msys64/home/ghanta/cpuminer-opt-master
$ make
make  all-recursive
make[1]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master'
Making all in compat
make[2]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
Making all in jansson
make[3]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT dump.o -MD -MP -MF $depbase.Tpo -c -o dump.o dump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hashtable.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT hashtable.o -MD -MP -MF $depbase.Tpo -c -o hashtable.o hashtable.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT load.o -MD -MP -MF $depbase.Tpo -c -o load.o load.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo memory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT memory.o -MD -MP -MF $depbase.Tpo -c -o memory.o memory.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pack_unpack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT pack_unpack.o -MD -MP -MF $depbase.Tpo -c -o pack_unpack.o pack_unpack.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strbuffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT strbuffer.o -MD -MP -MF $depbase.Tpo -c -o strbuffer.o strbuffer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strconv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT strconv.o -MD -MP -MF $depbase.Tpo -c -o strconv.o strconv.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo utf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT utf.o -MD -MP -MF $depbase.Tpo -c -o utf.o utf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo value.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT value.o -MD -MP -MF $depbase.Tpo -c -o value.o value.c &&\
mv -f $depbase.Tpo $depbase.Po
rm -f libjansson.a
ar cru libjansson.a dump.o error.o hashtable.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat/jansson'
make[3]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
make[2]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
make[2]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master'
gcc -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast  -Wl,--stack,10485760 -Icompat/pthreads -march=core-avx2  -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/cpuminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
cpu-miner.c:37:10: fatal error: curl/curl.h: No such file or directory
   37 | #include
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2479: cpuminer-cpu-miner.o] Error 1
make[2]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master'
make[1]: *** [Makefile:6254: all-recursive] Error 1
make[1]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master'
make: *** [Makefile:954: all] Error 2

Ghanta@DESKTOP-ZZXZX MINGW64 /c/msys64/home/ghanta/cpuminer-opt-master
$

legendary
Activity: 1470
Merit: 1114
Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
i got something regarding N, r, and p

https://git.xmr.pm/wownero/node-multi-hashing/src/branch/master/scryptn.c

https://git.xmr.pm/wownero/node-multi-hashing/commit/9625004fe7b87b0e8fd2faec94f64a9876eb99e2

This looks interesting, the code has the same origin but cpuminer-opt's version of scrypt is
Pooler's code highly optimized for the original scrypt algo. I can't simply copy & paste wownero
but I might be able to use it to find all the places in the Pooler code where R needs to be inserted.
This is a lot of work because Pooler has multiple implementations for different CPU architectures
and uses ASM. I'm weak in x86 asm so it will be diffficult.

I've opened an issue for it but there's no guarantee I'll ever do it.

https://github.com/JayDDee/cpuminer-opt/issues/199
newbie
Activity: 91
Merit: 0
Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
i got something regarding N, r, and p

https://git.xmr.pm/wownero/node-multi-hashing/src/branch/master/scryptn.c

https://git.xmr.pm/wownero/node-multi-hashing/commit/9625004fe7b87b0e8fd2faec94f64a9876eb99e2
newbie
Activity: 91
Merit: 0
Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
i tried, it's not working
legendary
Activity: 1470
Merit: 1114
Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
legendary
Activity: 1470
Merit: 1114
hi dev..can you add Equihash 192.7 algo with your cpuminer ...is it possible? thanks

A second question without following up on your first, you're just trolling.
newbie
Activity: 91
Merit: 0

Try -a scrypt:8192

If that doesn't work, it's a custom version of scrypt which would be too much work.

Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.
member
Activity: 129
Merit: 10
hi dev..can you add Equihash 192.7 algo with your cpuminer ...is it possible? thanks
legendary
Activity: 1470
Merit: 1114
ERROR: ProcessNewBlock: AcceptBlock FAILED (high-hash, proof of work failed (code 16)

any solution dev?

Not without a lot more info.
member
Activity: 129
Merit: 10
ERROR: ProcessNewBlock: AcceptBlock FAILED (high-hash, proof of work failed (code 16)

any solution dev?
legendary
Activity: 1470
Merit: 1114

Try -a scrypt:8192

If that doesn't work, it's a custom version of scrypt which would be too much work.
full member
Activity: 658
Merit: 102
IDENA.IO - Proof-Of-Person Blockchain
I have a processor fx 8350 that I can mining them there are profitable coins for it one dollar a day would be nice
Pages:
Jump to: