Problema para compilar nheqminer en IBM Mainframe Z13s z/VM Debian

Buenas he tenido problemas para compilar el nheqminer. Estoy usando una VM en arquitectura z/VM de Mianfrane probando los super CPU que trae esta tecnología, en un Debian para S390 pero me arroja error en esta fase:

apt-get update

apt-get install build-essential cmake libboost-all-dev

mkdir /downloads

cd /downloads

git clone https://github.com/feeleep75/nheqmine

cd nheqminer/nheqminer

mkdir build

cd build

cmake … – justo aquie me da error de compilacion error cmake pthread

make

I apologize for the invasion and for not speaking Spanish, I just very curious about IBM System Z.

I believe it is big-endian architecture, which means almost all of coin software will not work.

May I ask you to try my miner GitHub - mtve/yazecminer: yet another ZEC miner ? It was intended to be endian-independent and was proven to work on SPARC (also big-endian). Thanks in advance.

Thank you for your opinion about it! But the solution that they are offering serves for Linux environments?

sorry, I don’t understand your question, would you please clarify?

nheqminer requires many dependencies like C++, boost and cmake.

yazecminer only needs C compiler, should compile and work on other operating systems (it works on Solaris for example).

Ok I’m going to try and notified of the results.

riend not able to compile the product. If you have any procedure to me. thank you. When I make shows this:

root@zvm:downloads/yazecminer# make
gcc -march=native -W -Wall -O3 -g -I. -c -o jsmn/jsmn.o jsmn/jsmn.c
gcc: error: unrecognized argument in option ‘-march=native’
gcc: note: valid arguments to ‘-march=’ are: g5 g6 z10 z196 z9-109 z9-ec z900 z990 zEC12
: recipe for target ‘jsmn/jsmn.o’ failed
make: *** [jsmn/jsmn.o] Error 1

you may remove “-march=native” from Makefile

also, comment or remove “BLAKE=sse” and uncommend “BLAKE=ref”

./yazecminer -l zec-us.coinmine.pl:7007 -u omater.zvm -p xy
2017-06-20 13:51:59 Yet Another ZEC Miner, CPU miner for https://z.cash/
2017-06-20 13:51:59 BLAKE2b implementation: reference
2017-06-20 13:51:59 equihash info: word 4 bytes, mem 205553664 bytes
2017-06-20 13:51:59 connecting to zec-us.coinmine.pl:7007
2017-06-20 13:52:00 connected!
2017-06-20 13:52:00 subscribed, nonce1 00000000000000000003e713 len 12
2017-06-20 13:52:00 authorized
2017-06-20 13:52:01 got target 000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
2017-06-20 13:52:01 new job 564393238556318
not accepted, exiting

I do not know what else to do

another!

./yazecminer -l zec-us.coinmine.pl:7007 -u omater.zvm -p xy -d 2
2017-06-20 13:55:05 Yet Another ZEC Miner, CPU miner for https://z.cash/
2017-06-20 13:55:05 BLAKE2b implementation: reference
2017-06-20 13:55:05 equihash info: word 4 bytes, mem 205553664 bytes
2017-06-20 13:55:05 connecting to zec-us.coinmine.pl:7007
2017-06-20 13:55:06 connected!
out buffer: {“id”:1,“method”:“mining.subscribe”,“params”:[“yazecminer”,null,“zec-us.coinmine.pl”,7007]}
in buffer: {“id”:1,“result”:[null,“00000000000000000003e77d”],“error”:null}
2017-06-20 13:55:06 subscribed, nonce1 00000000000000000003e77d len 12
out buffer: {“id”:2,“method”:“mining.authorize”,“params”:[“omater.zvm”,“xy”]}
in buffer: {“id”:2,“result”:true,“error”:null}
2017-06-20 13:55:06 authorized
in buffer: {“id”:null,“method”:“mining.set_target”,“params”:[“000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe”]}
2017-06-20 13:55:06 got target 000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
out buffer: {“id”:3,“method”:“mining.extranonce.subscribe”,“params”:}
in buffer: {“id”:null,“method”:“mining.notify”,“params”:[“723722997826648”,“04000000”,“30ba939e55983213477efb6e327f4b6034d52e073b4e7e98cb1cf31900000000”,“664acc14c32327669c52239348fd63d0588364dec2e5c08cef871d8a5dbf54ef”,“0000000000000000000000000000000000000000000000000000000000000000”,“1c614959”,“9329291c”,true]}
{“id”:3,“result”:null,“error”:[20,“Unknown method”,null]}
2017-06-20 13:55:07 new job 723722997826648
not accepted, exiting

would you please run it with debug flag “-d 3” and send me full log?

private message is ok, or open an issue on github, if you like.

aha, try with “-N 0” flag for coinmine.

P.S. fixed, you may do “git pull” and make.

./yazecminer -l zec-us.coinmine.pl:7007 -u omater.zvm -p xy -d 3
2017-06-20 14:55:57 Yet Another ZEC Miner, CPU miner for https://z.cash/
2017-06-20 14:55:57 BLAKE2b implementation: reference
2017-06-20 14:55:57 equihash info: word 4 bytes, mem 205553664 bytes
2017-06-20 14:55:57 connecting to zec-us.coinmine.pl:7007
2017-06-20 14:55:57 connected!
out buffer: {“id”:1,“method”:“mining.subscribe”,“params”:[“yazecminer”,null,“zec-us.coinmine.pl”,7007]}
in buffer: {“id”:1,“result”:[null,“00000000000000000003ef07”],“error”:null}
json_parse
token 0: object, start 0 ‘{’ end 64 ‘’ size 3
token 1: string, start 2 ‘i’ end 4 ‘"’ size 1
token 2: primitive, start 6 ‘1’ end 7 ‘,’ size 0
token 3: string, start 9 ‘r’ end 15 ‘"’ size 1
token 4: array, start 17 ‘[’ end 50 ‘,’ size 2
token 5: primitive, start 18 ‘n’ end 22 ‘,’ size 0
token 6: string, start 24 ‘0’ end 48 ‘"’ size 0
token 7: string, start 52 ‘e’ end 57 ‘"’ size 1
token 8: primitive, start 59 ‘n’ end 63 ‘}’ size 0
2017-06-20 14:55:57 subscribed, nonce1 00000000000000000003ef07 len 12
json_parse
out buffer: {“id”:2,“method”:“mining.authorize”,“params”:[“omater.zvm”,“xy”]}
in buffer: {“id”:2,“result”:true,“error”:null}
json_parse
token 0: object, start 0 ‘{’ end 35 ‘’ size 3
token 1: string, start 2 ‘i’ end 4 ‘"’ size 1
token 2: primitive, start 6 ‘2’ end 7 ‘,’ size 0
token 3: string, start 9 ‘r’ end 15 ‘"’ size 1
token 4: primitive, start 17 ‘t’ end 21 ‘,’ size 0
token 5: string, start 23 ‘e’ end 28 ‘"’ size 1
token 6: primitive, start 30 ‘n’ end 34 ‘}’ size 0
2017-06-20 14:55:58 authorized
json_parse
in buffer: {“id”:null,“method”:“mining.set_target”,“params”:[“000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe”]}
{“id”:null,“method”:“mining.notify”,“params”:[“851262867255768”,“04000000”,“d8b94fe6f2c9c5c54b63ff21cf544054574a387ba9dd7dc1816fd80800000000”,“441caba2548745c975345ce0d9c2bd52c53fda1eb465d38d9d60fada838365ec”,“0000000000000000000000000000000000000000000000000000000000000000”,“896f4959”,“dd40281c”,true]}
json_parse
token 0: object, start 0 ‘{’ end 118 ‘’ size 3
token 1: string, start 2 ‘i’ end 4 ‘"’ size 1
token 2: primitive, start 6 ‘n’ end 10 ‘,’ size 0
token 3: string, start 12 ‘m’ end 18 ‘"’ size 1
token 4: string, start 21 ‘m’ end 38 ‘"’ size 0
token 5: string, start 41 ‘p’ end 47 ‘"’ size 1
token 6: array, start 49 ‘[’ end 117 ‘}’ size 1
token 7: string, start 51 ‘0’ end 115 ‘"’ size 0
2017-06-20 14:55:58 got target 000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
json_parse
token 0: object, start 0 ‘{’ end 304 ‘’ size 3
token 1: string, start 2 ‘i’ end 4 ‘"’ size 1
token 2: primitive, start 6 ‘n’ end 10 ‘,’ size 0
token 3: string, start 12 ‘m’ end 18 ‘"’ size 1
token 4: string, start 21 ‘m’ end 34 ‘"’ size 0
token 5: string, start 37 ‘p’ end 43 ‘"’ size 1
token 6: array, start 45 ‘[’ end 303 ‘}’ size 8
token 7: string, start 47 ‘8’ end 62 ‘"’ size 0
token 8: string, start 65 ‘0’ end 73 ‘"’ size 0
token 9: string, start 76 ‘d’ end 140 ‘"’ size 0
token 10: string, start 143 ‘4’ end 207 ‘"’ size 0
token 11: string, start 210 ‘0’ end 274 ‘"’ size 0
token 12: string, start 277 ‘8’ end 285 ‘"’ size 0
token 13: string, start 288 ‘d’ end 296 ‘"’ size 0
token 14: primitive, start 298 ‘t’ end 302 ‘]’ size 0
2017-06-20 14:55:58 new job 851262867255768
json_parse
out buffer: {“id”:3,“method”:“mining.extranonce.subscribe”,“params”:}
nonce2 00
in buffer: {“id”:3,“result”:null,“error”:[20,“Unknown method”,null]}
json_parse
token 0: object, start 0 ‘{’ end 57 ‘’ size 3
token 1: string, start 2 ‘i’ end 4 ‘"’ size 1
token 2: primitive, start 6 ‘3’ end 7 ‘,’ size 0
token 3: string, start 9 ‘r’ end 15 ‘"’ size 1
token 4: primitive, start 17 ‘n’ end 21 ‘,’ size 0
token 5: string, start 23 ‘e’ end 28 ‘"’ size 1
token 6: array, start 30 ‘[’ end 56 ‘}’ size 3
token 7: primitive, start 31 ‘2’ end 33 ‘,’ size 0
token 8: string, start 35 ‘U’ end 49 ‘"’ size 0
token 9: primitive, start 51 ‘n’ end 55 ‘]’ size 0
not accepted, exiting

Ok using -N 0

./yazecminer -l zec-us.coinmine.pl:7007 -u omater.zvm -p xy -N 0
2017-06-20 15:03:05 Yet Another ZEC Miner, CPU miner for https://z.cash/
2017-06-20 15:03:05 BLAKE2b implementation: reference
2017-06-20 15:03:05 equihash info: word 4 bytes, mem 205553664 bytes
2017-06-20 15:03:05 connecting to zec-us.coinmine.pl:7007
2017-06-20 15:03:06 connected!
2017-06-20 15:03:06 subscribed, nonce1 00000000000000000004c62d len 12
2017-06-20 15:03:06 authorized
2017-06-20 15:03:06 got target 000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
2017-06-20 15:03:06 new job 896337037772932
2017-06-20 15:03:21 stat: cur 1.67 Sol/s avg 1.67 Sol/s, total 25 send 0 ok 0 jobs 1 interrupts 0
2017-06-20 15:03:22 new job 266137283665503
2017-06-20 15:03:36 stat: cur 1.77 Sol/s avg 1.68 Sol/s, total 53 send 0 ok 0 jobs 2 interrupts 1
2017-06-20 15:03:37 new job 378127086535904
2017-06-20 15:03:51 stat: cur 1.77 Sol/s avg 1.69 Sol/s, total 78 send 0 ok 0 jobs 3 interrupts 2
2017-06-20 15:04:06 stat: cur 1.83 Sol/s avg 1.70 Sol/s, total 108 send 0 ok 0 jobs 3 interrupts 2
2017-06-20 15:04:21 stat: cur 2.20 Sol/s avg 1.75 Sol/s, total 144 send 0 ok 0 jobs 3 interrupts 2
2017-06-20 15:04:36 stat: cur 2.00 Sol/s avg 1.78 Sol/s, total 168 send 0 ok 0 jobs 3 interrupts 2
2017-06-20 15:04:51 stat: cur 1.60 Sol/s avg 1.76 Sol/s, total 192 send 0 ok 0 jobs 3 interrupts 2

you may run several processes, one for each cpu/core.

Friend grateful for your support. But I see that in the Pruba The use of a Mainframe to undermine is not good because the hasheo values are not the most optimal or expected. Despite the fact that it is a state of the art equipment. With a S390x architecture IBM Z13s

This result of mining zcash:

2017-06-20 15:03:51 stat: cur 1.77 Sol/s avg 1.69 Sol/s, total 78 send 0 ok 0 jobs 3 interrupts 2

Moreover, it neither fully processes them

I obtained better result in an I7 is crazy but true

i’d say it’s what expected. Intel’s CPU are the best, and GPU beats CPU in mining.

at this rate and target you will need to run the miner at least a hour to have a good (submitted) solutions. would you please do it just to confirm that all bytes and bits are correct?