Are you running this on a cluster with ARM CPUs? I am guessing you installed with install_cmdstan()?
This error does suggest the cluster uses ARM CPUs. If that is the case install cmdstan using:
install_cmdstan(release_url = "https://github.com/stan-dev/cmdstan/releases/download/v2.26.1/cmdstan-2.26.1-linux-arm64.tar.gz", cores = 4)