Bitcoin Forum
April 27, 2017, 03:14:10 PM *
News: Latest stable version of Bitcoin Core: 0.14.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 [All]
  Print  
Author Topic: [ANN] cpuminer-multi v1.3.1 (Linux + Windows VStudio/MinGW64) GPL Open Source  (Read 125361 times)
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 31, 2014, 05:22:10 AM
 #1

Winter is coming, and this year i shutdown electric heaters Wink

Fork of Lucas Jones 1.0.3 version, with colors and some new algos.
my v1.0.4 changes were merged but nothing new from Lucas, so :



Download: https://github.com/tpruvot/cpuminer-multi/releases
Sources: https://github.com/tpruvot/cpuminer-multi

Linux Build status : https://travis-ci.org/tpruvot/cpuminer-multi

Code:
Version 1.3.1 (Tanguy Pruvot) 26 Jan 2017
- Add timetravel algo
- Add --max-log-rate to limit per-core logs

Version 1.3 (Tanguy Pruvot)
- Add decred algo
- Add lbry algo
- Add sia algo
- Add x11evo algo
- Add x17 and xevan algos
- Add veltor algo
- Enhance Blake2-S
- Stratum benchmarks support
- Show diff and solved blocks by default

Version 1.2 (Tanguy Pruvot)
- Add cryptonight-light (Aeon)
- Add Lyra2REv2 algo (Vertcoin)
- Allow to load a remote config with curl
- Algorithm parameter is now case insensitive
- Drop anime algo (dead coin)
- Add Sib(coin) algo
- Add Bastion algo
- Add Yescrypt and scrypt-jane algos
- Compute and show network diff in pools too
- Compute Shares diff and count solved blocks
- Checkup on arm, tested ok on Tegra K1 (CyanogenMod 12.1)

version 1.1
- Add basic API remote control (quit/seturl)
- Add GroestlCoin, Diamond and Myriad variants
- Add Pluck algo and fix gbt query crash
- Add ZR5 algo (ZRC) and fix longpoll bug on linux
- Add Luffa algo
- Add Skein2 algo (Double Skein for Woodcoin)
- Add Animecoin algo (Quark variant)
- Add Dropcoin pok algo
- Add BMW-256 (MDT) algo
- Add Axiom algo
- Change some logged strings
- Use all cores by default, not N-1
- Handle a default config to run without params
- add cpu-priority and cpu-affinity options
- add NSIS installer script for windows setup
- Implement background option on windows
- add -m stratum option (diff-multiplier)
- Time limit to allow benchmarks or cron jobs
- Fix Cryptonight stratum support
- Allow to disable extranonce support

Version 1.0.9
- pool extranonce subscribe
- upgrade jansson
- lyra2 algo
- fix for solo mining
- API websocket support

Version 1.0.8
- API Monitoring Support
- Enhance config values support (int/real/bool)
- Rewrite blake algo (speed x2)

Version 1.0.7 - VC2013 + MinGW 64

- Add NIST5 and QUBIT algos
- Show current stratum bloc height
- Fix wallet solo mining

Version multi 1.0.6

- Fix scrypt algo
- More work on VC2013
- Add -f tuning option to test with reduced difficulty
- Add S3 algo

Version 1.0.5

- Merge remaining v2.4 pooler cpu-miner changes
- Add colored output (disable with --no-color)
- Test and fix blake on NEOS, needs 14 rounds (was 8)
- Add pentablake (5x blake256) (from bitbandi)
- Add neoscrypt
- Windows (VC++ 2013 and MinGW64 build support)
- Enhance --version informations (compiler + lib versions)

Version 1.0.4 (Tanguy Pruvot)

- Add x13 x14 and x15 algos (Sherlockcoin, X14Coin, Webcoin..)
- Add scrypt:N variants (Vertcoin)
- Add fresh algo
- Fix thread khashes/s value output
- Add a configure option --disable-assembly

TODO in next versions :
- Enhance ASM support for VC2013
- JSON Interface for stats

Usage (--help) :
Code:
** cpuminer-multi 1.3.1 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

Usage: cpuminer-multi [OPTIONS]
Options:
  -a, --algo=ALGO       specify the algorithm to use
                          axiom        Shabal-256 MemoHash
                          blake        Blake-256 14-rounds (SFR)
                          blakecoin    Blake-256 single sha256 merkle
                          blake2s      Blake2-S (256)
                          bmw          BMW 256
                          c11/flax     C11
                          cryptolight  Cryptonight-light
                          cryptonight  Monero
                          decred       Blake-256 14-rounds 180 bytes
                          dmd-gr       Diamond-Groestl
                          drop         Dropcoin
                          fresh        Fresh
                          groestl      GroestlCoin
                          heavy        Heavy
                          keccak       Keccak
                          luffa        Luffa
                          lyra2re      Lyra2RE
                          lyra2rev2    Lyra2REv2 (Vertcoin)
                          myr-gr       Myriad-Groestl
                          neoscrypt    NeoScrypt(128, 2, 1)
                          nist5        Nist5
                          pluck        Pluck:128 (Supcoin)
                          pentablake   Pentablake
                          quark        Quark
                          qubit        Qubit
                          scrypt       scrypt(1024, 1, 1) (default)
                          scrypt:N     scrypt(N, 1, 1)
                          scrypt-jane:N (with N factor from 4 to 30)
                          shavite3     Shavite3
                          sha256d      SHA-256d
                          sia          Blake2-B
                          sib          X11 + gost (SibCoin)
                          skein        Skein+Sha (Skeincoin)
                          skein2       Double Skein (Woodcoin)
                          s3           S3
                          timetravel   Timetravel (Machinecoin)
                          vanilla      Blake-256 8-rounds
                          x11evo       Permuted x11
                          x11          X11
                          x13          X13
                          x14          X14
                          x15          X15
                          x17          X17
                          xevan        Xevan (BitSend)
                          yescrypt     Yescrypt
                          zr5          ZR5
  -o, --url=URL         URL of mining server
  -O, --userpass=U:P    username:password pair for mining server
  -u, --user=USERNAME   username for mining server
  -p, --pass=PASSWORD   password for mining server
      --cert=FILE       certificate for mining server using SSL
  -x, --proxy=[PROTOCOL://]HOST[:PORT]  connect through a proxy
  -t, --threads=N       number of miner threads (default: number of processors)
  -r, --retries=N       number of times to retry if a network call fails
                          (default: retry indefinitely)
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)
      --time-limit=N    maximum time [s] to mine before exiting the program.
  -T, --timeout=N       timeout for long poll and stratum (default: 300 seconds)
  -s, --scantime=N      upper bound on time spent scanning current work when
                          long polling is unavailable, in seconds (default: 5)
      --randomize       Randomize scan range start to reduce duplicates
  -f, --diff-factor     Divide req. difficulty by this factor (std is 1.0)
  -m, --diff-multiplier Multiply difficulty by this factor (std is 1.0)
  -n, --nfactor         neoscrypt N-Factor
      --coinbase-addr=ADDR  payout address for solo mining
      --coinbase-sig=TEXT  data to insert in the coinbase when possible
      --max-log-rate    limit per-core hashrate logs (default: 5s)
      --no-longpoll     disable long polling support
      --no-getwork      disable getwork support
      --no-gbt          disable getblocktemplate support
      --no-stratum      disable X-Stratum support
      --no-extranonce   disable Stratum extranonce support
      --no-redirect     ignore requests to change the URL of the mining server
  -q, --quiet           disable per-thread hashmeter output
      --no-color        disable colored output
  -D, --debug           enable debug output
  -P, --protocol-dump   verbose dump of protocol-level activities
      --hide-diff       Hide submitted block and net difficulty
  -B, --background      run the miner in the background
      --benchmark       run in offline benchmark mode
      --cputest         debug hashes from cpu algorithms
      --cpu-affinity    set process affinity to cpu core(s), mask 0x3 for cores 0 and 1
      --cpu-priority    set process priority (default: 0 idle, 2 normal to 5 highest)
  -b, --api-bind        IP/Port for the miner API (default: 127.0.0.1:4048)
      --api-remote      Allow remote control
      --max-temp=N      Only mine if cpu temp is less than specified value (linux)
      --max-rate=N[KMG] Only mine if net hashrate is less than specified value
      --max-diff=N      Only mine if net difficulty is less than specified value
  -c, --config=FILE     load a JSON-format configuration file
  -V, --version         display version information and exit
  -h, --help            display this help text and exit

Donations for the work done in this fork are accepted :

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
DASH: XeVrkPrWB7pDbdFLfKhF1Z3xpqhsx6wkH3
MAC: MCchQ675kJYeXoCACgkKx6xakubE8CAQ5A

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
1493306050
Hero Member
*
Offline Offline

Posts: 1493306050

View Profile Personal Message (Offline)

Ignore
1493306050
Reply with quote  #2

1493306050
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1493306050
Hero Member
*
Offline Offline

Posts: 1493306050

View Profile Personal Message (Offline)

Ignore
1493306050
Reply with quote  #2

1493306050
Report to moderator
1493306050
Hero Member
*
Offline Offline

Posts: 1493306050

View Profile Personal Message (Offline)

Ignore
1493306050
Reply with quote  #2

1493306050
Report to moderator
1493306050
Hero Member
*
Offline Offline

Posts: 1493306050

View Profile Personal Message (Offline)

Ignore
1493306050
Reply with quote  #2

1493306050
Report to moderator
twoturtles
Hero Member
*****
Offline Offline

Activity: 770


View Profile WWW
October 31, 2014, 06:31:06 AM
 #2

Nice work! =)
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 31, 2014, 07:27:43 AM
 #3

i detected a bug in scrypt... fixed in version 1.0.6

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
November 15, 2014, 10:50:19 PM
 #4

Version 1.0.8 released Smiley with the same kind of API as i implemented in ccminer

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
poiuty
Full Member
***
Offline Offline

Activity: 196



View Profile
January 04, 2015, 12:13:12 AM
 #5

Code:
mv -f .deps/cpuminer-aesb-x64.Tpo .deps/cpuminer-aesb-x64.Po
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2    -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sensors.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o cpuminer-blake.o cpuminer-cryptonight.o cpuminer-fresh.o cpuminer-heavy.o cpuminer-ink.o cpuminer-lyra2re.o cpuminer-keccak.o cpuminer-pentablake.o cpuminer-quark.o cpuminer-neoscrypt.o cpuminer-nist5.o cpuminer-qubit.o cpuminer-scrypt.o cpuminer-sha2.o cpuminer-skein.o cpuminer-s3.o cpuminer-x11.o cpuminer-x13.o cpuminer-x14.o cpuminer-x15.o cpuminer-neoscrypt_asm.o  cpuminer-sha2-x64.o cpuminer-scrypt-x64.o cpuminer-aesb-x64.o    -ljansson -lpthread
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:2196: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `longpoll_thread':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:1909: undefined reference to `curl_easy_init'
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:2021: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `workio_thread':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:1411: undefined reference to `curl_easy_init'
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:1449: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `main':
/home/mining/cpuminer-multi-1.0.9-multi/cpu-miner.c:2692: undefined reference to `curl_global_init'
cpuminer-util.o: In function `stratum_connect':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:957: undefined reference to `curl_easy_cleanup'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:958: undefined reference to `curl_easy_init'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:982: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:983: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:984: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:985: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:986: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/mining/cpuminer-multi-1.0.9-multi/util.c:987: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:1002: undefined reference to `curl_easy_perform'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:1005: undefined reference to `curl_easy_cleanup'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:981: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:1022: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:398: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:400: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:401: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:402: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:403: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/mining/cpuminer-multi-1.0.9-multi/util.c:404: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/home/mining/cpuminer-multi-1.0.9-multi/util.c:442: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:443: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:444: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:445: undefined reference to `curl_slist_append'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:449: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:451: undefined reference to `curl_easy_perform'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:525: undefined reference to `curl_slist_free_all'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:526: undefined reference to `curl_easy_reset'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:429: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:415: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:397: undefined reference to `curl_easy_setopt'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:534: undefined reference to `curl_slist_free_all'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:535: undefined reference to `curl_easy_reset'
/home/mining/cpuminer-multi-1.0.9-multi/util.c:455: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/home/mining/cpuminer-multi-1.0.9-multi/api.c:298: undefined reference to `SHA1_Init'
/home/mining/cpuminer-multi-1.0.9-multi/api.c:299: undefined reference to `SHA1_Update'
/home/mining/cpuminer-multi-1.0.9-multi/api.c:300: undefined reference to `SHA1_Final'
cpuminer-heavy.o: In function `heavyhash':
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:45: undefined reference to `SHA256_Init'
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:46: undefined reference to `SHA256_Update'
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:47: undefined reference to `SHA256_Update'
/home/mining/cpuminer-multi-1.0.9-multi/heavy.c:48: undefined reference to `SHA256_Final'
cpuminer-skein.o: In function `skeinhash':
/home/mining/cpuminer-multi-1.0.9-multi/skein.c:23: undefined reference to `SHA256_Init'
/home/mining/cpuminer-multi-1.0.9-multi/skein.c:24: undefined reference to `SHA256_Update'
/home/mining/cpuminer-multi-1.0.9-multi/skein.c:25: undefined reference to `SHA256_Final'
collect2: error: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/home/mining/cpuminer-multi-1.0.9-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mining/cpuminer-multi-1.0.9-multi'
make: *** [all] Error 2
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 04, 2015, 02:42:50 PM
 #6

you need curl sources, then use ./build.sh

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
poiuty
Full Member
***
Offline Offline

Activity: 196



View Profile
January 05, 2015, 04:43:22 AM
 #7

When ./autogen.sh

In Makefile
Code:
cpuminer_LDADD =  -ljansson -lpthread

fix
Code:
cpuminer_LDADD =  -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread

When ./build.sh -> work fine.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 05, 2015, 11:45:27 AM
 #8

your curl lib should be automatically found by configure, cf : https://travis-ci.org/tpruvot/cpuminer-multi

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
sirslayer
Sr. Member
****
Offline Offline

Activity: 393

Crypto and Chickens


View Profile
May 13, 2015, 05:12:22 AM
 #9

im on xubuntu 15.04 and i get this error..when i run "make"

make  all-recursive
make[1]: Entering directory '/home/sirdell/cpuminer'
Making all in compat
make[2]: Entering directory '/home/sirdell/cpuminer/compat'
Making all in jansson
make[3]: Entering directory '/home/sirdell/cpuminer/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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../..     -g -O2  -Iyes/include -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 '/home/sirdell/cpuminer/compat/jansson'
make[3]: Entering directory '/home/sirdell/cpuminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Entering directory '/home/sirdell/cpuminer'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -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
cpu-miner.c:28:25: fatal error: openssl/sha.h: No such file or directory
 #include <openssl/sha.h>
                         ^
compilation terminated.
Makefile:1011: recipe for target 'cpuminer-cpu-miner.o' failed
make[2]: *** [cpuminer-cpu-miner.o] Error 1
make[2]: Leaving directory '/home/sirdell/cpuminer'
Makefile:1914: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sirdell/cpuminer'
Makefile:501: recipe for target 'all' failed
make: *** [all] Error 2
sirdell@sirdell:~/cpuminer$



cant find <openssl/sha.h>  Huh?   how do you fix this??

sirslayer
Sr. Member
****
Offline Offline

Activity: 393

Crypto and Chickens


View Profile
May 13, 2015, 06:05:13 AM
 #10

ok it was just a openssl header error... i think i fixed that but now i get this

sirdell@sirdell:~/cpuminer$ sudo make
make  all-recursive
make[1]: Entering directory '/home/sirdell/cpuminer'
Making all in compat
make[2]: Entering directory '/home/sirdell/cpuminer/compat'
make[3]: Entering directory '/home/sirdell/cpuminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Leaving directory '/home/sirdell/cpuminer/compat'
make[2]: Entering directory '/home/sirdell/cpuminer'
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-cryptonight.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto -ljansson -lpthread 
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:766: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/home/sirdell/cpuminer'
Makefile:1914: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sirdell/cpuminer'
Makefile:501: recipe for target 'all' failed
make: *** [all] Error 2
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
May 13, 2015, 02:41:51 PM
 #11

you need to install the dev packages

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
IMweasel
Newbie
*
Offline Offline

Activity: 29


View Profile
June 01, 2015, 12:11:36 PM
 #12

Nice job on the extra performance!
But how comes that these miners start up with 7 threads on a 8 core CPU? It does seem to put load on all cores though.
The original miner from Pooler launches 8 threads.
Jake-R
Full Member
***
Offline Offline

Activity: 126


View Profile
June 05, 2015, 12:36:26 AM
 #13

Nice job on the extra performance!
But how comes that these miners start up with 7 threads on a 8 core CPU? It does seem to put load on all cores though.
The original miner from Pooler launches 8 threads.
I get similar results. It is like the program calculates threads to run like: Number of cores - 1 = number of threads.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 12:20:09 PM
 #14

indeed to let some cpu on work threads, but you can use -t 8 to force it

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
temroa
Full Member
***
Offline Offline

Activity: 126


View Profile
June 05, 2015, 12:23:00 PM
 #15

is compiling the miner with mingw64 so hard ?

▲▼▲▼▲▼▲▼  No.1 Bitcoin Binary Options and Double Dice  ▲▼▲▼▲▼▲▼
████████████████████████████████  sec◔nds trade  ████████████████████████████████
↑↓ Instant Bets ↑↓ Flexible 1~720 minutes Expiry time ↑↓ Highest Reward 190% ↑↓ 16 Assets [btc, forex, gold, 1% edge double dice] ↑↓
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 12:24:59 PM
 #16

is compiling the miner with mingw64 so hard ?

No it works perfectly when you have built the dependencies curl openssl zlib pthreads and jansson.... Good luck Wink

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
temroa
Full Member
***
Offline Offline

Activity: 126


View Profile
June 05, 2015, 12:28:44 PM
 #17

if it will be short can you post the instructions ?

▲▼▲▼▲▼▲▼  No.1 Bitcoin Binary Options and Double Dice  ▲▼▲▼▲▼▲▼
████████████████████████████████  sec◔nds trade  ████████████████████████████████
↑↓ Instant Bets ↑↓ Flexible 1~720 minutes Expiry time ↑↓ Highest Reward 190% ↑↓ 16 Assets [btc, forex, gold, 1% edge double dice] ↑↓
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 12:31:24 PM
 #18

Its not short.. It why i've prebuilt libs in vstudio... But its junk for the git tree... Even the mingw64 standard env is hard to setup... Need msys etc

EDIT: i will upload my prebuilt env. in a few minutes...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 01:12:28 PM
 #19

You can download it here : http://ccminer.org/mingw64/

And please read the README.txt

then ./build.sh in cpuminer folder should be enough (not included in the archive)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Jake-R
Full Member
***
Offline Offline

Activity: 126


View Profile
June 05, 2015, 02:49:25 PM
 #20

I really like this new miner. I have a couple questions about it.

In the sample batch file there is a -b 0.0.0.0:4048 function. However, in the help this does not appear to be documented. What is -b for?

Also, about every 30 minutes. I get this error on any workstation I run this on:  Stratum connection timed out, Stratum connection interrupted. I do not get this when GPU mining on the same pool (http://simplemulti.com/). I am mining Vertcoin. Is this a client side issue, or an issue with the mining pool?

I am using this as my batch file for start-up:

cpuminer-multi-mingw64 -a lyra2 -o stratum+tcp://ca.simplemulti.com:3374 -u addresskey.worker1 -p x

pause
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 05, 2015, 02:51:34 PM
 #21

cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Jake-R
Full Member
***
Offline Offline

Activity: 126


View Profile
June 06, 2015, 03:33:28 AM
 #22

cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

This is the error to which I am referring. Is it the miner? The Stratum? The internet? It happens about every 15 minutes:

sirslayer
Sr. Member
****
Offline Offline

Activity: 393

Crypto and Chickens


View Profile
June 06, 2015, 11:13:13 PM
 #23

thank you Smiley   Epsylon3
cjambox
Full Member
***
Offline Offline

Activity: 140


View Profile
June 28, 2015, 02:34:51 PM
 #24

Epsylon3 when i benchmarking at cpuminer-multi-mingw64 with neoscrypt algo i got error at windows
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 28, 2015, 04:12:18 PM
 #25

yep, i get the error also... dunno why yet, asm stuff not proper i guess

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Katerich
Newbie
*
Offline Offline

Activity: 7


View Profile
June 29, 2015, 11:33:27 AM
 #26

cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

This is the error to which I am referring. Is it the miner? The Stratum? The internet? It happens about every 15 minutes:

http://i.imgur.com/1cmxrEp.png

yes, I also get an error same with Jake-R when getting started this miner
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
June 29, 2015, 11:37:04 AM
 #27

please copy paste your log and the command line you used...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
setowae
Newbie
*
Offline Offline

Activity: 7


View Profile
June 30, 2015, 02:03:20 AM
 #28

hi guys
forgive for interrupted
i just download this app
but i dont know how to work it
how to used the hash?
should i input my crytpo adress? and where i have to chance it?
cause the app just work
thanx you for answer...

[/img]http://s14.postimg.org/flo0cmitt/Screenshot_96.png[/img]
oldkolobok
Full Member
***
Offline Offline

Activity: 230


View Profile
July 15, 2015, 09:18:47 AM
 #29

I am seen version 1.1, but it is not in the release. Why?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
July 15, 2015, 12:19:28 PM
 #30

because its not "finished" yet Wink

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
July 29, 2015, 02:34:00 PM
 #31

Now it is... https://github.com/tpruvot/cpuminer-multi/releases/tag/v1.1-multi

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
_javi_
Sr. Member
****
Offline Offline

Activity: 365



View Profile
July 29, 2015, 07:57:14 PM
 #32

Is 54 H/s ok for an AMD FX-8150 with -t 7, on Axiom algo ??
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
July 29, 2015, 07:58:56 PM
 #33

yes, its a really slow algo, maybe the slowest ive seen with scrypt-jane and pluck (one hash require 128K sub shabal 256 hashes) so the real shabal256 speed is like 128000x faster ;p

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
_javi_
Sr. Member
****
Offline Offline

Activity: 365



View Profile
July 29, 2015, 08:01:36 PM
 #34

thanks for your quick answer.

keep on the good work! congrats.
dhsc19
Member
**
Offline Offline

Activity: 96


View Profile
July 29, 2015, 10:59:17 PM
 #35

Can't seem to compile (Ubuntu 14.02...all dependencies are installed).  Anyone else have any hints:

make  all-recursive
make[1]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
Making all in compat
make[2]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[3]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[2]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi/compat'
make[2]: Entering directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -march=native    -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -ljansson -lpthread
cpuminer-cpu-miner.o: In function `workio_thread':
cpu-miner.c:(.text+0x38a5): undefined reference to `curl_easy_init'
cpu-miner.c:(.text+0x3994): undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
cpu-miner.c:(.text+0x3ddf): undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `longpoll_thread':
cpu-miner.c:(.text+0x5e1a): undefined reference to `curl_easy_init'
cpu-miner.c:(.text+0x63d8): undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
cpu-miner.c:(.text+0x6b7c): undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
cpu-miner.c:(.text+0x8840): undefined reference to `curl_global_init'
cpuminer-util.o: In function `json_rpc_call':
util.c:(.text+0x11e2): undefined reference to `curl_easy_setopt'
util.c:(.text+0x120f): undefined reference to `curl_easy_setopt'
util.c:(.text+0x1248): undefined reference to `curl_easy_setopt'
util.c:(.text+0x1273): undefined reference to `curl_easy_setopt'
util.c:(.text+0x129e): undefined reference to `curl_easy_setopt'
cpuminer-util.o:util.c:(.text+0x12c9): more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
util.c:(.text+0x169b): undefined reference to `curl_slist_append'
util.c:(.text+0x16bb): undefined reference to `curl_slist_append'
util.c:(.text+0x16d6): undefined reference to `curl_slist_append'
util.c:(.text+0x16f1): undefined reference to `curl_slist_append'
util.c:(.text+0x1725): undefined reference to `curl_easy_setopt'
util.c:(.text+0x1734): undefined reference to `curl_easy_perform'
util.c:(.text+0x178d): undefined reference to `curl_easy_getinfo'
util.c:(.text+0x1cb1): undefined reference to `curl_slist_free_all'
util.c:(.text+0x1cc0): undefined reference to `curl_easy_reset'
util.c:(.text+0x1d14): undefined reference to `curl_slist_free_all'
util.c:(.text+0x1d23): undefined reference to `curl_easy_reset'
cpuminer-util.o: In function `stratum_connect':
util.c:(.text+0x317f): undefined reference to `curl_easy_cleanup'
util.c:(.text+0x3184): undefined reference to `curl_easy_init'
util.c:(.text+0x32ed): undefined reference to `curl_easy_setopt'
util.c:(.text+0x3312): undefined reference to `curl_easy_setopt'
util.c:(.text+0x3334): undefined reference to `curl_easy_setopt'
util.c:(.text+0x3356): undefined reference to `curl_easy_setopt'
util.c:(.text+0x337b): undefined reference to `curl_easy_setopt'
cpuminer-util.o:util.c:(.text+0x339d): more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
util.c:(.text+0x34cf): undefined reference to `curl_easy_perform'
util.c:(.text+0x3503): undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `stratum_disconnect':
util.c:(.text+0x3558): undefined reference to `curl_easy_cleanup'
cpuminer-api.o: In function `websocket_handshake':
api.c:(.text+0xa0c): undefined reference to `SHA1_Init'
api.c:(.text+0xa37): undefined reference to `SHA1_Update'
api.c:(.text+0xa50): undefined reference to `SHA1_Final'
algo/cpuminer-heavy.o: In function `heavyhash':
heavy.c:(.text+0x22b): undefined reference to `SHA256_Init'
heavy.c:(.text+0x24d): undefined reference to `SHA256_Update'
heavy.c:(.text+0x26b): undefined reference to `SHA256_Update'
heavy.c:(.text+0x284): undefined reference to `SHA256_Final'
algo/cpuminer-skein.o: In function `skeinhash':
skein.c:(.text+0x159): undefined reference to `SHA256_Init'
skein.c:(.text+0x177): undefined reference to `SHA256_Update'
skein.c:(.text+0x190): undefined reference to `SHA256_Final'
collect2: error: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dhsc19/Downloads/mining/cpuminer-multi'
make: *** [all] Error 2
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
July 29, 2015, 11:12:54 PM
 #36

Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
impulse2000
Newbie
*
Offline Offline

Activity: 23


View Profile
July 30, 2015, 06:43:52 AM
 #37

Can't seem to compile (Ubuntu 14.02...all dependencies are installed).  Anyone else have any hints:
git clone https://github.com/tpruvot/cpuminer-multi.git
cd cpuminer-multi/
./autogen.sh && ./configure --with-curl --with-crypto CFLAGS="-march=native" && make clean && make -j2
./cpuminer -a axiom -o stratum+tcp://axiom.eu.nicehash.com:3346 -u 18EJ9w1MuZXWDNNEuLAyq4SJJUsYx9fqiX -p x

something this...

ASUS GTX750TI-OC-2GD5
C2Q-Q8300
2GB
Singman33
Full Member
***
Offline Offline

Activity: 141


View Profile
July 30, 2015, 07:13:33 AM
 #38

Nope, dont compile on Ubuntu (and maybe others)...
Code:
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto compat/jansson/libjansson.a -lpthread
cpuminer-cpu-miner.o: dans la fonction « miner_thread »:
cpu-miner.c:(.text+0x36e9): référence indéfinie vers « scanhash_axiom »
cpuminer-util.o: dans la fonction « print_hash_tests »:
util.c:(.text+0x5b38): référence indéfinie vers « axiomhash »
collect2: error: ld returned 1 exit status
Makefile:784: recipe for target 'cpuminer' failed
Singman33
Full Member
***
Offline Offline

Activity: 141


View Profile
July 30, 2015, 07:15:14 AM
 #39

BTW, you are not using any "-O" flags on your command.
Did you make some tests with -O2, -O3 ?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
July 30, 2015, 12:59:29 PM
 #40

BTW, you are not using any "-O" flags on your command.
Did you make some tests with -O2, -O3 ?

just use ./build.sh

All my commits are automatically tested here : https://travis-ci.org/tpruvot/cpuminer-multi

This is the proof your problem is somewhere between your chair and the keyboard

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Singman33
Full Member
***
Offline Offline

Activity: 141


View Profile
July 30, 2015, 06:52:15 PM
 #41

All my commits are automatically tested here : https://travis-ci.org/tpruvot/cpuminer-multi
This is the proof your problem is somewhere between your chair and the keyboard
Nice insult !
BTW, that miner was building nice before a "make clean; git pull; sh ./autogen.sh; ./configure --with-curl --with-crypto; make". So ?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
July 30, 2015, 06:56:58 PM
 #42

delete your folder and reclone... or just use build.sh

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Singman33
Full Member
***
Offline Offline

Activity: 141


View Profile
July 30, 2015, 07:06:25 PM
 #43

Already tried. Different error of course :
Code:
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -ftree-loop-if-convert-stores -DUSE_ASM -pg  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto compat/jansson/libjansson.a -lpthread
/tmp/cc3qX1RA.ltrans1.ltrans.o: dans la fonction « submit_upstream_work »:
<artificial>:(.text+0x4cc): référence indéfinie vers « json_object »
<artificial>:(.text+0x4db): référence indéfinie vers « json_string »
<artificial>:(.text+0x4eb): référence indéfinie vers « json_object_set_new »
<artificial>:(.text+0x4f5): référence indéfinie vers « json_dumps »
<artificial>:(.text+0x51c): référence indéfinie vers « json_delete »
<artificial>:(.text+0x5bf): référence indéfinie vers « json_object_get »
<artificial>:(.text+0x5d9): référence indéfinie vers « json_string_value »
Played with the -fuse-linker-plugin flag to see if that change something but no.
Ubuntu 15.04, GCC 4.9.2

Look like a broken flag, I'm tracking it (compiling and linking with only "-O2" work).

Ok, found the guilty : "-flto". Without it, everything compile fine. I've tried to remove "-pg" but "-flto" keep breaking link.
PeaMine
Hero Member
*****
Offline Offline

Activity: 625


View Profile
July 31, 2015, 02:16:08 AM
 #44

The --cpu-priority 0 command doesn't seem to be working.
Still sets it to normal

On Linux, I'm compiling and getting:



mv -f asm/.deps/cpuminer-aesb-x64.Tpo asm/.deps/cpuminer-aesb-x64.Po
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2    -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   compat/jansson/libjansson.a -lpthread
cpuminer-cpu-miner.o: In function `longpoll_thread':
/root/cpuminer-multi/cpu-miner.c:2107: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:2221: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
/root/cpuminer-multi/cpu-miner.c:1508: undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `workio_thread':
/root/cpuminer-multi/cpu-miner.c:1368: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:1406: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/root/cpuminer-multi/cpu-miner.c:2413: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
/root/cpuminer-multi/cpu-miner.c:2985: undefined reference to `curl_global_init'
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1058: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1059: undefined reference to `curl_easy_init'
/root/cpuminer-multi/util.c:1083: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1084: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1085: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1086: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1087: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:1088: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1103: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:1106: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1082: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/root/cpuminer-multi/util.c:1123: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:461: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:463: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:464: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:465: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:466: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:467: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:505: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:506: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:507: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:508: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:512: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:514: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:605: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:606: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:492: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:478: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:460: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:614: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:615: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:518: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/root/cpuminer-multi/api.c:336: undefined reference to `SHA1_Init'
/root/cpuminer-multi/api.c:337: undefined reference to `SHA1_Update'
/root/cpuminer-multi/api.c:338: undefined reference to `SHA1_Final'
algo/cpuminer-heavy.o: In function `heavyhash':
/root/cpuminer-multi/algo/heavy.c:45: undefined reference to `SHA256_Init'
/root/cpuminer-multi/algo/heavy.c:46: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/heavy.c:47: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/heavy.c:48: undefined reference to `SHA256_Final'
algo/cpuminer-skein.o: In function `skeinhash':
/root/cpuminer-multi/algo/skein.c:21: undefined reference to `SHA256_Init'
/root/cpuminer-multi/algo/skein.c:22: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/skein.c:23: undefined reference to `SHA256_Final'
collect2: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/root/cpuminer-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-multi'
make: *** [all] Error 2
Singman33
Full Member
***
Offline Offline

Activity: 141


View Profile
July 31, 2015, 07:38:10 AM
 #45

That issue was already addressed, you should do at least
./configure -with-curl --with-crypto
before launching the make (as show in previous page...)
skunk
Sr. Member
****
Offline Offline

Activity: 320


View Profile
August 04, 2015, 12:56:21 PM
 #46

Code:
$ ./cpuminer -a axiom --benchmark
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[2015-08-04 14:51:48] 8 miner threads started, using 'axiom' algorithm.
[2015-08-04 14:51:58] CPU #3: 6.25 H/s
[2015-08-04 14:51:58] CPU #7: 6.05 H/s
[2015-08-04 14:52:02] CPU #0: 4.41 H/s
[2015-08-04 14:52:03] CPU #4: 4.29 H/s
[2015-08-04 14:52:03] CPU #2: 4.26 H/s
[2015-08-04 14:52:03] CPU #1: 4.26 H/s
[2015-08-04 14:52:03] CPU #3: 6.05 H/s
[2015-08-04 14:52:03] CPU #5: 4.20 H/s
[2015-08-04 14:52:03] CPU #0: 5.33 H/s
[2015-08-04 14:52:03] CPU #6: 4.09 H/s
[2015-08-04 14:52:04] CPU #7: 5.91 H/s
[2015-08-04 14:52:04] Total: 0.04 kH/s
[2015-08-04 14:52:07] CPU #7: 6.11 H/s
[2015-08-04 14:52:07] Total: 0.04 kH/s
[2015-08-04 14:52:08] CPU #2: 4.43 H/s
[2015-08-04 14:52:08] CPU #4: 4.14 H/s
[2015-08-04 14:52:08] CPU #1: 4.21 H/s
[2015-08-04 14:52:08] CPU #7: 6.39 H/s
[2015-08-04 14:52:08] Total: 0.04 kH/s
[2015-08-04 14:52:08] CPU #5: 4.12 H/s
[2015-08-04 14:52:08] CPU #6: 4.40 H/s
[2015-08-04 14:52:08] CPU #3: 6.01 H/s
[2015-08-04 14:52:09] CPU #0: 4.32 H/s
[2015-08-04 14:52:12] CPU #2: 5.09 H/s
[2015-08-04 14:52:12] CPU #1: 5.34 H/s
[2015-08-04 14:52:12] CPU #4: 4.81 H/s
[2015-08-04 14:52:12] CPU #5: 5.24 H/s
[2015-08-04 14:52:12] CPU #6: 5.18 H/s
[2015-08-04 14:52:13] CPU #2: 6.82 H/s
[2015-08-04 14:52:13] CPU #1: 7.42 H/s
[2015-08-04 14:52:13] CPU #0: 4.92 H/s
[2015-08-04 14:52:13] CPU #4: 6.88 H/s
[2015-08-04 14:52:13] CPU #5: 7.49 H/s
[2015-08-04 14:52:13] CPU #3: 6.37 H/s
[2015-08-04 14:52:13] CPU #7: 6.18 H/s
[2015-08-04 14:52:13] Total: 0.05 kH/s
[2015-08-04 14:52:13] CPU #6: 6.55 H/s
[2015-08-04 14:52:16] CPU #0: 5.75 H/s
[2015-08-04 14:52:18] CPU #3: 6.04 H/s
[2015-08-04 14:52:18] CPU #7: 5.84 H/s
[2015-08-04 14:52:18] Total: 0.05 kH/s
[2015-08-04 14:52:18] CPU #2: 5.26 H/s
[2015-08-04 14:52:19] CPU #0: 4.92 H/s
[2015-08-04 14:52:19] CPU #4: 5.20 H/s
[2015-08-04 14:52:19] CPU #6: 5.22 H/s
[2015-08-04 14:52:19] CPU #1: 5.43 H/s
[2015-08-04 14:52:20] CPU #5: 5.33 H/s
[2015-08-04 14:52:22] CPU #0: 5.78 H/s
[2015-08-04 14:52:22] CPU #7: 6.73 H/s
[2015-08-04 14:52:22] Total: 0.04 kH/s
[2015-08-04 14:52:23] CPU #5: 5.26 H/s
[2015-08-04 14:52:23] CPU #0: 4.83 H/s
[2015-08-04 14:52:23] CPU #3: 6.79 H/s
[2015-08-04 14:52:23] CPU #4: 4.95 H/s
[2015-08-04 14:52:23] CPU #1: 5.43 H/s
[2015-08-04 14:52:23] CPU #7: 7.40 H/s
[2015-08-04 14:52:23] Total: 0.05 kH/s
this on a i7-3770 cpu, far less than the +200 h/s of your windows release... Sad

drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 05, 2015, 09:19:01 AM
 #47

Build on ubuntu and have error

git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi/
./build.sh

...skip...
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT lyra2/cpuminer-Lyra2.o -MD -MP -MF lyra2/.deps/cpuminer-Lyra2.Tpo -c -o lyra2/cpuminer-Lyra2.o `test -f 'lyra2/Lyra2.c' || echo './'`lyra2/Lyra2.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^
crypto/mshabal.c:47:2: error: unknown type name ‘__m256i’
  __m256i A[12], B[16], C[16];
  ^
crypto/mshabal.c:48:2: error: unknown type name ‘__m256i’
  __m256i one;
  ^
crypto/mshabal.c:51:3: warning: implicit declaration of function ‘_mm256_loadu_si256’ [-Wimplicit-function-declaration]
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
   ^
crypto/mshabal.c:51:30: error: ‘__m256i’ undeclared (first use in this function)
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
                              ^
crypto/mshabal.c:51:30: note: each undeclared identifier is reported only once for each function it appears in
crypto/mshabal.c:51:39: error: expected expression before ‘)’ token
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
                                       ^
crypto/mshabal.c:53:39: error: expected expression before ‘)’ token
   B[j] = _mm256_loadu_si256((__m256i *)sc->state + j + 12);
                                       ^
crypto/mshabal.c:54:39: error: expected expression before ‘)’ token
   C[j] = _mm256_loadu_si256((__m256i *)sc->state + j + 28);
                                       ^
crypto/mshabal.c:56:2: warning: implicit declaration of function ‘_mm256_set1_epi32’ [-Wimplicit-function-declaration]
  one = _mm256_set1_epi32(C32(0xFFFFFFFF));
  ^
crypto/mshabal.c:76:4: warning: implicit declaration of function ‘_mm256_add_epi32’ [-Wimplicit-function-declaration]
    B[j] = _mm256_add_epi32(B[j], M(j));
    ^
crypto/mshabal.c:76:4: warning: implicit declaration of function ‘_mm256_load_si256’ [-Wimplicit-function-declaration]
crypto/mshabal.c:78:3: warning: implicit declaration of function ‘_mm256_xor_si256’ [-Wimplicit-function-declaration]
   A[0] = _mm256_xor_si256(A[0], _mm256_set1_epi32(sc->Wlow));
   ^
crypto/mshabal.c:82:4: warning: implicit declaration of function ‘_mm256_or_si256’ [-Wimplicit-function-declaration]
    B[j] = _mm256_or_si256(_mm256_slli_epi32(B[j], 17),
    ^
crypto/mshabal.c:82:4: warning: implicit declaration of function ‘_mm256_slli_epi32’ [-Wimplicit-function-declaration]
crypto/mshabal.c:83:4: warning: implicit declaration of function ‘_mm256_srli_epi32’ [-Wimplicit-function-declaration]
    _mm256_srli_epi32(B[j], 15));
    ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:87:3: error: ‘tt’ undeclared (first use in this function)
   tt = _mm256_or_si256(_mm256_slli_epi32(xa1, 15), \
   ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: warning: implicit declaration of function ‘_mm256_andnot_si256’ [-Wimplicit-function-declaration]
   __m256i tt; \
           ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:103:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:104:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:105:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:106:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:107:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:108:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:109:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:110:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:111:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:112:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:113:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:114:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:115:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:116:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:117:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:119:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:120:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:121:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:122:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:123:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:124:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:125:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:126:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:127:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:128:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:129:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:130:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:131:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:132:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:133:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:134:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:136:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:137:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:138:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:139:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:140:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:141:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:142:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:143:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:144:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:145:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:146:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:147:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:148:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:149:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:150:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:151:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:192:3: error: ‘tmp’ undeclared (first use in this function)
   tmp = xb; \
   ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:191:11: warning: implicit declaration of function ‘_mm256_sub_epi32’ [-Wimplicit-function-declaration]
   __m256i tmp; \
           ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:198:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x1], C[0x1], M(0x1));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:199:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x2], C[0x2], M(0x2));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:200:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x3], C[0x3], M(0x3));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:201:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x4], C[0x4], M(0x4));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:202:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x5], C[0x5], M(0x5));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:203:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x6], C[0x6], M(0x6));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:204:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x7], C[0x7], M(0x7));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:205:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x8], C[0x8], M(0x8));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:206:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x9], C[0x9], M(0x9));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:207:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xA], C[0xA], M(0xA));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:208:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xB], C[0xB], M(0xB));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:209:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xC], C[0xC], M(0xC));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:210:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xD], C[0xD], M(0xD));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:211:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xE], C[0xE], M(0xE));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:212:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xF], C[0xF], M(0xF));
   ^
crypto/mshabal.c:228:3: warning: implicit declaration of function ‘_mm256_storeu_si256’ [-Wimplicit-function-declaration]
   _mm256_storeu_si256((__m256i *)sc->state + j, A[j]);
   ^
crypto/mshabal.c:228:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j, A[j]);
                                 ^
crypto/mshabal.c:230:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j + 12, B[j]);
                                 ^
crypto/mshabal.c:231:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j + 28, C[j]);
                                 ^
make[2]: *** [crypto/cpuminer-mshabal.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
mv -f lyra2/.deps/cpuminer-Lyra2.Tpo lyra2/.deps/cpuminer-Lyra2.Po
mv -f crypto/.deps/cpuminer-aesb.Tpo crypto/.deps/cpuminer-aesb.Po
mv -f crypto/.deps/cpuminer-c_skein.Tpo crypto/.deps/cpuminer-c_skein.Po
make[2]: Выход из каталога `/home/drstas/cpuminer-multi'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/drstas/cpuminer-multi'
make: *** [all] Ошибка 2
strip: 'cpuminer': Нет такого файла
drstas@ubuntu:~/cpuminer-multi$

Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 11:29:32 AM
 #48

you need an avx2 arch to build that, add -march=native in CFLAGS if you have a 4th gen cpu (require a recent gcc too, was not handled on gcc 4.6)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 05, 2015, 12:00:51 PM
 #49

make clean distclean
./configure CFLAGS="-march=native"
...
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
...
make

And have error again.

drstas@ubuntu:~/cpuminer-multi$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

16 core CPU E5-2650

Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:15:18 PM
 #50

try my arm branch and use ./build.sh directly on it

CFLAGS are set in build.sh

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 05, 2015, 12:20:35 PM
 #51

# Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"


Error.

Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:25:04 PM
 #52

your cpu doesnt support AVX2... only AVX, i fixed the problem yesterday for travis (same answer for the i7-3770)

can compile AVX2 code != can execute, its only an assembler test at configure time

cat /proc/cpuinfo if you want to be sure :p but i'm

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 05, 2015, 12:37:32 PM
 #53

Sory, CPU E5630
E5-2650 in other vm.

How to disable AVX2 feature in configure script?

processor       : 14
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5630  @ 2.53GHz
stepping        : 2
microcode       : 0xc
cpu MHz         : 2533.423
cache size      : 12288 KB
physical id     : 28
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 28
initial apicid  : 28
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes

Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:39:55 PM
 #54

so use the latest git version... axiom branch, else you can try to add -mno-avx2

http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Options

Its not in my main branches (linux/windows) until all cases are tested, using avx2 only stuff in C is new (was only made in asm before)

be sure you have the version with #ifdef __AVX2__ in the code

CPU without AVX2 (i5 3570K) :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt


CPU with AVX2 (i5 4440) :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:59:41 PM
 #55

nicehash dev has published a (different) fix also for that, its why i work on different (temporary) axiom and arm branches :

https://github.com/nicehash/cpuminer-multi/commit/966e6b1def98a06b040f005d1d360f772896d3ff

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 05, 2015, 01:18:04 PM
 #56

rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 01:19:07 PM
 #57

rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step



dont have tested nicehash work ... its not me ^^ and was just uploaded

__m256i should be ifdefed (avx2)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
August 05, 2015, 08:34:45 PM
 #58

rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


this is horrible. use git pull!

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
PeaMine
Hero Member
*****
Offline Offline

Activity: 625


View Profile
August 06, 2015, 12:17:20 AM
 #59

What directions for CPU on Ubuntu without AVX support, just SSE4.2?
drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 07, 2015, 09:53:17 PM
 #60


...skip...

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


this is horrible. use git pull!

I would not ask any questions, if only it were that simple.
Try it for yourself, give advice, not shouts.

Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 07, 2015, 11:18:02 PM
 #61

begins with the readme...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 35


View Profile WWW
August 08, 2015, 07:51:53 AM
 #62

begins with the readme...

I can not read.
20 years as a system administrator, and did not learn to read.
I can give you access to the server, help, compile.  Grin

IMweasel
Newbie
*
Offline Offline

Activity: 29


View Profile
August 10, 2015, 04:20:42 PM
 #63

Dear Epsylon, i was thrilled you;
Planned support for
    scrypt-jane (YaCoin, CopperBars, Pennies, Tickets, etc..)

Any idea about when to expect this? Can't wait tot see the improved speeds in these coins!
Keep up the good work ;-)
gregbe
Newbie
*
Offline Offline

Activity: 14


View Profile
August 10, 2015, 04:44:30 PM
 #64

Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

Any chance you could compile new Windows binaries? I saw your repository has changes for the Lyra2REv2 fork, but they were made after your last windows release.
ajw7989
Legendary
*
Offline Offline

Activity: 910


View Profile
August 11, 2015, 02:25:33 PM
 #65

Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

Any chance you could compile new Windows binaries? I saw your repository has changes for the Lyra2REv2 fork, but they were made after your last windows release.

I compiled it for ya. Here it is (did it yesterday and used it fine):

https://mega.co.nz/#!eVZlgCDA!UiPBfUaeEEsKITPh2t2c_-4eBDNOB5noxgNNCYfD15Q

virustotal scan: https://www.virustotal.com/en/file/afc83ed72cc2a4b02424a91d41c0c8e170c345cd1d0513ef17a7d87adf3212cb/analysis/1439303005/
1/56 only because its a variant of a bitcoin miner
gregbe
Newbie
*
Offline Offline

Activity: 14


View Profile
August 11, 2015, 02:59:19 PM
 #66

Yes 5th and 8th posts one page ago... So plz... Read the readme or use windows binary

Any chance you could compile new Windows binaries? I saw your repository has changes for the Lyra2REv2 fork, but they were made after your last windows release.

I compiled it for ya. Here it is (did it yesterday and used it fine):

https://mega.co.nz/#!eVZlgCDA!UiPBfUaeEEsKITPh2t2c_-4eBDNOB5noxgNNCYfD15Q

virustotal scan: https://www.virustotal.com/en/file/afc83ed72cc2a4b02424a91d41c0c8e170c345cd1d0513ef17a7d87adf3212cb/analysis/1439303005/
1/56 only because its a variant of a bitcoin miner

Thanks, muchly appreciated!
Greg
tsatsur
Newbie
*
Offline Offline

Activity: 2


View Profile
August 12, 2015, 02:32:52 PM
 #67

ajw7989, could you please compile cpuminer gw64 version?  thanks
Jake-R
Full Member
***
Offline Offline

Activity: 126


View Profile
August 13, 2015, 06:43:52 PM
 #68

ajw7989, could you please compile cpuminer gw64 version?  thanks

I'd like this too. For the new Vertcoin algo.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 13, 2015, 08:24:06 PM
 #69

https://www.dropbox.com/s/62vjcieameo0ci7/cpuminer-gw64-lyra2rev2.exe

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Jake-R
Full Member
***
Offline Offline

Activity: 126


View Profile
August 13, 2015, 08:32:01 PM
 #70


Thank you. How do we get this upon the official release page (https://github.com/tpruvot/cpuminer-multi/releases)?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
August 13, 2015, 08:32:34 PM
 #71

when it will be officially released ... :p i got no infos from the Vertcoin team before my 1.1 release, so they will wait...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Jake-R
Full Member
***
Offline Offline

Activity: 126


View Profile
August 14, 2015, 04:41:15 AM
 #72

when it will be officially released ... :p i got no infos from the Vertcoin team before my 1.1 release, so they will wait...

Thank you for your dedication to the mining software Smiley
tsatsur
Newbie
*
Offline Offline

Activity: 2


View Profile
August 14, 2015, 09:57:43 AM
 #73

https[Suspicious link removed]

nice one! thanks:)
soloasi
Sr. Member
****
Offline Offline

Activity: 409



View Profile
September 03, 2015, 11:44:57 PM
 #74

hi!, just looking around something about cpu mining and found this topic, i wonder why my antivirus keeps saying "win32:malware-gen" .... antivirus Avast is it normal? ... want to try it but dont know...

Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 04, 2015, 12:18:16 PM
 #75

yes, its normal, and no way to fight against that... sigh

even when you compile it from source, its detected as a "bitcoin miner", which is true...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
-pANIC-
Newbie
*
Offline Offline

Activity: 11


View Profile
September 20, 2015, 03:54:18 PM
 #76

Are there any prerequisites in order to get this to work?  It keeps crashing with an "Unhandled exception has occurred in your application" when starting, here's a crash log:
https://gist.github.com/anonymous/985f5709bb783a917898


Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 20, 2015, 11:54:46 PM
 #77

The code from the axiom/nicehash branch is not from me, and the nicehash launcher is another project... from nicehash too

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
NiceHashSupport
Hero Member
*****
Offline Offline

Activity: 574



View Profile
September 21, 2015, 06:59:19 AM
 #78

Are there any prerequisites in order to get this to work?  It keeps crashing with an "Unhandled exception has occurred in your application" when starting, here's a crash log:
https://gist.github.com/anonymous/985f5709bb783a917898




Make sure you fully unzip all files before launching anything.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 21, 2015, 12:46:57 PM
 #79

i7 5775C (mingw64) :
Code:
[2015-09-21 14:46:14] CPU #7: 53.11 H/s
[2015-09-21 14:46:14] accepted: 2542/2545 (99.88%), 398.93 H/s yes!
[2015-09-21 14:46:16] axiom.maxminers.net:8962 axiom block 163566

i5 5675C (linux 64) :
Code:
[2015-09-21 14:43:36] CPU #3: 64.06 H/s
[2015-09-21 14:43:37] accepted: 3/3 (100.00%), 256.34 H/s yes!

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Jahvinci
Member
**
Offline Offline

Activity: 70



View Profile
September 24, 2015, 05:12:40 PM
 #80

Love your work with cpuminer-multi, great job!
chris190
Hero Member
*****
Offline Offline

Activity: 730



View Profile
September 24, 2015, 10:08:18 PM
 #81

I found a bug in the new cpuminer 1.2 with the new algorithm lyre2REv2.

It does not detect the address of payment even if the configuration is correct. How do you think can solve? I'm not the only one to have these problems!  Same problem with vertcoin and similar!




perhaps the solo cpu-gpu mining does not work with Lyra2REv2, I did the test with vtc in pool and It works great!

The old algorithm Lyra2re also works with solo cpu/gpu mining,  this not. I do not know why!  Huh


BitSend ◢◤Clients | Source
www.bitsend.info
| Your Digital Network | 10MB Blocks
| Algo: XEVAN | DK3 | Masternodes
| BSD - Tether USDT Pair ✔
| Bittrex | C.Gather | S.Exchange
| Cryptopia | LOCALCRYPTO | Livecoin
| CoinPayments | Faucet | Bitsend Airdrop

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 25, 2015, 06:03:51 AM
 #82

check the last VTC commits, their clones forgot to fix their getwork() function

Beware if you use the TIA wallet on windows, there is a trojan inside

And solo mining just use your master wallet address... not a problem. userpass is your rpc user and password, not an address

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
chris190
Hero Member
*****
Offline Offline

Activity: 730



View Profile
September 25, 2015, 08:00:54 AM
 #83

is not tia but mobilcash, new coin!

BitSend ◢◤Clients | Source
www.bitsend.info
| Your Digital Network | 10MB Blocks
| Algo: XEVAN | DK3 | Masternodes
| BSD - Tether USDT Pair ✔
| Bittrex | C.Gather | S.Exchange
| Cryptopia | LOCALCRYPTO | Livecoin
| CoinPayments | Faucet | Bitsend Airdrop

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 25, 2015, 08:05:03 AM
 #84

I'm trying this coin, its the first getauxblock coin i see... its supported by yaamp/yiimp

but... the getwork() and getblocktemplate() methods seems broken in this wallet... look like there is no hope until kopiemtu guy fix it

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
chris190
Hero Member
*****
Offline Offline

Activity: 730



View Profile
September 25, 2015, 08:10:58 AM
 #85

I'm trying this coin, its the first getauxblock coin i see... its supported by yaamp/yiimp

but... the getwork() and getblocktemplate() methods seems broken in this wallet... look like there is no hope until kopiemtu guy fix it

ok, thanks! Wink

BitSend ◢◤Clients | Source
www.bitsend.info
| Your Digital Network | 10MB Blocks
| Algo: XEVAN | DK3 | Masternodes
| BSD - Tether USDT Pair ✔
| Bittrex | C.Gather | S.Exchange
| Cryptopia | LOCALCRYPTO | Livecoin
| CoinPayments | Faucet | Bitsend Airdrop

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
grendel25
Hero Member
*****
Offline Offline

Activity: 868



View Profile
September 27, 2015, 09:46:36 PM
 #86

Is there any way to set the intensity at which it mines?  The CPUs go 100% and it would be nice to tone it down to 80 or 90%.  I thought maybe the temperature setting but that is only for Linux and I'm on Windows.

BTC: 12MRgfQTP5wGXaaFyFm7CXS6ebeUyerA4u
djm34
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
September 27, 2015, 11:33:58 PM
 #87

Is there any way to set the intensity at which it mines?  The CPUs go 100% and it would be nice to tone it down to 80 or 90%.  I thought maybe the temperature setting but that is only for Linux and I'm on Windows.
you need to use a smaller number of thread "-t #thread"

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
grendel25
Hero Member
*****
Offline Offline

Activity: 868



View Profile
September 28, 2015, 03:10:13 AM
 #88

Is there any way to set the intensity at which it mines?  The CPUs go 100% and it would be nice to tone it down to 80 or 90%.  I thought maybe the temperature setting but that is only for Linux and I'm on Windows.
you need to use a smaller number of thread "-t #thread"

But the cores still run at 100%.  Any way to get better control of how hard each core runs?

Edit: I found a program that is working:  http://mion.faireal.net/BES/

BTC: 12MRgfQTP5wGXaaFyFm7CXS6ebeUyerA4u
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 28, 2015, 07:29:12 AM
 #89

nice tool, i just made tests with usleep about that, its really hard to do at the algo loop level (different for each algo)

I see there are sources available, maybe that will help me to do it at the thread/process level..

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
grendel25
Hero Member
*****
Offline Offline

Activity: 868



View Profile
September 29, 2015, 02:17:46 AM
 #90

nice tool, i just made tests with usleep about that, its really hard to do at the algo loop level (different for each algo)

I see there are sources available, maybe that will help me to do it at the thread/process level..

Yes, it was promising but in the end I dropped it because it doesn't really manage the limitation very well.  It just cuts out and restarts which equates to really poor mining performance.  

I ended up downclocking my CPU just a tad and that's actually working out really well.  Mining Lyra at 1225kH/s on an Intel i7 5820K OC'd to 4.3GHz.  Was trying for 4.4 but seemed to be just at the edge of where it starts to fail when mining on anywhere between 10 and 12 threads (6-core processor).

That would be great if something better could be implemented similar to the intensity settings of GPU miners.

BTC: 12MRgfQTP5wGXaaFyFm7CXS6ebeUyerA4u
sanyok
Newbie
*
Offline Offline

Activity: 12


View Profile
October 06, 2015, 02:19:53 AM
 #91

Two days I'm trying to compile miner for Win x86 platform..

Visual Studio 2013 first errors was like this:
Code:
LNK2001: unresolved external symbol _libssh2_version
As solution was to move variable declaration at top of functions:

Code:
   json_t *status;

   // some code

   status = json_object_get(res_val, "status");

instead of:

Code:
json_t *status = json_object_get(res_val, "status");

When I tried to compile x86, VS asked me for libs: "libcurl.x84.lib openssl.x84.lib zlib.x84.lib", which was found here:
http://sourceforge.net/projects/curlforwindows/files/?source=navbar

Next errors was stronger than me (
Code:
Error 1 error LNK2001: unresolved external symbol _libssh2_version C:\Users\Bingo\Documents\Visual Studio 2013\tpruvot\cpuminer-multi-1.1-multi\libcurl.x86.lib(version.obj) cpuminer
Error 2 error LNK2001: unresolved external symbol _libssh2_exit C:\Users\Bingo\Documents\Visual Studio 2013\tpruvot\cpuminer-multi-1.1-multi\libcurl.x86.lib(easy.obj) cpuminer
Error 3 error LNK2001: unresolved external symbol _libssh2_init C:\Users\Bingo\Documents\Visual Studio 2013\tpruvot\cpuminer-multi-1.1-multi\libcurl.x86.lib(easy.obj) cpuminer

This is the end of VS story. I installed Mingw. Than in msys console from sources was compilled and installed curl, openssl, jansson, pthreads.
Compilation fails with:

Code:
$ make
make  all-recursive
make[1]: Entering directory `/go/tpruvot'
Making all in compat
make[2]: Entering directory `/go/tpruvot/compat'
make[3]: Entering directory `/go/tpruvot/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/go/tpruvot/compat'
make[2]: Leaving directory `/go/tpruvot/compat'
make[2]: Entering directory `/go/tpruvot'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign
 -Wno-pointer-to-int-cast   -g -O2  -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/c
puminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo
'./'`cpu-miner.c
In file included from miner.h:31:0,
                 from cpu-miner.c:48:
c:\mingw\include\pthread.h:321:8: error: redefinition of 'struct timespec'
 struct timespec {
        ^
In file included from c:\mingw\include\unistd.h:95:0,
                 from cpu-miner.c:21:
c:\mingw\include\parts\time.h:65:8: note: originally defined here
 struct timespec
        ^
In file included from cpu-miner.c:51:0:
compat/winansi.h:10:0: warning: "fileno" redefined [enabled by default]
 #define fileno(fd) _fileno(fd)
 ^
In file included from cpu-miner.c:16:0:
c:\mingw\include\stdio.h:595:0: note: this is the location of the previous defin
ition
 #define fileno(__F) ((__F)->_file)
 ^
cpu-miner.c: In function 'proper_exit':
cpu-miner.c:462:3: warning: implicit declaration of function 'GetConsoleWindow'
[-Wimplicit-function-declaration]
   HWND hcon = GetConsoleWindow();
   ^
cpu-miner.c:462:15: warning: initialization makes pointer from integer without a
 cast [enabled by default]
   HWND hcon = GetConsoleWindow();
               ^
cpu-miner.c: In function 'main':
cpu-miner.c:3009:15: warning: initialization makes pointer from integer without
a cast [enabled by default]
   HWND hcon = GetConsoleWindow();
               ^
make[2]: *** [cpuminer-cpu-miner.o] Error 1
make[2]: Leaving directory `/go/tpruvot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/go/tpruvot'
make: *** [all] Error 2

After googling, structure in pthread.h was commented.

Next errors I still can't resolve:

Code:
make  all-recursive
make[1]: Entering directory `/go/tpruvot'
Making all in compat
make[2]: Entering directory `/go/tpruvot/compat'
make[3]: Entering directory `/go/tpruvot/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/go/tpruvot/compat'
make[2]: Leaving directory `/go/tpruvot/compat'
make[2]: Entering directory `/go/tpruvot'
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -DCURL_STATICLIB -DO
PENSSL_NO_ASM -DUSE_ASM -O3 -Wall -D_REENTRANT -fmerge-all-constants  -I/usr/loc
al/include -I/usr/local/ssl/include icon.o -L/usr/local/ssl/lib -L/usr/local/lib
  icon.o -L/usr/local/ssl/lib -L/usr/local/lib  -o cpuminer.exe cpuminer-cpu-min
er.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak
.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skei
n.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o s
ha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o
 sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o
sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha
3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.
o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.
o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.
o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/
cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer
-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o
algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpum
iner-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o
algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-
myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-qu
ark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo
/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skei
n.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-
x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-n
eoscrypt_asm.o     -lcurl -lz -lssl -lcrypto -ljansson -lpthreadGC2
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin
d -lz
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cpuminer.exe] Error 1
make[2]: Leaving directory `/go/tpruvot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/go/tpruvot'
make: *** [all] Error 2
C:\MinGW\bin\strip.exe: 'cpuminer.exe': No such file

And when I installing zlib-1.2.8 I get:

Code:
cpuminer-api.o:api.c:(.text+0xd5a): undefined reference to `closesocket@4'
cpuminer-api.o:api.c:(.text+0xdf3): undefined reference to `closesocket@4'
cpuminer-api.o:api.c:(.text+0x12d5): undefined reference to `send@16'
cpuminer-api.o:api.c:(.text+0x13aa): undefined reference to `send@16'
cpuminer-api.o:api.c:(.text+0x1432): undefined reference to `send@16'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x4cd): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x5bf): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xba3): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xbbe): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xbd9): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xbf4): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xc0f): undefined reference to
`fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xc2a): more undefined referenc
es to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xd87): undefined reference to
`fast_aesb_single_round'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xdfd): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xe79): undefined reference to
`fast_aesb_single_round'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0xeef): undefined reference to
`mul128'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x100a): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x1045): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x1084): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x10c3): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x1102): undefined reference to
 `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:cryptonight.c:(.text+0x113d): more undefined referen
ces to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-pluck.o:pluck.c:(.text+0x3348): undefined reference to `htonl@4'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0x50): undefined reference to `sha256_use
_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0x7b4): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xbfe): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xc18): undefined reference to `sha256_in
it_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xc70): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xc7c): undefined reference to `sha256_in
it_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xcd3): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xd02): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xe3a): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xe68): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xeeb): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf05): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf1f): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf32): undefined reference to `scrypt_co
re'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xf81): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xfa0): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xfbc): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-scrypt.o:scrypt.c:(.text+0xffd): undefined reference to `sha256_tr
ansform_4way'
algo/cpuminer-sha2.o:sha2.c:(.text+0x3e84): undefined reference to `sha256_use_4
way'
algo/cpuminer-sha2.o:sha2.c:(.text+0x9732): undefined reference to `sha256d_ms_4
way'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: e (GROUP_ICON) name: 0 lang: 409
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: 3 (ICON) name: 3 lang: 409
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: 3 (ICON) name: 2 lang: 409
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .rsrc merg
e failure: duplicate leaf: type: 3 (ICON) name: 1 lang: 409
collect2.exe: error: ld returned 1 exit status
make[2]: *** [cpuminer.exe] Error 1
make[2]: Leaving directory `/go/tpruvot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/go/tpruvot'
make: *** [all] Error 2
C:\MinGW\bin\strip.exe: 'cpuminer.exe': No such file

When uninstalling, it fails with a previous error.
What should I try more? What I forget?

p.s.
I already read "you need to install the dev packages", but what ***-dev packages are still pending in my set?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 06, 2015, 02:29:15 AM
 #92

You can find the vs2013 x86 lib in my ccminer project... These prebuilt libs are huge so didnt add it to this project because x64 is faster...

Else ssh stuff is not included in our curl... And i dont build mingw32 binaries

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
sanyok
Newbie
*
Offline Offline

Activity: 12


View Profile
October 06, 2015, 02:44:59 AM
 #93

You can find the vs2013 x86 lib in my ccminer project... These prebuilt libs are huge so didnt add it to this project because x64 is faster...

Hmm, I will be able to compile x86 miner without adding to project x86 libs? Just to place them in folder, yes?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 06, 2015, 02:49:25 AM
 #94

Try and learn... A forum is not a chat.. Check the vcxproj content

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
mytool
Newbie
*
Offline Offline

Activity: 1


View Profile
October 26, 2015, 08:21:00 AM
 #95

Hi Epsylon3
Is it possible to support encrypted cpuminer-conf.json, such as base64?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
October 26, 2015, 08:31:26 AM
 #96

nope, do it if you find that useful :p

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
skycatbg
Newbie
*
Offline Offline

Activity: 3


View Profile
October 30, 2015, 03:58:46 AM
 #97

Hi Epsylon,

greetings for great job around cpu-miner - this is very good result for me.. Smiley

I also have little troubles with compiling x86 version, who can work with automatic start from .json config file..

Can you compile one copy for me please?

regards


Edit: My x64 version also no work with .json file.. maybe I miss something...

Anyone can help me to compile two wersions with work .json option file please?

Thanks
Andrelvogue
Full Member
***
Offline Offline

Activity: 140


View Profile
October 30, 2015, 08:19:17 AM
 #98

Good Job! Dude thank you for the information.
wladston
Full Member
***
Offline Offline

Activity: 147


Always remember to be awesome.


View Profile WWW
November 20, 2015, 07:21:17 PM
 #99

I could not get it to build on OS X. I've been trying to fix this for over 6 hours, so maybe this could help someone.

I'm on Mac OS X 10.11.1. Here is what I'm doing, exactly a per README instructions:

Code:
git clone https://github.com/tpruvot/cpuminer-multi.git && cd cpuminer-multi
./autogen.sh && chmod +x nomacro.pl && ./nomacro.pl
./configure --with-curl --with-crypto=/opt/local CFLAGS="-march=native"
make

I am presented with an error about macros. You moved the asm sources into an "asm" folder, but you didn't change the nomacro.pl to parse files in that folder. So I try again:

Code:
git clone https://github.com/tpruvot/cpuminer-multi.git && cd cpuminer-multi
./autogen.sh && chmod +x nomacro.pl && cd asm && ../nomacro.pl && cd ..
./configure --with-curl --with-crypto=/opt/local CFLAGS="-march=native"
make

Then I get this following error (full compile log is here: http://pastebin.com/nj0hQnTa)

Code:
Undefined symbols for architecture x86_64:
  "_neoscrypt_blkcpy", referenced from:
      _neoscrypt in cpuminer-neoscrypt.o
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_blkswp", referenced from:
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_blkxor", referenced from:
      _neoscrypt in cpuminer-neoscrypt.o
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_chacha", referenced from:
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_salsa", referenced from:
      _neoscrypt_blkmix in cpuminer-neoscrypt.o
  "_neoscrypt_salsa_tangle", referenced from:
      _neoscrypt in cpuminer-neoscrypt.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It seems like this ASM code isn't working for neoscrypt, for some reason... So I try again once more now disabling ASM manually

Code:
git clone https://github.com/tpruvot/cpuminer-multi.git && cd cpuminer-multi
./autogen.sh && chmod +x nomacro.pl && cd asm && ../nomacro.pl && cd ..
./configure --with-curl --with-crypto=/opt/local CFLAGS="-march=native"
perl -p -i -e "s/#if \(WINDOWS\)/#define ASM 0\n#if (WINDOWS)/g" algo/neoscrypt.c
make

Now it worked Smiley


Love programming? Checkout my book at http://code.energy/book
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
November 21, 2015, 03:50:39 AM
 #100

tx for the report, i fixed the chmod and the asm/ path in the script

not sure that fix the neoscrypt problem but its a start :p

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Chicago
Full Member
***
Offline Offline

Activity: 235


View Profile
January 06, 2016, 03:36:54 AM
 #101

Hi Epsylon3,

    Thanks for your work on this cpuminer.

    Would you kindly share a couple of more examples for --cpu-affinity usage.
    Also, sorry for being ignorant here, but the --help shows the --nfactor as "neoscrypt N-Factor" and I was figuring if it were to be followed by a value it my look better as --nfactor=N.

    Is that right?

Kind Regards,
-Chicago
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 06, 2016, 07:56:27 AM
 #102

for the cpu-affinity, its a binary mask

so for cores 0 and 2, it's 2^0 + 2^2 = 1 + 4 = 5
and for 1 and 7 its 2^1 + 2^7 = 2 + 128 = 130

ive seen some people doing a commit about that, maybe there is something to fix but seems ok here.

Code:
 1  [||||||||||||||||||||||||||||||||||100.0%]     Tasks: 71, 61 thr; 3 running
  2  [                                    0.0%]     Load average: 2.91 6.26 7.42
  3  [||||||||||||||||||||||||||||||||||100.0%]     Uptime: 174 days(!), 13:19:10
  4  [|                                   0.6%]
  5  [|                                   0.6%]
  6  [|                                   0.6%]
  7  [|||                                 3.8%]
  8  [                                    0.0%]
  Mem[|||||||||||||||||||||||||||||1182/7970MB]
  Swp[|                              6/14709MB]

For neoscrypt, i never used the N factor, its for possible variants of the algo (never seen)

the "=" symbol is optional on the command line

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Chicago
Full Member
***
Offline Offline

Activity: 235


View Profile
January 06, 2016, 03:08:08 PM
 #103

Thanks Epsylon3,

    I will test the cpu-affinity with the binary mask as you have described.

    Just 4 cores accessible on this box but I can get on a few larger systems where it would be more complex and I can put together a table.

Kind Regards,
-Chicago
Chicago
Full Member
***
Offline Offline

Activity: 235


View Profile
January 06, 2016, 04:41:05 PM
 #104

Hi Epsylon3,

    Okay, the cpu-affinity makes sense to me now.

    The confusing piece was having { "threads": 0 } along with any defined cpu-affinity, because in that case all of the available processors would be put to use.
    But, once I adjusted my json to have { "threads": 2 } along with { "cpu-affinity": 12 }, cpuminer ran on just the last two cores as expected.

    Thanks again for describing how the binary mask works.

    Next question is about the max-temp option.
    At idle, lm-sensors reports my Q9550 Intel Core2 Quad CPU with the following temperature.

    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +44.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 1:       +42.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 2:       +44.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 3:       +44.0°C  (high = +78.0°C, crit = +100.0°C)

----------

    To test the capability of max-temp, I set { "threads": 0 } and { "cpu-affinity": 15 } in order to run on all cores and let cpuminer-multi heat up the CPU for a little bit.

    A short while later, lm-sensors reported the following.

    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +60.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 1:       +53.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 2:       +55.0°C  (high = +78.0°C, crit = +100.0°C)
    Core 3:       +58.0°C  (high = +78.0°C, crit = +100.0°C)

    Within my json configuration I have set { "max-temp": 45 }, expecting cpuminer-multi to shutoff nearly as quickly as it started.
    Unfortunately, it appears cpuminer-multi does not register my temperature.

    The summary report from the miner's API outputs a TEMP=0.0.

    telnet 127.0.0.1 4048
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    summary
    NAME=cpuminer-multi;VER=1.2-dev;API=1.1;ALGO=x15;CPUS=4;KHS=0.00;SOLV=0;ACC=0;REJ=0;ACCMN=0.000;DIFF=2.450681;TEMP=0.0;FAN=0;FREQ=0;UPTIME=354;TS=1452097962|Connection closed by foreign host.

    I don't know if this is related, but note above KHS=0.00 as well.

    However, the threads report from the miner's API outputs actual decimal values.

    telnet 127.0.0.1 4048
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    threads
    CPU=0;KHS=17.45|CPU=1;KHS=17.78|CPU=2;KHS=16.07|CPU=3;KHS=16.27|Connection closed by foreign host.

    Any suggestions would be greatly appreciated.

    Thanks so much for your kind support.

Kind Regards,
-Chicago
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 06, 2016, 04:59:41 PM
 #105

you need to "modprobe coretemp" kernel module which is common but not loaded automatically

else the api hashrate stats are only updated on shares (you need at least one accept or reject) its there cpuminer do the sum of all threads

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Chicago
Full Member
***
Offline Offline

Activity: 235


View Profile
January 06, 2016, 05:38:53 PM
 #106


  CONFIG_SENSORS_CORETEMP is built-in to the kernel

    I figured the sensor reporting through lm-sensors is using the coretemp driver since it shows "coretemp-isa-0000" as I pasted in the earlier post.
    The kernel documentation says CONFIG_SENSORS_CORETEMP is good for family 6 Core2 processors.
    The /proc/cpuinfo output from my CPU would appear to meet that condition.

    Any way to debug it?
    I'll try on another system to see if temperature is reported via the API there.
    Also, any thoughts on whether the checkout from HEAD could be problematic?
    I'm using the commit from 12/27/2015, fb137363702141114c45c3e20a5aecb4c69cd919

Kind Regards,
-Chicago

    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 23
    model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
    stepping        : 10
    microcode       : 0xa0b
    cpu MHz         : 2826.259
    cache size      : 6144 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 4
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
    bugs            :
    bogomips        : 5652.51
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 06, 2016, 05:41:13 PM
 #107

in recent kernels and/or cpu its :
Code:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +65.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:         +64.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:         +64.0°C  (high = +80.0°C, crit = +100.0°C)

note the extra physical one.. if required, edit sysinfos.c

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
January 11, 2016, 07:16:13 PM
 #108

in recent kernels and/or cpu its :
Code:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +66.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +65.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:         +64.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:         +64.0°C  (high = +80.0°C, crit = +100.0°C)

note the extra physical one.. if required, edit sysinfos.c

I have a couple of questions.

While mining some algos I get very few accepts and in some case none for over 30 minutes. Also the hash
rate reported at the pool is very low or zero, much lower than the miner's display.

I presume that no blocks are being found because there are no validation errors and no rejects. Is this a
difficulty issue and is there a way around it?

I also have a question about lyra2v2. I was looking forward to it due to the exceptional performance of cpuminer-multi
on lyra2 (v1). IIRC you were stuck because one of the sub-algos was non standard. Is there any progress or have you
dropped it for other projects?

I'm also working on something you might be interested in, more on that at a later time.

Edit: I sorted out the low hash rate issue, the problem was at my end.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
mobidirmob
Full Member
***
Offline Offline

Activity: 199


View Profile
January 15, 2016, 10:32:40 AM
 #109

i never mining its very dificult

thankyou.............
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
January 16, 2016, 04:39:48 AM
 #110

i never mining its very dificult

thankyou.............

And dangerous.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
djm34
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
January 16, 2016, 06:47:04 PM
 #111

i never mining its very dificult

thankyou.............

And dangerous.
Grin

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
gregbe
Newbie
*
Offline Offline

Activity: 14


View Profile
January 27, 2016, 01:36:10 PM
 #112

Would someone be kind enough to post a compiled version for Windows of the newest release?

Thanks!
geenius
Member
**
Offline Offline

Activity: 97


View Profile
February 03, 2016, 06:44:23 PM
 #113

Hi,
can someone help me how to configure this cpuminer-multi to use multiple pools? I mean in case when the first one will be down. If yes, could the second pool use different algo?
Thank you
Gee  Smiley
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 03, 2016, 07:51:25 PM
 #114

its not yet in current version... Only made tests in a branch which need to be rebased... in 1.3 maybe

else yes, will do some binaries... but most were already published by cryptominingblog and by the Vanilla team

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
coinsplz777
Member
**
Offline Offline

Activity: 60


View Profile
February 05, 2016, 11:09:47 PM
 #115

Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd

Thanks
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
February 06, 2016, 01:22:59 AM
 #116

Hi,
can someone help me how to configure this cpuminer-multi to use multiple pools? I mean in case when the first one will be down. If yes, could the second pool use different algo?
Thank you
Gee  Smiley

I usually use a script for that., whether windows or linux. There are even some GUI managers that can be
a front end for profit switching and failover.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
February 06, 2016, 01:24:47 AM
 #117

Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd

Thanks

Forgive me for barging in to Epsylon3's thread, but can you tell me more about his algo? What coins use it
and are they in any pools?

I might have a look at it.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
coinsplz777
Member
**
Offline Offline

Activity: 60


View Profile
February 06, 2016, 02:11:46 AM
 #118

Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd

Thanks

Forgive me for barging in to Epsylon3's thread, but can you tell me more about his algo? What coins use it
and are they in any pools?

I might have a look at it.
Hi joblo, this algorithm is only used on riecoin, this is the official thread https://bitcointalk.org/index.php?topic=446703.4380
its a good coin for cpu mining, and there are currently 2  pools, you can check them in the official thread.


Regards.
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
February 06, 2016, 04:10:08 AM
 #119

Hello Epsylon3, do you think you could add the riecoin algo?

this is the official miner (cpuminer-rminerd) : https://github.com/gatra/cpuminer-rminerd

Thanks

Forgive me for barging in to Epsylon3's thread, but can you tell me more about his algo? What coins use it
and are they in any pools?

I might have a look at it.
Hi joblo, this algorithm is only used on riecoin, this is the official thread https://bitcointalk.org/index.php?topic=446703.4380
its a good coin for cpu mining, and there are currently 2  pools, you can check them in the official thread.


A recent post would suggest the CPU mining days are over. Could just be FUD.

I'll look into merging it with cpuminer-opt.


Edit: follow me here...

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
coinsplz777
Member
**
Offline Offline

Activity: 60


View Profile
February 06, 2016, 01:22:21 PM
 #120

A recent post would suggest the CPU mining days are over. Could just be FUD.

I'll look into merging it with cpuminer-opt.


Edit: follow me here...

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

they were talking about primecoin  wich is only gpu since more than a year ago, riecoin is still only cpu for now.

also the miner I posted before, from gatra, is not the most new or optimized but since it was a fork from cpuminer I thought it would be easier to add it to this miner, just like copy pasting Wink

the latest miner for riecoin is here https://github.com/dave-andersen/fastrie , one of the pool owners optimized this miner for the intel cpus but he have it closed source for now.
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
February 06, 2016, 03:50:39 PM
 #121

A recent post would suggest the CPU mining days are over. Could just be FUD.

I'll look into merging it with cpuminer-opt.


Edit: follow me here...

https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

they were talking about primecoin  wich is only gpu since more than a year ago, riecoin is still only cpu for now.

also the miner I posted before, from gatra, is not the most new or optimized but since it was a fork from cpuminer I thought it would be easier to add it to this miner, just like copy pasting Wink

the latest miner for riecoin is here https://github.com/dave-andersen/fastrie , one of the pool owners optimized this miner for the intel cpus but he have it closed source for now.

I can't do much if it's closed source.

What about the original? Why don't you use it?

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
coinsplz777
Member
**
Offline Offline

Activity: 60


View Profile
February 06, 2016, 05:21:39 PM
 #122

yes I could use it, however I wanted to work with visual studio, since its easier for me, I don't know much about linux.

I don't need an optimized version just wanted to look at the code, see how it works, see if I could improve it  etc.. for fun Grin

Thanks nonetheless
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 06, 2016, 11:10:44 PM
 #123

test branch here : https://github.com/tpruvot/cpuminer-multi/tree/riecoin-test

which contains also m7m and velvet algos (all require the gmp/mpir lib) << no support on that Wink

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
LYZPFQ
Newbie
*
Offline Offline

Activity: 3


View Profile
February 18, 2016, 09:38:26 AM
 #124

Hi there,
First of all, great app created to mine. It has a lots of nice feats.

Second, HELP!

I've been trying to figure out how to use multiple pools in the json file, but I can't seem to find the option to make it happen, or the say to configure it.
Has that option been added in the first place to the miner? If so, how can I set it in my json file?
If not, will it be implemented in the near future?

Thanks in advance and keep up the good work for the devs!
skycatbg
Newbie
*
Offline Offline

Activity: 3


View Profile
February 22, 2016, 04:42:29 AM
 #125

Hi again.

I again need help.

I use this .json file:
{
   "_comment1" : "Any long-format command line argument ",
   "_comment2" : "may be used in this JSON configuration file",

   "api-bind" : "127.0.0.1:4048",

   "url": "stratum+tcp://address:port",
   "user" : "user:worker",
   "pass" : "X",

   "algo" : "sha256d",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

   "on-idle" : 30,
   "on-idle-low" : 30,


   "background" : true,
   "quiet" : true
}

My idea: cpuminer will work when I am away from PC and when I use my pc, cpuminer will sleep.. BUT my CPUminer work all time to 100% from my CPU and I dont know where is my mystake.. Before time I use same configuration file to mine Dark coin with    "algo" : "x11",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

and all work great. Some weeks after this I no use CPUminer. When I change my .json file with new settings for new pool (for bitcoins), my miner work all time to max CPU.
Please help me to repair my settings. I want to use all time my cpuminer without stop, but when I use my pc, I want to set "sleep" mode to this program.

I use version from May  16th. 2015 for x64 windows (cpuminer-gw64)

thanks
geenius
Member
**
Offline Offline

Activity: 97


View Profile
February 24, 2016, 10:56:34 PM
 #126

Hi again.

I again need help.

I use this .json file:
{
   "_comment1" : "Any long-format command line argument ",
   "_comment2" : "may be used in this JSON configuration file",

   "api-bind" : "127.0.0.1:4048",

   "url": "stratum+tcp://address:port",
   "user" : "user:worker",
   "pass" : "X",

   "algo" : "sha256d",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

   "on-idle" : 30,
   "on-idle-low" : 30,


   "background" : true,
   "quiet" : true
}

My idea: cpuminer will work when I am away from PC and when I use my pc, cpuminer will sleep.. BUT my CPUminer work all time to 100% from my CPU and I dont know where is my mystake.. Before time I use same configuration file to mine Dark coin with    "algo" : "x11",
   "threads" : 0,
   "cpu-priority" : 0,
   "cpu-affinity" : -1,

and all work great. Some weeks after this I no use CPUminer. When I change my .json file with new settings for new pool (for bitcoins), my miner work all time to max CPU.
Please help me to repair my settings. I want to use all time my cpuminer without stop, but when I use my pc, I want to set "sleep" mode to this program.

I use version from May  16th. 2015 for x64 windows (cpuminer-gw64)

thanks


I do not know how it is on Linux, but on windows you can configure starting/stopping the cpu miner in Scheduled Tasks. I also have configured it. I have 8 cores and when I lock windows, all cores are hashing and after ulock only 4 cores are hashing. You can also configure starting the miner when computer is idle (locked or unlocked) and when you move mouse cursor or press any key the mirer ends. You can configure all these features in Scheduled Tasks or eventually combine it with batch files.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 24, 2016, 11:18:41 PM
 #127

rmm, these idle settings doesn't exists in my version... someone already asked about this feature and i heard there is a tool to do it...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
geenius
Member
**
Offline Offline

Activity: 97


View Profile
February 24, 2016, 11:44:01 PM
 #128

rmm, these idle settings doesn't exists in my version... someone already asked about this feature and i heard there is a tool to do it...


Windows 7 has this feature and 8.1 too. But i do not have Windows 10, but i think it should be there too. The "idle" setting is under the Triger tab when creating a new task, but in this case it is better not to use a batch but put all the comands under the Action tab, executable only into the "Program" field and all other options into the "Arguments" field. Do not forget to configure the "Start in" field where the miner is located (no spaces and no quotes). And under the Contitions tab there is another part of the "idle" settings. There you can customize when the job should start. I can share my config (screenshots) but not today, because that is on my work computer. Or mabye I can share exported job as XML if someone wants.  Smiley
skycatbg
Newbie
*
Offline Offline

Activity: 3


View Profile
February 25, 2016, 04:39:04 AM
 #129

rmm, these idle settings doesn't exists in my version... someone already asked about this feature and i heard there is a tool to do it...


I think with "   "on-idle" : 30,    "on-idle-low" : 30," - this will fine - when my cpu is not used, cpuminer start work and when I start some application and CPU is highter than 30%, cpuminer will "sleeping" with    "cpu-priority" : 0,   "cpu-affinity" : -1. With older wersion when I mining DarkCoin, this work great, but now I change pool for Bitcoins and another stufs. Now this options no work for me - CPU always is 100% bussy - cpuminer no read "on-idle" settings..
LYZPFQ
Newbie
*
Offline Offline

Activity: 3


View Profile
February 25, 2016, 08:27:28 AM
 #130

Second, HELP!

I've been trying to figure out how to use multiple pools in the json file, but I can't seem to find the option to make it happen, or the say to configure it.
Has that option been added in the first place to the miner? If so, how can I set it in my json file?
If not, will it be implemented in the near future?


Anyone having any thoughts on this part?
It would be nice if someone could figure this out for me.

Thanks!
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 25, 2016, 01:10:17 PM
 #131

in the next version...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
LYZPFQ
Newbie
*
Offline Offline

Activity: 3


View Profile
February 29, 2016, 07:50:22 AM
 #132

in the next version...

You are my hero!  Grin

Thanks!!!
Chicago
Full Member
***
Offline Offline

Activity: 235


View Profile
March 04, 2016, 01:59:19 AM
 #133

Hello Epsylon3,

    An "Unrecognized block version: 5" comes up in the logs if one attempts to use cpuminer-multi with Graincoin.
    I understand various staking coins may sometimes use different block versions.

    Pooler made a commit to address block version 4 back in November of 2015 for Bitcoin.

   
   
    there is some problem in block version
    Unrecognized block version: 4
   
    on latest bitcoin wallet 0.11.99
   
   
    Thank you for pointing this out. I've just pushed a commit to the git repo to support the new block version.
   

    Should cpuminer-multi users wishing to hash on blockchains with different block versions plan to patch their sources?
    If so, how would you want it coded and would you want to see a PR?

    What would you do?
    Is general support for oddball block versions a bad idea?

Kind Regards,
-Chicago
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
March 04, 2016, 07:51:54 PM
 #134

its only a gbt thing specific to bitcoin, so we dont care

its also why the getblocktemplate implementations are a bad idea directly in the miners

i will remove this useless warning...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 420


View Profile
March 10, 2016, 08:02:25 AM
 #135

I'm wondering how to setup MinGW64 correctly on my system. The link on the github page seems to point to only a 32-bit MinGW system.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
March 10, 2016, 04:34:23 PM
 #136

its not easy indeed... and didnt found a fully "stable" distribution yet. had to mix some components.

Here is a base, http://ccminer.org/mingw64/

but ive recently tried to install it on a new machine and ive seen some perl issues...

There is a newer one, based on msys2, but i was unable to make proper binaries with it yet, all cygwin based solutions seems to be a full crap...

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 420


View Profile
March 10, 2016, 05:16:12 PM
 #137

its not easy indeed... and didnt found a fully "stable" distribution yet. had to mix some components.

Here is a base, http://ccminer.org/mingw64/

but ive recently tried to install it on a new machine and ive seen some perl issues...

There is a newer one, based on msys2, but i was unable to make proper binaries with it yet, all cygwin based solutions seems to be a full crap...

Okay. I find it easy to build on linux, but having trouble with the amd/nvidia dual mix for the GPU's. I use the pre-compiled version of multi-1.2-dev win build from crypto mining blog, but it is shockingly poor on some algos compared to the linux build. The few mingw64 installations I tried didn't seem to fit the bill. I hope I can get linux working on my system, so much better as a development platform.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
gimomars
Jr. Member
*
Offline Offline

Activity: 34


View Profile
August 03, 2016, 01:03:41 AM
 #138

Hi guys, I'm new to mining. I want to install it in my openSuSE linux. But I don't know how. Any help please.

Thanks,
gklia
Newbie
*
Offline Offline

Activity: 10


View Profile
August 19, 2016, 02:20:41 AM
 #139

Hello all, I try compile in my visual studio 2013 on win7 x64 but recive many erros:
Code:
Error 6 error C2275: 'uint8_t' : illegal use of this type as an expression Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 7 error C2146: syntax error : missing ';' before identifier '_temp' Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 8 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 9 error C2059: syntax error : ']' Z:\cpuminer-multi\crypto\oaes_lib.c 345 1 cpuminer
Error 10 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 353 1 cpuminer
Error 11 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 353 1 cpuminer
Error 12 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 355 1 cpuminer
Error 13 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 355 1 cpuminer
Error 14 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 356 1 cpuminer
Error 15 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 356 1 cpuminer
Error 16 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 357 1 cpuminer
Error 17 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 357 1 cpuminer
Error 18 error C2065: '_temp' : undeclared identifier Z:\cpuminer-multi\crypto\oaes_lib.c 358 1 cpuminer
Error 19 error C2109: subscript requires array or pointer type Z:\cpuminer-multi\crypto\oaes_lib.c 358 1 cpuminer
Error 20 error C2143: syntax error : missing ';' before 'const' Z:\cpuminer-multi\algo\drop.c 189 1 cpuminer
Error 21 error C2065: 'htarg' : undeclared identifier Z:\cpuminer-multi\algo\drop.c 195 1 cpuminer
Warning 1 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\dump.c 232 1 cpuminer
Warning 2 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\error.c 59 1 cpuminer
Warning 3 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\load.c 875 1 cpuminer
Warning 4 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data Z:\cpuminer-multi\compat\jansson\utf.c 170 1 cpuminer
Warning 5 warning C4244: '=' : conversion from 'SOCKET' to 'int', possible loss of data Z:\cpuminer-multi\api.c 617 1 cpuminer
Warning 22 warning C4018: '<=' : signed/unsigned mismatch Z:\cpuminer-multi\algo\drop.c 195 1 cpuminer
Warning 23 warning C4013: 'sprintf' undefined; assuming extern returning int Z:\cpuminer-multi\compat.h 78 1 cpuminer
Warning 24 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data Z:\cpuminer-multi\sha3\sph_fugue.c 746 1 cpuminer
Warning 25 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data Z:\cpuminer-multi\sha3\sph_fugue.c 807 1 cpuminer
Warning 26 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data Z:\cpuminer-multi\sha3\sph_fugue.c 867 1 cpuminer
not showing up this error in the code, but some parameter visual studio, please help me.
Thank a lot!
lefthand2006
Newbie
*
Offline Offline

Activity: 2


View Profile
August 20, 2016, 03:23:03 AM
 #140

https[Suspicious link removed]

This file is gone,  Shocked Could you publish it again? PLS
torsh
Newbie
*
Offline Offline

Activity: 5


View Profile
August 27, 2016, 07:29:14 PM
 #141

Hi, if not difficult to give a reference to the 32-bit version, it's desirable cpuminer-multi v1.2,sorry for my English... 
lefthand2006
Newbie
*
Offline Offline

Activity: 2


View Profile
August 28, 2016, 04:01:03 AM
 #142

well, finally I managed to make a cpuminer-gw64 binary that supports lyra2rev2 and works for 64bit windows xp and 2003. In case somebody wants it, I put it on my webiste: http://ido.fm
monerol
Jr. Member
*
Offline Offline

Activity: 40


View Profile
September 13, 2016, 04:39:10 PM
 #143

You can point that miner to pool.monero.org to mine monero
Code:
minerd -a cryptonight -o stratum+tcp://pool.monero.org:3333 -u YOUR_WALLET_ADDRESS -p x
levocoin
Jr. Member
*
Offline Offline

Activity: 42


View Profile
September 15, 2016, 03:30:39 PM
 #144

cpuminer --help to get the help :p -b is api-bind

0.0.0.0 allow to bind to the network (nice to monitor linux servers) -b 0 disable it, and -b 127.0.0.1:4048 means only allow api calls from localhost (default)

Stratum connection timed out just mean you were disconnected, pool server restart or network disconnect... but it should reconnect automatically to send the next shares

This is the error to which I am referring. Is it the miner? The Stratum? The internet? It happens about every 15 minutes:




Do you got any Solution i am also getting error
Longsnowsm
Sr. Member
****
Offline Offline

Activity: 462


View Profile
September 18, 2016, 08:14:31 PM
 #145

I just downloaded the windows binaries and tried to run them with yescrypt.  Does not look like yescrypt is included in the Windows build?  Any chance that can be added?  The description says yescrypt is supported, but I don't see it when trying to start the miner or with the --help output. 

Lafu
Sr. Member
****
Offline Offline

Activity: 406


www.cryptopia.co.nz


View Profile WWW
September 19, 2016, 01:22:17 PM
 #146

Try

cpuminer -a cryptonight -o stratum+tcp://yourPool:port -u yourwalletadress.Payment Id -p x
or
minerd -a cryptonight -o stratum+tcp://yourPool:port -u yourwalletadress.Payment Id -p x


            
                          
                    
                       ▄███████▄ 
                      ███████████   
                     █████████████   
          ▄████████▄  ███████████   
         ████████████  ▀███████▀  
        ██████████████ 
         ████████████  ▄████████▄  
          ▀████████▀  ████████████
                     ██████████████ 
                      ████████████
                       ▀████████▀
     

..Cryptopia..██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
.★★★ Cryptocurrency Platform Services ★★★ 
...Exchange | Mineshaft |  Marketplace | Rewards | CoinInfo 
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
.f. ▄████████████████████████████████████▄
████████████████████████████████████████
████████████████████████████████████████
████████████████████████████████████████
█████████▀████████████▀▀▀▀▀██▀██████████
█████████  ▀████████          ▀█████████
██████████    ▀▀████          ██████████
█████████▀▀                  ███████████
██████████                  ▄███████████
███████████▀               ▄████████████
████████████▄▄▄           ▄█████████████
█████████▀▀▀▀         ▄▄████████████████
███████████▄▄▄▄▄▄▄▄▄▄███████████████████
████████████████████████████████████████
████████████████████████████████████████
████████████████████████████████████████
 ▀████████████████████████████████████▀
       ███  ██
       ███  ██
  ██████████████
  ████████████████▄
  ▀▀▀█████▀▀▀▀███████
     █████     ██████
     █████▄▄▄▄█████▀
     ████████████████
     █████▀▀▀▀▀▀█████▄
     █████      ██████
     █████▄▄▄▄▄▄█████
  ███████████████████
  ██████████████
       ███  ██
       ███  ██
ReDiculum
Newbie
*
Offline Offline

Activity: 4


View Profile
September 21, 2016, 03:30:01 PM
 #147

Hi

Is it possible to compile it only with neoscrypt algo support and get rid of all the others? Is there an option or do I have to modify the Makefile completely?

Regards
ReDiculum
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
September 21, 2016, 03:45:03 PM
 #148

no

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Krisliu
Newbie
*
Offline Offline

Activity: 8


View Profile
October 17, 2016, 11:05:55 AM
 #149

Hey buddy Smiley, can you help me please. I installed ubuntu and I would like to launch this wonder. Regards
LithStud
Newbie
*
Offline Offline

Activity: 6


View Profile
November 14, 2016, 08:59:15 AM
 #150

Hey!

Can someone help me and explain how could i compile this on linux mint but use on another pc? just doing build works on pc that built it but another pc complains  "error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory"
Geograph
Newbie
*
Offline Offline

Activity: 3


View Profile
November 30, 2016, 09:25:32 PM
 #151

Epsylon3, thank you for your soft!

I tried reduce CPU load by adding usleep(ms) function in cryptonight algo, but I always get stratum-errors:
Code:
stratum_recv_line failed
Stratum connection interrupted

I read that stratum-connection close after 60-90 sec idle, but stratum-connection runned in other thread isn't it? May be sleep blocking stratum-thread and I need some non-blocking sleep?

May be I add sleep in wrong place?
I add it in file ./algo/cryptonight.c function name "cryptonight_hash_ctx", in cycle:
Code:
for (i = 0; likely(i < MEMORY); i += INIT_SIZE_BYTE) {   

I also tried nanosleep() and cgsleep_ms() from cgminer with same result Sad

Please, help! Smiley
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
December 01, 2016, 07:06:55 AM
 #152

That can happen when there is no activity/shares, try --timeout=180

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Geograph
Newbie
*
Offline Offline

Activity: 3


View Profile
December 01, 2016, 10:52:35 AM
 #153

That can happen when there is no activity/shares, try --timeout=180
Unfortunately it didn't help Sad
Geograph
Newbie
*
Offline Offline

Activity: 3


View Profile
December 02, 2016, 12:37:06 PM
 #154

Anyone know monero-pool with http-mining without stratum?
usao
Hero Member
*****
Offline Offline

Activity: 742


View Profile
December 02, 2016, 10:31:28 PM
 #155

Does anyone have a compiles Linux binary?
My Linux systems don't have any compilers installed, and I don't have root.
They are CentOS 6.
cmegetrich
Newbie
*
Offline Offline

Activity: 1


View Profile
December 03, 2016, 08:33:39 PM
 #156

I want cpuminer for Eobot how do I do that? Smiley
I have a PC Lenovo Windows 10 upgrade from 8 I'm a newbie so I need to be taught the 'ropes' so to speach

Hotmetal
Sr. Member
****
Offline Offline

Activity: 266


View Profile
December 09, 2016, 07:24:38 PM
 #157

# strace ./cpuminer -a cryptonight  -p x -o stratum+tcp://cryptonight.eu.nicehash.com:3355  -u 12d7SjLcyEwLCnZhPeQhMnME3dDF9CnSuY

execve("./cpuminer", ["./cpuminer", "-a", "cryptonight", "-p", "x", "-o", "stratum+tcp://cryptonight.eu.nic"..., "-u", "12d7SjLcyEwLCnZhPeQhMnME3dDF9CnS"..., "-t", "14"], [/* 18 vars */]) = 0
[..]
getdents(4, /* 0 entries */, 32768)     = 0
brk(0xbc5000)                           = 0xbc5000
close(4)                                = 0
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 271
lseek(4, -156, SEEK_CUR)                = 115
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 156
close(4)                                = 0
write(1, "[2016-12-09 08:53:26] Using JSON"..., 45[2016-12-09 08:53:26] Using JSON-RPC 2.0
) = 45
write(1, "[2016-12-09 08:53:26] CPU Suppor"..., 51[2016-12-09 08:53:26] CPU Supports AES-NI: YES
) = 51
rt_sigaction(SIGINT, {0x40c807, [INT], SA_RESTORER|SA_RESTART, 0x2b0268d9f4b0}, {SIG_DFL, [], 0}, Cool = 0
mmap(NULL, 2113536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2b026dde6000
mprotect(0x2b026dde6000, 4096, PROT_NONE) = 0
clone(child_stack=0x2b026dde84f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2b026dfe99d0, tls=0x2b026dfe9700, child_tidptr=0x2b026dfe99d0) = 27803
mmap(NULL, 2113536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2b026dfea000
mprotect(0x2b026dfea000, 4096, PROT_NONE) = 0
clone(child_stack=0x2b026dfec4f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x2b026e1ed9d0, tls=0x2b026e1ed700, child_tidptr=0x2b026e1ed9d0) = 27804
futex(0xba6094, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xba6090, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
mmap(NULL, 2113536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x2b026e1ee000
[2016-12-09 08:53:26] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Built  from source, it always coredumps. (regardless of algorithm attempted)
Ubuntu 16.04:

Dec  9 21:24:01 apollo kernel: [10059724.032488] cpuminer[10457]: segfault at 2b6071639908 ip 00002b606bccbb80 sp 00002b60716398a0 error 6 in libcurl.so.4.4.0[2b606bca5000+6b000]
Segmentation fault (core dumped)

Libcurl issues?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
December 09, 2016, 07:37:32 PM
 #158

yes, ive no idea, working well here with your command

cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"

dpkg -l | grep curl
ii  curl                                   7.47.0-1ubuntu2.2                 amd64        command line tool for transferring data with URL syntax
ii  libcurl3:amd64                         7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:amd64                  7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4-openssl-dev:amd64             7.47.0-1ubuntu2.2                 amd64        development files and documentation for libcurl (OpenSSL flavour)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Hotmetal
Sr. Member
****
Offline Offline

Activity: 266


View Profile
December 09, 2016, 08:15:45 PM
 #159

yes, ive no idea, working well here with your command

cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"

dpkg -l | grep curl
ii  curl                                   7.47.0-1ubuntu2.2                 amd64        command line tool for transferring data with URL syntax
ii  libcurl3:amd64                         7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:amd64                  7.47.0-1ubuntu2.2                 amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4-openssl-dev:amd64             7.47.0-1ubuntu2.2                 amd64        development files and documentation for libcurl (OpenSSL flavour)



# dpkg -l | grep curl
ii  curl                                   7.47.0-1ubuntu2.2                        amd64        command line tool for transferring data with URL syntax
ii  libcurl3:amd64                         7.47.0-1ubuntu2.2                        amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl3-gnutls:amd64                  7.47.0-1ubuntu2.2                        amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4-openssl-dev:amd64             7.47.0-1ubuntu2.2                        amd64        development files and documentation for libcurl (OpenSSL flavour)

# lsb_release -a
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

Looks like its the same thing but regardless of what server i try it on, I get the same thing.
How would i go about trying to troubleshoot / debug this? :/
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
December 09, 2016, 08:40:04 PM
 #160

your problem seems related to libcurl, so try to rebuild it yourself with the /usr/local prefix, maybe an uncommon cpu ? atom ?

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
December 09, 2016, 08:45:49 PM
 #161

Yikes. Two identical systems, different results, and it crashes in a standard library.

Either the application is passing a bad pointer to curl or curl is corrupt. The easiest thing to try is to reinstall the curl
packages. You could also confirm the same compile options were used. If the entire process from source to compile
to run time environment to input data are identical it gets more complicated and hardware needs to be considered. Memtest maybe.

Edit: I assume you already tried getting a fresh copy of the source.

gdb can be used to get a backtrace to find out where the bad pointer is coming from.

Edit: Cryptoninght at Nicehash needs a protocol tweak but it shouldn't cause as crash. Try another pool to rule that out.


Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
Hotmetal
Sr. Member
****
Offline Offline

Activity: 266


View Profile
December 10, 2016, 03:50:07 AM
 #162

your problem seems related to libcurl, so try to rebuild it yourself with the /usr/local prefix, maybe an uncommon cpu ? atom ?

I prefer using the package management to do things.. Maintaining source builds gets messy.

Manufacturer: Dell Inc.
Product Name: PowerEdge R620
model name      : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz

I have about 20 blades, all of them with stock Ubuntu 16.04 and all of them have the same behavior.
Hotmetal
Sr. Member
****
Offline Offline

Activity: 266


View Profile
December 10, 2016, 04:15:59 AM
 #163

Yikes. Two identical systems, different results, and it crashes in a standard library.

Either the application is passing a bad pointer to curl or curl is corrupt. The easiest thing to try is to reinstall the curl
packages. You could also confirm the same compile options were used. If the entire process from source to compile
to run time environment to input data are identical it gets more complicated and hardware needs to be considered. Memtest maybe.

Edit: I assume you already tried getting a fresh copy of the source.

gdb can be used to get a backtrace to find out where the bad pointer is coming from.

Edit: Cryptoninght at Nicehash needs a protocol tweak but it shouldn't cause as crash. Try another pool to rule that out.



root@apollo:~/44/cpuminer-multi# gdb ./cpuminer
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cpuminer...(no debugging symbols found)...done.
(gdb) r
Starting program: /root/44/cpuminer-multi/cpuminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[New Thread 0x2aaab0a2f700 (LWP 11060)]
[New Thread 0x2aaab0c33700 (LWP 11061)]
[2016-12-10 06:08:07] Starting Stratum on stratum+tcp://yiimp.ccminer.org:4252
[New Thread 0x2aaab0e37700 (LWP 11062)]

Thread 3 "cpuminer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaab0c33700 (LWP 11061)]
0x00002aaaab0c2b80 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
(gdb) bt
#0  0x00002aaaab0c2b80 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#1  0x00002aaaab0c414a in curl_maprintf () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#2  0x00002aaaab0e9096 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#3  0x00002aaaab0c1164 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4  0x00002aaaab0d2493 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5  0x00002aaaab0d2eed in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6  0x00002aaaab0c994b in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x0000000000434998 in ?? ()
#8  0x0000000000405974 in ?? ()
#9  0x00002aaaab96370a in start_thread (arg=0x2aaab0c33700) at pthread_create.c:333
#10 0x00002aaaaadd982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

So to confirm what you thought, it's not specific to cryptonight but rather with the interaction of the libcurl library.
What is weird is i have a lot of blades and all of them are not behaving nicely.
Hotmetal
Sr. Member
****
Offline Offline

Activity: 266


View Profile
December 10, 2016, 04:32:40 AM
 #164

Just for fun, i went ahead and tested a slightly older release:

https://github.com/tpruvot/cpuminer-multi/archive/v1.0.9-multi.tar.gz

root@apollo:~/44/1/cpuminer-multi-1.0.9-multi# ./cpuminer  -a cryptonight  -p cami@hack.co.za  -o stratum+tcp://cryptonight.eu.nicehash.com:3355  -u 12d7SjLcyEwLCnZhPeQhMnME3dDF9CnSuY -t 12 -q
** cpuminer-multi 1.0.9 by Tanguy Pruvot (tpruvot@github) **
 based on Lucas Jones fork of pooler cpuminer 2.4

BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[2016-12-10 06:26:32] Using JSON-RPC 2.0
[2016-12-10 06:26:32] CPU Supports AES-NI: YES
[2016-12-10 06:26:32] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355
[2016-12-10 06:26:32] 12 miner threads started, using 'cryptonight' algorithm.
[2016-12-10 06:26:33] Pool set diff to 20000
[2016-12-10 06:26:36] thread 11: 66 hashes, 16.70 H/s
[2016-12-10 06:26:36] thread 3: 66 hashes, 14.91 H/s
[2016-12-10 06:26:36] thread 7: 66 hashes, 14.40 H/s
[2016-12-10 06:26:36] thread 5: 66 hashes, 14.28 H/s
[2016-12-10 06:26:37] thread 8: 66 hashes, 14.01 H/s
[2016-12-10 06:26:37] thread 10: 66 hashes, 12.79 H/s
[2016-12-10 06:26:38] thread 4: 66 hashes, 11.61 H/s
[2016-12-10 06:26:38] thread 6: 66 hashes, 11.35 H/s
[2016-12-10 06:26:38] thread 1: 66 hashes, 11.26 H/s
[2016-12-10 06:26:38] thread 0: 66 hashes, 11.23 H/s
[2016-12-10 06:26:38] thread 9: 66 hashes, 10.65 H/s
[2016-12-10 06:26:38] thread 2: 66 hashes, 10.21 H/s

Hmm!
Hotmetal
Sr. Member
****
Offline Offline

Activity: 266


View Profile
December 10, 2016, 04:44:19 AM
 #165

I then tried v1.1:

root@apollo:~/44/1/cpuminer-multi-1.1-multi# gdb ./cpuminer
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./cpuminer...(no debugging symbols found)...done.
(gdb) r
Starting program: /root/44/1/cpuminer-multi-1.1-multi/cpuminer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[New Thread 0x2aaab0a2e700 (LWP 19010)]
[New Thread 0x2aaab0c31700 (LWP 19011)]
[2016-12-10 06:43:18] Starting Stratum on stratum+tcp://mine.xpool.ca:1131
[New Thread 0x2aaab0e34700 (LWP 19012)]

Thread 3 "cpuminer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaab0c31700 (LWP 19011)]
_IO_vfscanf_internal (s=s@entry=0x2aaab0a30620, format=format@entry=0x2aaaab0f308b "%15[^:]:%[^\n]",
    argptr=argptr@entry=0x2aaab0a30748, errp=errp@entry=0x0) at vfscanf.c:279
279     vfscanf.c: No such file or directory.
(gdb) bt
#0  _IO_vfscanf_internal (s=s@entry=0x2aaab0a30620, format=format@entry=0x2aaaab0f308b "%15[^:]:%[^\n]",
    argptr=argptr@entry=0x2aaab0a30748, errp=errp@entry=0x0) at vfscanf.c:279
#1  0x00002aaaaad3ebcc in __GI___isoc99_vsscanf (string=0x2aaab8001320 "http://mine.xpool.ca:1131",
    format=0x2aaaab0f308b "%15[^:]:%[^\n]", args=args@entry=0x2aaab0a30748) at isoc99_vsscanf.c:43
#2  0x00002aaaaad3eb57 in __isoc99_sscanf (s=<optimized out>, format=<optimized out>) at isoc99_sscanf.c:31
#3  0x00002aaaab0be7db in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4  0x00002aaaab0d2493 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5  0x00002aaaab0d2eed in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6  0x00002aaaab0c994b in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7  0x0000000000468e08 in ?? ()
#8  0x000000000046a073 in ?? ()
#9  0x00002aaaab96370a in start_thread (arg=0x2aaab0c31700) at pthread_create.c:333
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
December 10, 2016, 01:45:32 PM
 #166

That's bizarre.

No one has reported this with cpuminer-opt even though the stratum code was taken from multi-1.2.
Could you give it a try as another data point?

The interface to curl is the call to curl_easy perform. It would be useful to dump the curl parameter where this
is called to compare what works with what doesn't.

A hardware fault seem very unlikely since the problem occurs on all your blades. However, if you did one full
install and cloned the rest an install glitch would have been propagated to all blades. You could reinstall the OS
on one system to test this.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
zakuti
Newbie
*
Offline Offline

Activity: 7


View Profile
December 12, 2016, 03:32:57 PM
 #167

hello

i try to build it on visual studio 2013 but i get next error

error LNK1181: cannot open input file 'libcurl.x86.lib' cpuminer

can someone help me ?

thank you.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
December 12, 2016, 03:59:05 PM
 #168

32bit dependencies are not prebuilt, they are huge and polute the repo

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
zakuti
Newbie
*
Offline Offline

Activity: 7


View Profile
December 13, 2016, 06:25:44 AM
 #169

but i have 64 bit operation system
zakuti
Newbie
*
Offline Offline

Activity: 7


View Profile
December 13, 2016, 08:40:50 AM
 #170

i think that compilied but miner does not start mining

please look picture

http://www.picz.ge/img/s4/1612/13/7/7804c9a7d51f.png
what problem is it ?
superlux
Newbie
*
Offline Offline

Activity: 5


View Profile
January 23, 2017, 01:52:48 AM
 #171

Hi all,
I've compiled the miner on Windows using mingw but it refuses to work outside the directory of compilation.
Any suggestions ?
Thanks
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 23, 2017, 01:58:02 AM
 #172

patience, you are closer Wink sorry i've no easy answer for all your weird problems. All i can say is it can work for all these cases :p

superlux, try another mingw, msys2 (cygwin) is not proper to do "native windows binaries"

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
January 23, 2017, 02:36:44 AM
 #173

For cpuminer-opt I bundle a bunch of DLLs with the EXE for portability. Maybe that works for
cpuminer-multi also.


Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
cdavid53
Full Member
***
Offline Offline

Activity: 172


View Profile WWW
January 24, 2017, 05:37:41 AM
 #174

Hello

I would like to use several pools.
is it possible ? and if yes, how?

thank you in advance

Sorry my english is very bad
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 24, 2017, 08:28:02 PM
 #175

Hello Guy´s 
First of all im new here but not on Mining , you all the Dev done a great job with the Miner´s .

may i ask some of the Dev to answer me some questions about TIMETRAVEL , especially  witch OS ( seems only Linux ) is to use if im right , how i set the algo in the command line ,   have searched few Days  cant find any usefull information  Huh,

THX in Advance

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 24, 2017, 11:08:17 PM
 #176

nothing special about it, just like any other algos... fyi my "linux" branch is the dev one.. windows one is more for releases (so you can compile the linux branch on windows too)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 07:45:54 PM
 #177

made the 1.3.1 release with timetravel, see first post

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
SkycityVictorians
Jr. Member
*
Online Online

Activity: 48


View Profile
January 26, 2017, 09:40:29 PM
 #178

made the 1.3.1 release with timetravel, see first post

Nice job, thanks Smiley

Friendly Regards
- SkycityVictorians
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 26, 2017, 10:15:50 PM
 #179

@Epsylon3

thank you  for the great job ,

i7 2600 @ 244 k/h
Core 2 Duo E6600   sse2 doesnt work in my case
Athlon 64 x 2          sse2 doesnt too
core 2 Duo E6700   sse2 doesnt too

all Machines running win 7 64bit



if you are so kind PM me your Mac adress for some Donation Wink



->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 10:16:33 PM
 #180

its in the first post Wink

what doesnt work ? ah right, didnt made it for very old cpus Wink there are limits to the compatibility... built with --march=corei7

your core2 has 12 years now Wink joblo (cpuminer-opt) will do one for you with (more than) my improvement..

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 26, 2017, 10:30:31 PM
 #181

Oh Man thats good news ,  you bewared my PC^s  from a long flight downwards the Balcony   lol



You Guy´s are Great

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 10:32:26 PM
 #182

else you can compile it yourself for these older cpus Wink

nvm, i will add 2 new binaries so ;p avx2 and core2

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 26, 2017, 10:36:34 PM
 #183

after you adviced me 2 days ago  my grey hair are incredible increased , struggling around with  Both Win & Lin   to compile this , seems im not skilled enough   grrr.

would be great ,  as i wrote before ,  Donation = no problem
 



->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 10:40:23 PM
 #184

k, https://github.com/tpruvot/cpuminer-multi/releases/tag/v1.3.1-multi

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 26, 2017, 11:04:42 PM
 #185

thanks a lot  the intel´s working now

Cpuminer-Multi    E6600 @ 54 - 57 k/h    E6700 @ 68 - 70 k/h    Amd Athlon 64 X2 5600+ @  0 k/h
Cpuminer-opt      E6600 @ 65 - 72 k/h    E6700 @ 76 - 81 k/h    Amd Athlon 64 X2 5600+ @ 57 - 61 k/h  

BIG Thank To Epsylon3 and Joblo

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 11:08:23 PM
 #186

you should consider the balcony Wink you can find cheap i3/i5 on ebay Wink

at least that is a proof hardware can hold 10 years Wink

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 26, 2017, 11:11:37 PM
 #187

yes you are right  i see that clearly now  Shocked , small chicken takes a small worm , makes the stomach too full  Wink

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
m1n1ngP4d4w4n
Member
**
Offline Offline

Activity: 112

CryptoLearner


View Profile
January 27, 2017, 02:14:23 PM
 #188

Can't seem to compile the latest version 1.3.1

Code:
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x173): undefined reference to `swap'
timetravel.c:(.text+0x186): undefined reference to `reverse'
timetravel.c:(.text+0x1a5): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:882: recipe for target 'cpuminer' failed

Any idea how to fix ?

Debian x64 8.6 - gcc 4.9.2

BTC - 1B1RBYkzxiTmrbnFe2vj8EaNPSYftW8186 for tips Wink - Please don't PM about sharing my tools, they're not for share.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
January 27, 2017, 06:06:56 PM
 #189

Linux Build status : https://travis-ci.org/tpruvot/cpuminer-multi

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
m1n1ngP4d4w4n
Member
**
Offline Offline

Activity: 112

CryptoLearner


View Profile
January 27, 2017, 06:24:40 PM
 #190


Thx i was able to build it this time, nice work  Wink

BTC - 1B1RBYkzxiTmrbnFe2vj8EaNPSYftW8186 for tips Wink - Please don't PM about sharing my tools, they're not for share.
al7878
Jr. Member
*
Offline Offline

Activity: 36


View Profile
January 29, 2017, 06:53:59 AM
 #191

Hi guys,
Can someone tell me why there are 3 exe file in the rar "cpuminer-multi-rel1.3.1-x64.zip" avaible here https://github.com/tpruvot/cpuminer-multi/releases
And can someone give me a link where i ll be able to find command line to use the prog please

Thanks a lot, and of course, thanks for your work
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 29, 2017, 07:46:34 AM
 #192

The exe files are for different CPU architecture , depends on your  wich is to use in the commandline..

commandline example :

cpuminer-gw64-core2 -a timetravel -o stratum+tcp://fiber.ccminer.org:3555 -u MTRLHnKQpQby52DHtCYHsXFeJbwCsdf7Wx -p c=MAC

pause

-a = algorithm of the coin
-o = server address
-u = username , e.g. newbie.1, coinadress where is need ( like a above )
-p = password  free to choose

ask Mr.Google for more info   
Happy mining !

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
al7878
Jr. Member
*
Offline Offline

Activity: 36


View Profile
January 29, 2017, 07:50:34 AM
 #193

Thanks a lot integrale for your fast answer
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 29, 2017, 08:56:20 PM
 #194

else you can compile it yourself for these older cpus Wink

nvm, i will add 2 new binaries so ;p avx2 and core2


The command "./cpuminer --cputest" exited with 0.    hehe  its done on test-machine

compiled on Xubuntu 16.04 LTS

x2 64 5600+ increased

WIn7      minerd              = 61k/h
Xubuntu  cpuminer-multi   = 74.4k/h

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
integrale
Member
**
Offline Offline

Activity: 84

Eager to learn


View Profile
January 30, 2017, 03:32:08 AM
 #195



Tx ID:ccdf72a5e141d6bc50cea6f0037659958fc76cdd12dae8c16a8c315865422108

->CPU Mining<-Xubuntu 16.04LTS @  i7 2600 - Xeon E5462 - E6700 - Athlon II X 2 - 240 , 250 , 255 , other on testing
wladston
Full Member
***
Offline Offline

Activity: 147


Always remember to be awesome.


View Profile WWW
February 02, 2017, 03:19:00 PM
 #196

Hi Epsylon3,

Thanks! Indeed, the file permissions and path issues were fixed. However, I'm unable to compile it in OS X, even after disabling ASM in neoscrypt.

I get this now:

Code:
wladston@shirase ~/cpuminer-multi$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in compat
Making all in jansson
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
gcc -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -I/opt/local/include  -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -march=native  -Iyes/include -Iyes/include -MT algo/cpuminer-neoscrypt.o -MD -MP -MF algo/.deps/cpuminer-neoscrypt.Tpo -c -o algo/cpuminer-neoscrypt.o `test -f 'algo/neoscrypt.c' || echo './'`algo/neoscrypt.c
mv -f algo/.deps/cpuminer-neoscrypt.Tpo algo/.deps/cpuminer-neoscrypt.Po
g++  -g -O2 -L/opt/local/lib -Lyes/lib -Lyes/lib  -L/opt/local/lib -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o cpuminer-uint256.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_haval.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_ripemd.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o sha3/cpuminer-gost_streebog.o crypto/cpuminer-blake2s.o crypto/cpuminer-blake2b.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o yescrypt/cpuminer-yescrypt-common.o yescrypt/cpuminer-yescrypt-best.o yescrypt/cpuminer-sha256_Y.o algo/cpuminer-axiom.o algo/cpuminer-bastion.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-cryptolight.o algo/cpuminer-decred.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-lbry.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-lyra2rev2.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-scrypt-jane.o algo/cpuminer-sha2.o algo/cpuminer-sia.o algo/cpuminer-sibcoin.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-timetravel.o algo/cpuminer-veltor.o algo/cpuminer-x11evo.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-x17.o algo/cpuminer-xevan.o algo/cpuminer-yescrypt.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto compat/jansson/libjansson.a -lpthread
ld: warning: directory not found for option '-Lyes/lib'
ld: warning: directory not found for option '-Lyes/lib'
ld: warning: directory not found for option '-Lyes/lib'
ld: warning: directory not found for option '-Lyes/lib'
Undefined symbols for architecture x86_64:
  "_reverse", referenced from:
      _next_permutation in cpuminer-timetravel.o
  "_swap", referenced from:
      _next_permutation in cpuminer-timetravel.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [cpuminer] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
wladston@shirase ~/cpuminer-multi$

I tried disabling the "timetravel" algo that's causing the issue, but I didn't figure out how. Help?

Love programming? Checkout my book at http://code.energy/book
ParaplegicRacehorse
Newbie
*
Offline Offline

Activity: 24


View Profile
February 02, 2017, 09:33:03 PM
 #197

Thanks for this Epsylon3!

You should fix the cflags call for enabling neon on ARM in the README.md, though.

I was unable to compile with listing provided. Searching https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html indicated need for single-quotes. Adding single quotes around 'neon' = successful compile!
(CHIP single-board-computer, ARM R8 single core ARMv7 + vpf3 instructions, Debian Wheezy).

I edited build.sh instead of calling all the stuff on the command line.

Using cflags
Code:
-march=native -mcpu=native -mtune=native -mfloat-abi='hard' -mfpu='neon'
gained me ~6 kH/s decred compared to just running build.sh.

In order to show thanks for all your work, I'll leave this sweet little thing running and paying to your yiimp.ccminer.org pool for 24 hours. Watch your wallet for a miner named CHIPdork. It won't add up to much, though, sadly.

What's the chance of adding ether or equihash support?
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 02, 2017, 11:47:51 PM
 #198


"Sorry we could not find any blocks or transactions matching this hash" (but tx anyway :p)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
thanh_tan
Newbie
*
Offline Offline

Activity: 1


View Profile
February 03, 2017, 01:55:14 PM
 #199

Hi,

I tried to build on a AMRv7 but failed, the error is

Code:
algo/cpuminer-scrypt-jane.o: In function `scrypt_test_mix':
scrypt-jane.c:(.text+0x269e): undefined reference to `detect_cpu'
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x228): undefined reference to `swap'
timetravel.c:(.text+0x230): undefined reference to `reverse'
timetravel.c:(.text+0x242): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:892: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/root/cpuminer-tpruvot'
Makefile:2477: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-tpruvot'
Makefile:568: recipe for target 'all' failed
make: *** [all] Error 2
ParaplegicRacehorse
Newbie
*
Offline Offline

Activity: 24


View Profile
February 03, 2017, 03:06:29 PM
 #200

That's the errors I was getting. What cflags are you using and did you first try building with the just the build.sh script provided? If you're trying to enable neon remember to enclose the word 'neon' and only the word 'neon' in singlequotes.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 04, 2017, 02:52:08 AM
 #201

in the file algo/timetravel.c

could you try to replace "inline void reverse" by "__inline void reverse" or "static inline void reverse" and report ? on mac and arm ?

ps: do the same with the swap function

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
ParaplegicRacehorse
Newbie
*
Offline Offline

Activity: 24


View Profile
February 06, 2017, 06:03:31 AM
 #202

I probably should've forked your repo and made a pull request @Epsylon3, but I didn't.

Since yours is the only currently-maintained cpuminer-multi, and the one with the most algorithms supported, and because it's tedious to --benchtest every algo to check your speeds, I wrote a script. It's a lousy script. But it works. Note that with 40 algos to test, discounting any possible variations of difficulty and stuff, the script takes a while to run.

https://github.com/ParaplegicRacehorse/cpuminer-multi-benchtest-logger

from the README

This is a dumb script to run cpu-test and 2-minute benchmark on all algorithm's supported by tpruvot's (cpuminer-multi)[https://github.com/tpruvot/cpuminer-multi].

**Requires**

bash

I am a terrible programmer. Everything is hard-coded at the moment.

## Roadmap

* Separate the algo names into a separate file and loop over that.
* Determine, from log files, what average rate for each hash is and put into a .csv for easy parsing in a spreadsheet or some other tool. May be used to help calibrate profitability if someone ever adds a network API to cpuminer (cough HINT cough)

## Changelog

2017-04-05

* Initial script creation


I do not accept tips. I do accept patches. Please patch my code.

Even better, patch tpruvot's code. There are several cpuminer's out there with algorithms not included in tpruvot's code. Add them.
theghost1980
Jr. Member
*
Offline Offline

Activity: 47

Truth is Only one - La verdad es solo Una -


View Profile
February 08, 2017, 11:17:43 PM
 #203

When ./autogen.sh

In Makefile
Code:
cpuminer_LDADD =  -ljansson -lpthread

fix
Code:
cpuminer_LDADD =  -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread

When ./build.sh -> work fine.

Hello There. I'm trying to compile under MacOS Sierra v. 10.12.3, and I get this error:
(a bunch of lines before with errors too, mostly about invalid operand for instruction)
make[2]: *** [asm/cpuminer-scrypt-x64.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Tip me. DASH Xne9JXZhbL9u38xfr6aDtTGogZMZFBbpRN
check1
Newbie
*
Offline Offline

Activity: 7


View Profile
February 18, 2017, 03:13:58 PM
 #204

Hello,im new in mining i have eobot account and i try to put also cpuminer.
I start timetraveler from cpuminer folder its starts in cmd its checked yes!

but i cant see the cpu power in my eobot account what im doing wrong ?


ty
mahurovihamilo
Newbie
*
Offline Offline

Activity: 1


View Profile
February 18, 2017, 10:32:43 PM
 #205

Hi There,

thank you for this wonderful program!!

please I have installed it in Ubuntu and all seems to have gone well...however, can anyone provide a sample of the settings and flags nescesary to run it? where do I point to the mining pool? where do I point to my Bitcoin address etc.( I'd like to mine Bitcoin or ethereum on CPU) I know cpu is very low yield, but I have access to a load of CPUs and can use any scraps of BTC I can make Wink

Also please can you suggest a couple of good mining pool to join, or can I just mine without joining a pool?....thanks !!





Many thanks!!

Mahurovihamilo.
Epsylon3
Legendary
*
Offline Offline

Activity: 952


ccminer/cpuminer developer


View Profile WWW
February 19, 2017, 12:05:09 PM
 #206

--help

... which is shown in the first thread message https://bitcointalk.org/?topic=841401

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
zrxcqiyg
Newbie
*
Offline Offline

Activity: 1


View Profile
February 23, 2017, 01:03:48 PM
 #207

Greetings!

I want to implement the following feature: make miner consume only a specific number of CPU resources, threshold for which is determined by overall CPU load (i.e. use only up to a half of available computing power). In Linux it should be not that hard, however, I want to compile it for Windows.
Could you please aim me, which articles and books should I read regarding that, since I don't want to use any third party programs?
asor
Hero Member
*****
Offline Offline

Activity: 742



View Profile
February 26, 2017, 10:59:13 AM
 #208

Can't seem to compile the latest version 1.3.1

Code:
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x173): undefined reference to `swap'
timetravel.c:(.text+0x186): undefined reference to `reverse'
timetravel.c:(.text+0x1a5): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:882: recipe for target 'cpuminer' failed

Any idea how to fix ?

Debian x64 8.6 - gcc 4.9.2

Same problem on my Ubuntu 16.04 LTS - gcc 5.4.0

Unfortunately, I was unable to solve the problem using https://travis-ci.org/tpruvot/cpuminer-multi

I ran out of ideas Sad Any Suggestions?
joblo
Hero Member
*****
Online Online

Activity: 742


View Profile
February 26, 2017, 01:33:58 PM
 #209

Can't seem to compile the latest version 1.3.1

Code:
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x173): undefined reference to `swap'
timetravel.c:(.text+0x186): undefined reference to `reverse'
timetravel.c:(.text+0x1a5): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:882: recipe for target 'cpuminer' failed

Any idea how to fix ?

Debian x64 8.6 - gcc 4.9.2

Same problem on my Ubuntu 16.04 LTS - gcc 5.4.0

Unfortunately, I was unable to solve the problem using https://travis-ci.org/tpruvot/cpuminer-multi

I ran out of ideas Sad Any Suggestions?

Try renaming those functions to something unique. There's probasbly a name conflict.

Principal developer of cpuminer-opt, the optimized multi-algo CPU miner.
BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
https://bitcointalk.org/index.php?topic=1326803.0
manotroll
Full Member
***
Offline Offline

Activity: 203


View Profile
February 26, 2017, 02:54:58 PM
 #210

The yield for xmr is less than Wolf
jacquiejusto16
Newbie
*
Offline Offline

Activity: 1


View Profile
March 02, 2017, 07:48:49 PM
 #211

Winter is coming, and this year i shutdown electric heaters Wink

Fork of Lucas Jones 1.0.3 version, with colors and some new algos.
my v1.0.4 changes were merged but nothing new from Lucas, so :

http://i68.tinypic.com/2udunt4.png

Download: https://github.com/tpruvot/cpuminer-multi/releases
Sources: https://github.com/tpruvot/cpuminer-multi

Linux Build status : https://travis-ci.org/tpruvot/cpuminer-multi

Code:
Version 1.3.1 (Tanguy Pruvot) 26 Jan 2017
- Add timetravel algo
- Add --max-log-rate to limit per-core logs

Version 1.3 (Tanguy Pruvot)
- Add decred algo
- Add lbry algo
- Add sia algo
- Add x11evo algo
- Add x17 and xevan algos
- Add veltor algo
- Enhance Blake2-S
- Stratum benchmarks support
- Show diff and solved blocks by default

Version 1.2 (Tanguy Pruvot)
- Add cryptonight-light (Aeon)
- Add Lyra2REv2 algo (Vertcoin)
- Allow to load a remote config with curl
- Algorithm parameter is now case insensitive
- Drop anime algo (dead coin)
- Add Sib(coin) algo
- Add Bastion algo
- Add Yescrypt and scrypt-jane algos
- Compute and show network diff in pools too
- Compute Shares diff and count solved blocks
- Checkup on arm, tested ok on Tegra K1 (CyanogenMod 12.1)

version 1.1
- Add basic API remote control (quit/seturl)
- Add GroestlCoin, Diamond and Myriad variants
- Add Pluck algo and fix gbt query crash
- Add ZR5 algo (ZRC) and fix longpoll bug on linux
- Add Luffa algo
- Add Skein2 algo (Double Skein for Woodcoin)
- Add Animecoin algo (Quark variant)
- Add Dropcoin pok algo
- Add BMW-256 (MDT) algo
- Add Axiom algo
- Change some logged strings
- Use all cores by default, not N-1
- Handle a default config to run without params
- add cpu-priority and cpu-affinity options
- add NSIS installer script for windows setup
- Implement background option on windows
- add -m stratum option (diff-multiplier)
- Time limit to allow benchmarks or cron jobs
- Fix Cryptonight stratum support
- Allow to disable extranonce support

Version 1.0.9
- pool extranonce subscribe
- upgrade jansson
- lyra2 algo
- fix for solo mining
- API websocket support

Version 1.0.8
- API Monitoring Support
- Enhance config values support (int/real/bool)
- Rewrite blake algo (speed x2)

Version 1.0.7 - VC2013 + MinGW 64

- Add NIST5 and QUBIT algos
- Show current stratum bloc height
- Fix wallet solo mining

Version multi 1.0.6

- Fix scrypt algo
- More work on VC2013
- Add -f tuning option to test with reduced difficulty
- Add S3 algo

Version 1.0.5

- Merge remaining v2.4 pooler cpu-miner changes
- Add colored output (disable with --no-color)
- Test and fix blake on NEOS, needs 14 rounds (was 8)
- Add pentablake (5x blake256) (from bitbandi)
- Add neoscrypt
- Windows (VC++ 2013 and MinGW64 build support)
- Enhance --version informations (compiler + lib versions)

Version 1.0.4 (Tanguy Pruvot)

- Add x13 x14 and x15 algos (Sherlockcoin, X14Coin, Webcoin..)
- Add scrypt:N variants (Vertcoin)
- Add fresh algo
- Fix thread khashes/s value output
- Add a configure option --disable-assembly

TODO in next versions :
- Enhance ASM support for VC2013
- JSON Interface for stats

Usage (--help) :
Code:
** cpuminer-multi 1.3.1 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

Usage: cpuminer-multi [OPTIONS]
Options:
  -a, --algo=ALGO       specify the algorithm to use
                          axiom        Shabal-256 MemoHash
                          blake        Blake-256 14-rounds (SFR)
                          blakecoin    Blake-256 single sha256 merkle
                          blake2s      Blake2-S (256)
                          bmw          BMW 256
                          c11/flax     C11
                          cryptolight  Cryptonight-light
                          cryptonight  Monero
                          decred       Blake-256 14-rounds 180 bytes
                          dmd-gr       Diamond-Groestl
                          drop         Dropcoin
                          fresh        Fresh
                          groestl      GroestlCoin
                          heavy        Heavy
                          keccak       Keccak
                          luffa        Luffa
                          lyra2re      Lyra2RE
                          lyra2rev2    Lyra2REv2 (Vertcoin)
                          myr-gr       Myriad-Groestl
                          neoscrypt    NeoScrypt(128, 2, 1)
                          nist5        Nist5
                          pluck        Pluck:128 (Supcoin)
                          pentablake   Pentablake
                          quark        Quark
                          qubit        Qubit
                          scrypt       scrypt(1024, 1, 1) (default)
                          scrypt:N     scrypt(N, 1, 1)
                          scrypt-jane:N (with N factor from 4 to 30)
                          shavite3     Shavite3
                          sha256d      SHA-256d
                          sia          Blake2-B
                          sib          X11 + gost (SibCoin)
                          skein        Skein+Sha (Skeincoin)
                          skein2       Double Skein (Woodcoin)
                          s3           S3
                          timetravel   Timetravel (Machinecoin)
                          vanilla      Blake-256 8-rounds
                          x11evo       Permuted x11
                          x11          X11
                          x13          X13
                          x14          X14
                          x15          X15
                          x17          X17
                          xevan        Xevan (BitSend)
                          yescrypt     Yescrypt
                          zr5          ZR5
  -o, --url=URL         URL of mining server
  -O, --userpass=U:P    username:password pair for mining server
  -u, --user=USERNAME   username for mining server
  -p, --pass=PASSWORD   password for mining server
      --cert=FILE       certificate for mining server using SSL
  -x, --proxy=[PROTOCOL://]HOST[:PORT]  connect through a proxy
  -t, --threads=N       number of miner threads (default: number of processors)
  -r, --retries=N       number of times to retry if a network call fails
                          (default: retry indefinitely)
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)
      --time-limit=N    maximum time [s] to mine before exiting the program.
  -T, --timeout=N       timeout for long poll and stratum (default: 300 seconds)
  -s, --scantime=N      upper bound on time spent scanning current work when
                          long polling is unavailable, in seconds (default: 5)
      --randomize       Randomize scan range start to reduce duplicates
  -f, --diff-factor     Divide req. difficulty by this factor (std is 1.0)
  -m, --diff-multiplier Multiply difficulty by this factor (std is 1.0)
  -n, --nfactor         neoscrypt N-Factor
      --coinbase-addr=ADDR  payout address for solo mining
      --coinbase-sig=TEXT  data to insert in the coinbase when possible
      --max-log-rate    limit per-core hashrate logs (default: 5s)
      --no-longpoll     disable long polling support
      --no-getwork      disable getwork support
      --no-gbt          disable getblocktemplate support
      --no-stratum      disable X-Stratum support
      --no-extranonce   disable Stratum extranonce support
      --no-redirect     ignore requests to change the URL of the mining server
  -q, --quiet           disable per-thread hashmeter output
      --no-color        disable colored output
  -D, --debug           enable debug output
  -P, --protocol-dump   verbose dump of protocol-level activities
      --hide-diff       Hide submitted block and net difficulty
  -B, --background      run the miner in the background
      --benchmark       run in offline benchmark mode
      --cputest         debug hashes from cpu algorithms
      --cpu-affinity    set process affinity to cpu core(s), mask 0x3 for cores 0 and 1
      --cpu-priority    set process priority (default: 0 idle, 2 normal to 5 highest)
  -b, --api-bind        IP/Port for the miner API (default: 127.0.0.1:4048)
      --api-remote      Allow remote control
      --max-temp=N      Only mine if cpu temp is less than specified value (linux)
      --max-rate=N[KMG] Only mine if net hashrate is less than specified value
      --max-diff=N      Only mine if net difficulty is less than specified value
  -c, --config=FILE     load a JSON-format configuration file
  -V, --version         display version information and exit
  -h, --help            display this help text and exit

Donations for the work done in this fork are accepted :

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
DASH: XeVrkPrWB7pDbdFLfKhF1Z3xpqhsx6wkH3
MAC: MCchQ675kJYeXoCACgkKx6xakubE8CAQ5A