# Selecting node hardware by queue

**URL:** <https://community.openpbs.org/t/selecting-node-hardware-by-queue/2780>\
**Category:** Users/Site Administrators\
**Created:** [September 5, 2021, 3:30pm UTC](https://community.openpbs.org/t/selecting-node-hardware-by-queue/2780 "2021-09-05T15:30:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fnevgeny](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/fnevgeny/32/375_2.png) [@fnevgeny](https://community.openpbs.org/u/fnevgeny)\
**Post date:** [September 5, 2021, 3:30pm UTC](https://community.openpbs.org/t/selecting-node-hardware-by-queue/2780/1 "2021-09-05T15:30:59Z")

</div>

Hello,

I have several nodes with specific hardware, namely Infiniband. I want all MPI jobs to only be sent to these nodes. To this end, I defined a custom boolean resource “ib”, flag “h”, and set it to `true` on all these nodes (and `false` on the others). Also added it to the “resources:” line in `sched_config`. Indeed, as long as I submit a job with `ib=True` it lands on one of the specific nodes.

My next step was to make a dedicated “mpi” queue that will place all submitted jobs on these nodes (without the need to specify `ib=True`):

`set queue mpi resources_default.ib = True`

But this doesn’t work. Instead, I’m getting  
`09/05/2021 18:18:47 L Insufficient amount of queue resource: ib (True != False) 09/05/2021 18:18:47 L Job will never run with the resources currently configured in the complex`

Why??

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [September 5, 2021, 10:08pm UTC](https://community.openpbs.org/t/selecting-node-hardware-by-queue/2780/2 "2021-09-05T22:08:19Z")

</div>

> [@fnevgeny](#):
>
> set queue mpi resources\_default.ib = True

Please unset this setting and try this  
`set queue mpi default_chunk.ib=True`

---

<div class="post-metadata">

**Author:** ![fnevgeny](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/fnevgeny/32/375_2.png) [@fnevgeny](https://community.openpbs.org/u/fnevgeny)\
**Post date:** [September 6, 2021, 9:29am UTC](https://community.openpbs.org/t/selecting-node-hardware-by-queue/2780/3 "2021-09-06T09:29:21Z")

</div>

Great, it works! `default_chunk` is what I missed…
