the --cpu option maybe deprecated.
I got the following error: sbatch: option '--cpu' is ambiguous; possibilities: '--cpu-freq' '--cpus-per-task' '--cpus-per-gpu'
I got the following error: sbatch: option '--cpu' is ambiguous; possibilities: '--cpu-freq' '--cpus-per-task' '--cpus-per-gpu'