Bitcoin Forum
May 11, 2024, 03:31:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443981 times)
tutulfo
Full Member
***
Offline Offline

Activity: 322
Merit: 105


View Profile
December 11, 2017, 12:08:48 PM
 #2961

So, no solutions at all for OS X?

I´m testing and have one problem, API not working for some algos/miner combinations, for example Tribus/sse2 or X17/4ways

Megaminer - Multi pool / Multi Algo launcher https://bitcointalk.org/index.php?topic=2059039.0
BTC: 1AVMHnFgc6SW33cwqrDyy2Fug9CsS8u6TM -------   LTC:  LVwuYbAvbMDVapheQBA7o2qQ2mKTEXVDbX
BCH: 1N7wsg4JmWJLP6BuHUP5rwsAXnQjTWPBjr --------  ETH: 0x9b7A01Bf5bD29c66d228d372B5bD1C43cDb78AcC
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715398278
Hero Member
*
Offline Offline

Posts: 1715398278

View Profile Personal Message (Offline)

Ignore
1715398278
Reply with quote  #2

1715398278
Report to moderator
1715398278
Hero Member
*
Offline Offline

Posts: 1715398278

View Profile Personal Message (Offline)

Ignore
1715398278
Reply with quote  #2

1715398278
Report to moderator
1715398278
Hero Member
*
Offline Offline

Posts: 1715398278

View Profile Personal Message (Offline)

Ignore
1715398278
Reply with quote  #2

1715398278
Report to moderator
lncm
Member
**
Offline Offline

Activity: 388
Merit: 13


View Profile
December 11, 2017, 12:18:06 PM
 #2962

I need scrypt for mining Verium.

Does it work? Could you share the binary?

Thanks.
fynxgloire
Full Member
***
Offline Offline

Activity: 294
Merit: 100


View Profile
December 11, 2017, 01:35:31 PM
 #2963

Hi I just downloaded and running the new release. cpuminer-sse42.exe
Weird thing I am getting less than 1/2 the hashrates that I used to connecting to the same supr nova pool

Now only getting 200 ish kH/s, before it was 500.

Should I just run the old one?

What algo & CPU?

Hi,
I am running on a i7-6700 on this script: (lyra2z)
Bin\cpuminer-opt-3.7.5-windows\cpuminer-sse42.exe -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1596


Regards
J0HN3F1V3
Full Member
***
Offline Offline

Activity: 244
Merit: 100


View Profile
December 11, 2017, 01:46:15 PM
 #2964

Interesting project,
Does it support the argon2d algorithm used by Credits?
If so it would be interesting to test it against the wallet miner to see if it performs better.

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 11, 2017, 02:56:43 PM
 #2965

So, no solutions at all for OS X?

Clearly you haven't read the requirements.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 11, 2017, 03:00:54 PM
 #2966

Interesting project,
Does it support the argon2d algorithm used by Credits?
If so it would be interesting to test it against the wallet miner to see if it performs better.


Not at this time. Wolf0 has optimized this algo, you should use his miner. It isn't likely I could improve
on his work. I may add the algo later.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 11, 2017, 03:12:21 PM
 #2967

Hi I just downloaded and running the new release. cpuminer-sse42.exe
Weird thing I am getting less than 1/2 the hashrates that I used to connecting to the same supr nova pool

Now only getting 200 ish kH/s, before it was 500.

Should I just run the old one?

What algo & CPU?

Hi,
I am running on a i7-6700 on this script: (lyra2z)
Bin\cpuminer-opt-3.7.5-windows\cpuminer-sse42.exe -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1596


Regards

My 6700K gives the same speed using sse42 with v3.7.5 & v3.7.4 BUT your CPU supports AVX2 so you
should be using that build.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
lncm
Member
**
Offline Offline

Activity: 388
Merit: 13


View Profile
December 11, 2017, 03:44:47 PM
 #2968

So, no solutions at all for OS X?

Clearly you haven't read the requirements.

Yes I have, that's why I am asking. I´ve compiled it in Linux and also running windows binary on another computer. I already know it works beautifully in Linux and Windows.

Being OS X a 64 bit *NIX OS, it should be possible to compile from source, or not?
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 11, 2017, 04:14:30 PM
 #2969

So, no solutions at all for OS X?

Clearly you haven't read the requirements.

Yes I have, that's why I am asking. I´ve compiled it in Linux and also running windows binary on another computer. I already know it works beautifully in Linux and Windows.

Being OS X a 64 bit *NIX OS, it should be possible to compile from source, or not?


I'm not aware of anyone who has successfully done it or has even tried. I've never owned or used a MAC
so it's outside my comfort zone.

If you or anyone else has the skills and can get it to compile and run on OSX I will gladly try to support it,
as was done recently with FreeBSD.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 11, 2017, 10:57:47 PM
 #2970

I'm trying to compile on CentOS (2.6.32-431.el6.x86_64). I install the following dependancies without error:
Development Tools
curl-devel
openssl-devel
gmp-devel

When I build, this is the output, can anyone tell me what is wrong?

Code:
make: *** No rule to make target `distclean'.  Stop.
clean
configure.ac:17: installing `./compile'
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
configure.ac:9: installing `./install-sh'
configure.ac:9: installing `./missing'
compat/jansson/Makefile.am: installing `./depcomp'
Makefile.am:139: whitespace following trailing backslash
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking whether le16dec is declared... no
checking whether le16enc is declared... no
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... no
configure: WARNING: The assembler does not support the AVX2 instruction set.
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking whether __uint128_t is supported... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/usr/local/src/cpuminer-opt'
Making all in compat
make[2]: Entering directory `/usr/local/src/cpuminer-opt/compat'
Making all in jansson
make[3]: Entering directory `/usr/local/src/cpuminer-opt/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -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 `/usr/local/src/cpuminer-opt/compat/jansson'
make[3]: Entering directory `/usr/local/src/cpuminer-opt/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/cpuminer-opt/compat'
make[2]: Leaving directory `/usr/local/src/cpuminer-opt/compat'
make[2]: Entering directory `/usr/local/src/cpuminer-opt'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -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
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-util.o -MD -MP -MF .deps/cpuminer-util.Tpo -c -o cpuminer-util.o `test -f 'util.c' || echo './'`util.c
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include  -g -O2 -MT cpuminer-uint256.o -MD -MP -MF .deps/cpuminer-uint256.Tpo -c -o cpuminer-uint256.o `test -f 'uint256.cpp' || echo './'`uint256.cpp
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-api.o -MD -MP -MF .deps/cpuminer-api.Tpo -c -o cpuminer-api.o `test -f 'api.c' || echo './'`api.c
util.c: In function ???????applog????????:
util.c:107: warning: implicit declaration of function ???????syslog????????
mv -f .deps/cpuminer-uint256.Tpo .deps/cpuminer-uint256.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-sysinfos.o -MD -MP -MF .deps/cpuminer-sysinfos.Tpo -c -o cpuminer-sysinfos.o `test -f 'sysinfos.c' || echo './'`sysinfos.c
mv -f .deps/cpuminer-api.Tpo .deps/cpuminer-api.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
algo-gate-api.c: In function ???????register_algo_gate????????:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:159: warning: implicit declaration of function ???????register_argon2_algo????????
algo-gate-api.c:160: warning: implicit declaration of function ???????register_axiom_algo????????
algo-gate-api.c:161: warning: implicit declaration of function ???????register_bastion_algo????????
algo-gate-api.c:162: warning: implicit declaration of function ???????register_blake_algo????????
algo-gate-api.c:163: warning: implicit declaration of function ???????register_blakecoin_algo????????
algo-gate-api.c:165: warning: implicit declaration of function ???????register_blake2s_algo????????
algo-gate-api.c:166: warning: implicit declaration of function ???????register_c11_algo????????
algo-gate-api.c:167: warning: implicit declaration of function ???????register_cryptolight_algo????????
algo-gate-api.c:168: warning: implicit declaration of function ???????register_cryptonight_algo????????
algo-gate-api.c:169: warning: implicit declaration of function ???????register_decred_algo????????
algo-gate-api.c:170: warning: implicit declaration of function ???????register_deep_algo????????
algo-gate-api.c:171: warning: implicit declaration of function ???????register_dmd_gr_algo????????
algo-gate-api.c:172: warning: implicit declaration of function ???????register_drop_algo????????
algo-gate-api.c:173: warning: implicit declaration of function ???????register_fresh_algo????????
algo-gate-api.c:174: warning: implicit declaration of function ???????register_groestl_algo????????
algo-gate-api.c:175: warning: implicit declaration of function ???????register_heavy_algo????????
algo-gate-api.c:176: warning: implicit declaration of function ???????register_hmq1725_algo????????
algo-gate-api.c:177: warning: implicit declaration of function ???????register_hodl_algo????????
algo-gate-api.c:178: warning: implicit declaration of function ???????register_jha_algo????????
algo-gate-api.c:179: warning: implicit declaration of function ???????register_keccak_algo????????
algo-gate-api.c:180: warning: implicit declaration of function ???????register_keccakc_algo????????
algo-gate-api.c:181: warning: implicit declaration of function ???????register_lbry_algo????????
algo-gate-api.c:182: warning: implicit declaration of function ???????register_luffa_algo????????
algo-gate-api.c:183: warning: implicit declaration of function ???????register_lyra2re_algo????????
algo-gate-api.c:184: warning: implicit declaration of function ???????register_lyra2rev2_algo????????
algo-gate-api.c:185: warning: implicit declaration of function ???????register_lyra2z_algo????????
algo-gate-api.c:186: warning: implicit declaration of function ???????register_lyra2z330_algo????????
algo-gate-api.c:187: warning: implicit declaration of function ???????register_m7m_algo????????
algo-gate-api.c:188: warning: implicit declaration of function ???????register_myriad_algo????????
algo-gate-api.c:189: warning: implicit declaration of function ???????register_neoscrypt_algo????????
algo-gate-api.c:190: warning: implicit declaration of function ???????register_nist5_algo????????
algo-gate-api.c:191: warning: implicit declaration of function ???????register_pentablake_algo????????
algo-gate-api.c:192: warning: implicit declaration of function ???????register_phi1612_algo????????
algo-gate-api.c:193: warning: implicit declaration of function ???????register_pluck_algo????????
algo-gate-api.c:194: warning: implicit declaration of function ???????register_polytimos_algo????????
algo-gate-api.c:195: warning: implicit declaration of function ???????register_quark_algo????????
algo-gate-api.c:196: warning: implicit declaration of function ???????register_qubit_algo????????
algo-gate-api.c:197: warning: implicit declaration of function ???????register_scrypt_algo????????
algo-gate-api.c:198: warning: implicit declaration of function ???????register_scryptjane_algo????????
algo-gate-api.c:199: warning: implicit declaration of function ???????register_sha256d_algo????????
algo-gate-api.c:200: warning: implicit declaration of function ???????register_sha256t_algo????????
algo-gate-api.c:201: warning: implicit declaration of function ???????register_shavite_algo????????
algo-gate-api.c:202: warning: implicit declaration of function ???????register_skein_algo????????
algo-gate-api.c:203: warning: implicit declaration of function ???????register_skein2_algo????????
algo-gate-api.c:204: warning: implicit declaration of function ???????register_skunk_algo????????
algo-gate-api.c:205: warning: implicit declaration of function ???????register_timetravel_algo????????
algo-gate-api.c:206: warning: implicit declaration of function ???????register_timetravel10_algo????????
algo-gate-api.c:207: warning: implicit declaration of function ???????register_tribus_algo????????
algo-gate-api.c:208: warning: implicit declaration of function ???????register_vanilla_algo????????
algo-gate-api.c:209: warning: implicit declaration of function ???????register_veltor_algo????????
algo-gate-api.c:210: warning: implicit declaration of function ???????register_whirlpool_algo????????
algo-gate-api.c:211: warning: implicit declaration of function ???????register_whirlpoolx_algo????????
algo-gate-api.c:212: warning: implicit declaration of function ???????register_x11_algo????????
algo-gate-api.c:213: warning: implicit declaration of function ???????register_x11evo_algo????????
algo-gate-api.c:214: warning: implicit declaration of function ???????register_sib_algo????????
algo-gate-api.c:215: warning: implicit declaration of function ???????register_x13_algo????????
algo-gate-api.c:216: warning: implicit declaration of function ???????register_x13sm3_algo????????
algo-gate-api.c:217: warning: implicit declaration of function ???????register_x14_algo????????
algo-gate-api.c:218: warning: implicit declaration of function ???????register_x15_algo????????
algo-gate-api.c:219: warning: implicit declaration of function ???????register_x17_algo????????
algo-gate-api.c:220: warning: implicit declaration of function ???????register_xevan_algo????????
algo-gate-api.c:221: warning: implicit declaration of function ???????register_yescrypt_algo????????
algo-gate-api.c:222: warning: implicit declaration of function ???????register_yescryptr16_algo????????
algo-gate-api.c:223: warning: implicit declaration of function ???????register_zr5_algo????????
algo-gate-api.c:226: error: #pragma GCC diagnostic not allowed inside functions
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po
mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po
mv -f .deps/cpuminer-cpu-miner.Tpo .deps/cpuminer-cpu-miner.Po
make[2]: Leaving directory `/usr/local/src/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 11, 2017, 11:22:25 PM
 #2971

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
scryptr
Legendary
*
Offline Offline

Activity: 1793
Merit: 1028



View Profile WWW
December 11, 2017, 11:36:45 PM
 #2972

NEOSCRYPT OPTIMIZATION--

NeoScrypt has become more profitable recently.  I notice that when I launch Neoscrypt algorithm with CPUminer-OPT that it is only optimized with SSE2.  Are there any plans to improve the code with more recent (AVX and later) optimizations?       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 11, 2017, 11:49:51 PM
 #2973

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

Sorry I'm a novice. Which file - and which three lines - and move them where?

Many thanks
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 12, 2017, 12:59:17 AM
 #2974

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

Sorry I'm a novice. Which file - and which three lines - and move them where?

Many thanks

Ok I see 'algo-gate-api.c' is a file and the numbers are line numbers. So what do I do to fix this section?

Code:
// Ignore warnings for not yet defined register fucntions
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wimplicit-function-declaration"

     case ALGO_ARGON2:       register_argon2_algo      ( gate ); break;
     case ALGO_AXIOM:        register_axiom_algo       ( gate ); break;
     case ALGO_BASTION:      register_bastion_algo     ( gate ); break;
     case ALGO_BLAKE:        register_blake_algo       ( gate ); break;
     case ALGO_BLAKECOIN:    register_blakecoin_algo   ( gate ); break;
//     case ALGO_BLAKE2B:      register_blake2b_algo    ( gate ); break;
     case ALGO_BLAKE2S:      register_blake2s_algo     ( gate ); break;
     case ALGO_C11:          register_c11_algo         ( gate ); break;
     case ALGO_CRYPTOLIGHT:  register_cryptolight_algo ( gate ); break;
     case ALGO_CRYPTONIGHT:  register_cryptonight_algo ( gate ); break;
     case ALGO_DECRED:       register_decred_algo      ( gate ); break;
     case ALGO_DEEP:         register_deep_algo        ( gate ); break;
     case ALGO_DMD_GR:       register_dmd_gr_algo      ( gate ); break;
     case ALGO_DROP:         register_drop_algo        ( gate ); break;
     case ALGO_FRESH:        register_fresh_algo       ( gate ); break;
     case ALGO_GROESTL:      register_groestl_algo     ( gate ); break;
     case ALGO_HEAVY:        register_heavy_algo       ( gate ); break;
     case ALGO_HMQ1725:      register_hmq1725_algo     ( gate ); break;
     case ALGO_HODL:         register_hodl_algo        ( gate ); break;
     case ALGO_JHA:          register_jha_algo         ( gate ); break;
     case ALGO_KECCAK:       register_keccak_algo      ( gate ); break;
     case ALGO_KECCAKC:      register_keccakc_algo     ( gate ); break;
     case ALGO_LBRY:         register_lbry_algo        ( gate ); break;
     case ALGO_LUFFA:        register_luffa_algo       ( gate ); break;
     case ALGO_LYRA2RE:      register_lyra2re_algo     ( gate ); break;
     case ALGO_LYRA2REV2:    register_lyra2rev2_algo   ( gate ); break;
     case ALGO_LYRA2Z:       register_lyra2z_algo      ( gate ); break;
     case ALGO_LYRA2Z330:    register_lyra2z330_algo   ( gate ); break;
     case ALGO_M7M:          register_m7m_algo         ( gate ); break;
     case ALGO_MYR_GR:       register_myriad_algo      ( gate ); break;
     case ALGO_NEOSCRYPT:    register_neoscrypt_algo   ( gate ); break;
     case ALGO_NIST5:        register_nist5_algo       ( gate ); break;
     case ALGO_PENTABLAKE:   register_pentablake_algo  ( gate ); break;
     case ALGO_PHI1612:      register_phi1612_algo     ( gate ); break;
     case ALGO_PLUCK:        register_pluck_algo       ( gate ); break;
     case ALGO_POLYTIMOS:    register_polytimos_algo   ( gate ); break;
     case ALGO_QUARK:        register_quark_algo       ( gate ); break;
     case ALGO_QUBIT:        register_qubit_algo       ( gate ); break;
     case ALGO_SCRYPT:       register_scrypt_algo      ( gate ); break;
     case ALGO_SCRYPTJANE:   register_scryptjane_algo  ( gate ); break;
     case ALGO_SHA256D:      register_sha256d_algo     ( gate ); break;
     case ALGO_SHA256T:      register_sha256t_algo     ( gate ); break;
     case ALGO_SHAVITE3:     register_shavite_algo     ( gate ); break;
     case ALGO_SKEIN:        register_skein_algo       ( gate ); break;
     case ALGO_SKEIN2:       register_skein2_algo      ( gate ); break;
     case ALGO_SKUNK:        register_skunk_algo       ( gate ); break;
     case ALGO_TIMETRAVEL:   register_timetravel_algo  ( gate ); break;
     case ALGO_TIMETRAVEL10: register_timetravel10_algo( gate ); break;
     case ALGO_TRIBUS:       register_tribus_algo      ( gate ); break;
     case ALGO_VANILLA:      register_vanilla_algo     ( gate ); break;
     case ALGO_VELTOR:       register_veltor_algo      ( gate ); break;
     case ALGO_WHIRLPOOL:    register_whirlpool_algo   ( gate ); break;
     case ALGO_WHIRLPOOLX:   register_whirlpoolx_algo  ( gate ); break;
     case ALGO_X11:          register_x11_algo         ( gate ); break;
     case ALGO_X11EVO:       register_x11evo_algo      ( gate ); break;
     case ALGO_X11GOST:      register_sib_algo         ( gate ); break;
     case ALGO_X13:          register_x13_algo         ( gate ); break;
     case ALGO_X13SM3:       register_x13sm3_algo      ( gate ); break;
     case ALGO_X14:          register_x14_algo         ( gate ); break;
     case ALGO_X15:          register_x15_algo         ( gate ); break;
     case ALGO_X17:          register_x17_algo         ( gate ); break;
     case ALGO_XEVAN:        register_xevan_algo       ( gate ); break;
     case ALGO_YESCRYPT:     register_yescrypt_algo    ( gate ); break;
     case ALGO_YESCRYPTR16:  register_yescryptr16_algo ( gate ); break;
     case ALGO_ZR5:          register_zr5_algo         ( gate ); break;

// restore warnings
#pragma GCC diagnostic pop
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 12, 2017, 12:59:36 AM
 #2975

NEOSCRYPT OPTIMIZATION--

NeoScrypt has become more profitable recently.  I notice that when I launch Neoscrypt algorithm with CPUminer-OPT that it is only optimized with SSE2.  Are there any plans to improve the code with more recent (AVX and later) optimizations?       --scryptr

It uses a lot of Intel ASM, beyond my current skill set. I need to master the concepts
of vector programming and the associated Intel intrinsic functions before I start trying to learn ASM.
I need to do all that before I know if there are any improvements to be made to neoscrypt.
Since neoscrypt already contains SIMD instructions implementing 4-way would be double
the work for only half the improvement. I explained that issue for Lyra2 a couple of pages back.

Short answer, no.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 12, 2017, 01:06:25 AM
 #2976

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

Sorry I'm a novice. Which file - and which three lines - and move them where?

Many thanks

Ok I see 'algo-gate-api.c' is a file and the numbers are line numbers. So what do I do to fix this section?



A few lines before the first errors and a few lines after the last one are the boundaries of the function.
It should look like this.

Code:
// Ignore warnings for not yet defined register functions
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wimplicit-function-declaration"

// called by each thread that uses the gate
bool register_algo_gate( int algo, algo_gate_t *gate )
{
...
  return true;
}

// restore warnings
#pragma GCC diagnostic pop



AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
scryptr
Legendary
*
Offline Offline

Activity: 1793
Merit: 1028



View Profile WWW
December 12, 2017, 01:24:21 AM
 #2977

NEOSCRYPT OPTIMIZATION--

NeoScrypt has become more profitable recently.  I notice that when I launch Neoscrypt algorithm with CPUminer-OPT that it is only optimized with SSE2.  Are there any plans to improve the code with more recent (AVX and later) optimizations?       --scryptr

It uses a lot of Intel ASM, beyond my current skill set. I need to master the concepts
of vector programming and the associated Intel intrinsic functions before I start trying to learn ASM.
I need to do all that before I know if there are any improvements to be made to neoscrypt.
Since neoscrypt already contains SIMD instructions implementing 4-way would be double
the work for only half the improvement. I explained that issue for Lyra2 a couple of pages back.

Short answer, no.


THANKS--

Thank you for answering.  I wish I knew more about ASM programming.  I do have a couple now-ancient textbooks.       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
redsun17
Full Member
***
Offline Offline

Activity: 266
Merit: 100


View Profile
December 12, 2017, 07:23:43 PM
 #2978

Does this support HPP coin and their pool?  https://bitcointalk.org/index.php?topic=2432546.0

   SEMUX   -   An innovative high-performance blockchain platform   
▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬
Github    -    Discord    -    Twitter    -    Telegram    -    Get Free Airdrop Now!
4ward
Member
**
Offline Offline

Activity: 473
Merit: 18


View Profile
December 12, 2017, 09:29:04 PM
 #2979

cpuminer-opt maximum support only 64 threads CPU? My CPU threads more than 64, how to use it to be able to fully play

There is nothing in cpuminer-opt to limit threads, maybe resource limitations or a system issue.

stumbled upon this:
"__int128 to support more than 64 CPUs"
https://github.com/holyangel/cpuminer-multi/commit/79785056fe3a54b148f12ca736483777686f4bc3

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
December 12, 2017, 10:02:57 PM
 #2980

Does this support HPP coin and their pool?  https://bitcointalk.org/index.php?topic=2432546.0

Not yet but I'll look into it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!