Interactive-apps sbatch: error: Batch job submission failed

hi, jupyter Interactive-apps submit error

# /var/www/ood/apps/sys/bc_jupyter/submit.yml.erb
---
batch_connect:
  template: "basic"
### Add the following content to slurm ###
script:
  native:
    - "-N"
    - "<%= bc_num_slots.blank? ? 1 : bc_num_slots.to_i %>"
    - "-C"
    - "c12"

Error is as follows:

After the parameters are recovered, the submission is normal

# /var/www/ood/apps/sys/bc_jupyter/submit.yml.erb
---
batch_connect:
  template: "basic"

Hi Liu.

Thank you for your post. We’ll take a look at this, and get back with you.

For clarity. Are you saying when you remove

script:
native:
- “-N”
- “<%= bc_num_slots.blank? ? 1 : bc_num_slots.to_i %>”
- “-C”
- “c12”

it works fine?

Thanks,
-gerald

yes , I found the reason,is that slurm does not set --constraints,Not required “-C” and “c12”。