-
Hey all. I got a virtual machine for test:
and run cmd "chia plots create -k 32 -n 2" in a virtual machine get error : # chia plots create -k 32 -n 2
.......
Caught plotting error: Bitfield plotting not supported by CPU
Traceback (most recent call last):
File "/root/workspace/chia-blockchain/venv/bin/chia", line 8, in <module>
sys.exit(main())
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/src/cmds/chia.py", line 76, in main
cli() # pylint: disable=no-value-for-parameter
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/src/cmds/plots.py", line 134, in create_cmd
create_plots(Params(), ctx.obj["root_path"])
File "/root/workspace/chia-blockchain/venv/lib/python3.7/site-packages/src/plotting/create_plots.py", line 176, in create_plots
args.nobitfield,
RuntimeError: std::exception my virtual machine cpu info: # lscpu
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Seat: 1
NUMA node: 1
Vendor ID: GenuineIntel
CPU series: 15
Model: 6
Model name: Common KVM processor
Step: 1
CPU MHz: 2294.686
BogoMIPS: 4589.37
Hypermanager manufacturer: KVM
Virtualization type: Full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 16384K
NUMA node 0 CPU: 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology eagerfpu pni cx16 x2apic hypervisor lahf_lm
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Common KVM processor
stepping : 1
microcode : 0x1
cpu MHz : 2294.686
cache size : 16384 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 mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology eagerfpu pni cx16 x2apic hypervisor lahf_lm
bogomips : 4589.37
clflush size : 64
cache_alignment : 128
address sizes : 40 bits physical, 48 bits virtual
power management:
...
...
...
can anyone help me? |
Beta Was this translation helpful? Give feedback.
Answered by
hoffmang9
Apr 9, 2021
Replies: 1 comment 1 reply
-
You have to use a processor that supports popcnt or disable bitfield plotting. I have no idea what your virtualization software is up to but I also caution you that virtualized plotting is going to be significantly slower than plotting directly on the real CPU. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
y-ang2010
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to use a processor that supports popcnt or disable bitfield plotting. I have no idea what your virtualization software is up to but I also caution you that virtualized plotting is going to be significantly slower than plotting directly on the real CPU.