near / stakewars-iii

Stake Wars: Episode 3 challenges and place to report issues
87 stars 177 forks source link

zsh: command not found: lscpu & grep: invalid option -- P #77

Closed GaloisField2718 closed 2 years ago

GaloisField2718 commented 2 years ago

Hello everyone,

I'm trying to do the 2nd challenge (challenges/002.md) and to check if I have the right config

lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \
  && echo "Supported" \
  || echo "Not supported"

I have this errors :

grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
    [-e pattern] [-f file] [--binary-files=value] [--color=when]
    [--context[=num]] [--directories=action] [--label] [--line-buffered]
    [--null] [pattern] [file ...]
zsh: command not found: lscpu

Do you have ideas about how to solve them ?

DDeAlmeida commented 2 years ago

OS ?

GaloisField2718 commented 2 years ago

MacOS Monterey 12.3.1

htafolla commented 2 years ago

Running a validator node on a desktop computer or laptop would not have the resources needed. Please choose a cloud provider or a dedicated server.

On Wed, Aug 3, 2022 at 8:10 AM Galois Field @.***> wrote:

MacOS Monterey 12.3.1

— Reply to this email directly, view it on GitHub https://github.com/near/stakewars-iii/issues/77#issuecomment-1203929694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHO5VLIKPQWGK45HMBMEN3VXJVSLANCNFSM55OJEBUQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Thanks, Henry Tafolla Office: 316-202-0755 Cell: 316-841-4238 Email: @.***

DDeAlmeida commented 2 years ago

Better to have a linux / debian

GaloisField2718 commented 2 years ago

Running a validator node on a desktop computer or laptop would not have the resources needed. Please choose a cloud provider or a dedicated server. On Wed, Aug 3, 2022 at 8:10 AM Galois Field @.> wrote: MacOS Monterey 12.3.1 — Reply to this email directly, view it on GitHub <#77 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHO5VLIKPQWGK45HMBMEN3VXJVSLANCNFSM55OJEBUQ . You are receiving this because you are subscribed to this thread.Message ID: @.> -- Thanks, Henry Tafolla Office: 316-202-0755 Cell: 316-841-4238 Email: @.***

Okay well thanks. I will see some options and maybe I will retry ^^ Thank you for your reactivity

GaloisField2718 commented 2 years ago

Better to have a linux / debian

Yes I will look for linux server which I can use for this and other stuffs ^^