35,360
edits
No edit summary |
(Updating to match new version of source page) |
||
Line 343: | Line 343: | ||
# --------------------------------------------------------------------- | # --------------------------------------------------------------------- | ||
}} | }} | ||
== Other considerations == | |||
=== Specifying a CPU architecture === | |||
Cedar has two distinct CPU architectures available: [https://en.wikipedia.org/wiki/Broadwell_(microarchitecture) Broadwell] and [https://en.wikipedia.org/wiki/Skylake_(microarchitecture) Skylake]. Users requiring a specific architecture can request it when submitting a job using the <code>--constraint</code> flag. Note that the names should be written all in lower-case, <code>skylake</code> or <code>broadwell</code>. | |||
An example job requesting the <code>skylake</code> feature on Cedar: | |||
<pre> | |||
#!/bin/bash | |||
#SBATCH --account=def-someuser | |||
#SBATCH --constraint=skylake | |||
#SBATCH --time=0:5:0 | |||
# Display CPU-specific information with 'lscpu'. | |||
# Skylake CPUs will have 'avx512f' in the 'Flags' section of the output. | |||
lscpu | |||
</pre> | |||
''If you are unsure if your job requires a specific architecture, do not use this option.'' Jobs that do not specify a CPU architecture can be scheduled on either Broadwell or Skylake nodes, and will therefore generally start earlier. | |||
== Dépannage == | == Dépannage == |