# Select a Processor Architecture

Chinook currently has three types of standard compute nodes with differing Intel [micro-architectures](https://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures). It is possible to limit a job to run on just one or two processor types. This allows a binary built with more advanced [instruction sets](https://en.wikipedia.org/wiki/Category:X86_instructions) to be executed only on processors that support the instruction set. If a binary is not built for a specific instruction set, it will run on any of the three types.

The three micro-architectures which translate to a node type are:

1. [Haswell](https://en.wikipedia.org/wiki/Haswell_%28microarchitecture%29)
2. [Broadwell](https://en.wikipedia.org/wiki/Broadwell_%28microarchitecture%29)
3. [Skylake](https://en.wikipedia.org/wiki/Skylake_%28microarchitecture%29) / [Cascade Lake](https://en.wikipedia.org/wiki/Cascade_Lake_%28microarchitecture%29)
4. [Sapphire](https://en.wikipedia.org/wiki/Sapphire_Rapids) To select a specific node type, use the "--constraint" option of the `sbatch` or `srun` commands. Multiple choices may be specified with the OR operator.

Example 1, request a job run only on Skylake/Cascade Lake nodes:

```
sbatch --constraint="Skylake" jobScript.slurm
```

Example 2, request a job run only on Broadwell or Skylake nodes:

```
sbatch --constraint="Broadwell|Skylake" jobScript.slurm
```

Example 3, request a job run only on a single node type, but either Broadwell or Skylake nodes may be used (aka matching OR):

```
sbatch --constraint="[Broadwell|Skylake]" jobScript.slurm
```

By adding a constraint, the number of possible nodes a job can run on will be reduced. This means it may take more time for the scheduler to make those nodes available and launch the job.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://uaf-rcs.gitbook.io/uaf-rcs-hpc-docs/using-batch/select-a-processor-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
