CortexFoundation / Cortex_Release

Release
14 stars 3 forks source link

error #11

Open ooqioqio opened 5 years ago

ooqioqio commented 5 years ago

Cortex connect successfully 2019/06/27 15:01:20 Cortex login successfully ..... 2019/06/27 15:01:20 Start mining 2019/06/27 15:01:20 Get Work in task: 0x086e5164c86207dfab99464a7afb349a3c745a 0x8000000000000000000000000000000000000000000000000000000000000000 2019/06/27 15:01:20 New task 0 2789280574285471465 [8 110 81 100 200 98 7 223 171 153 70 4 126 186 83 113 211 34 172 193 14 194 93 70 74 122 251 52 154 60 116 90] SIGILL: illegal instruction PC=0x m=4 sigcode=2

zkh2018 commented 5 years ago

Hi ooqioqio,

Maybe there are some instruction not supported in your cpu. We compile the binary with the environment as below:

  1. Intel(R) Xeon(R) CPU E5-2650, Nvidia 1080Ti
  2. g++5.4, cuda9.2, Nvidia Driver 396.37

You can try to compile the source code by yourself. https://github.com/CortexFoundation/PoolMiner

Shekelme commented 5 years ago

Yes, I am trying. And I see 92 errors:

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9220): error: argument of type "const void " is incompatible with parameter of type "const float "

/usr/lib/gcc/x86_64-linux-gnu/6/include/avx512fintrin.h(9231): error: argument of type "const void " is incompatible with parameter of type "const float "

92 errors detected in the compilation of "/tmp/tmpxft_000004ef_00000000-12_trimmer.compute_70.cpp1.ii". Makefile:36: recipe for target 'cudaN31L14.o.trimmer.o' failed make[1]: *** [cudaN31L14.o.trimmer.o] Error 1 make[1]: выход из каталога «/home/rabinovitch/PoolMiner/miner/libcuckoo» Makefile:12: recipe for target 'all' failed make: *** [all] Error 2 Full errors list is here: [https://pastebin.com/stkjDkJS](url)
ucwong commented 5 years ago

@Shekelme Could you supply more details, like gcc, cuda version and lscpu information. And you should try gcc5 or gcc7 instead of gcc6

Shekelme commented 5 years ago

Thanx for ultra-fast rep;y, @ucwong ! Ubuntu 18.04.3 LTS. gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

'nvidia-smi' says that CUDA Version: 10.1, but 'nvcc --version' says that "Cuda compilation tools, release 9.1, V9.1.85".

lscpu: Архитектура: x86_64 CPU op-mode(s): 32-bit, 64-bit Порядок байт: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Потоков на ядро: 2 Ядер на сокет: 2 Сокетов: 1 NUMA node(s): 1 ID прроизводителя: GenuineIntel Семейство ЦПУ: 6 Модель: 158 Имя модели: Intel(R) Pentium(R) Gold G5400 CPU @ 3.70GHz Степпинг: 10 CPU МГц: 3700.000 CPU max MHz: 3700,0000 CPU min MHz: 800,0000 BogoMIPS: 7392.00 Виртуализация: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 4096K NUMA node0 CPU(s): 0-3 Флаги: 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 art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms invpcid mpx rdseed smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

zkh2018 commented 5 years ago

how about try to disable avx512?

Shekelme commented 5 years ago

Nice proposal. So how to do this? Note that on another Ubuntu mining rig compilation was performed successfully.