# No such file or directory - /opt/slurm/bin/qsub)

**URL:** <https://discourse.openondemand.org/t/no-such-file-or-directory-opt-slurm-bin-qsub/3026>\
**Category:** Get Help\
**Created:** [October 17, 2023, 9:26pm UTC](https://discourse.openondemand.org/t/no-such-file-or-directory-opt-slurm-bin-qsub/3026 "2023-10-17T21:26:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vtana](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/vtana/32/1858_2.png) [@vtana](https://discourse.openondemand.org/u/vtana)\
**Post date:** [October 17, 2023, 9:26pm UTC](https://discourse.openondemand.org/t/no-such-file-or-directory-opt-slurm-bin-qsub/3026/1 "2023-10-17T21:26:35Z")

</div>

Hello All,

I am trying to install Open Ondemand first time. I managed to configure basic part like webui and shell prompt. When trying to submit a job using jobcomposer on Slurm cluster. I am facing this below error. It seems after I click submit button, it is pointing to qsub cmd, PBS schedular.

# === App 883218 output: [2023-10-17 17:10:50 -0400] INFO “[787c705a-50c8-49a3-9e57-d482c830b637] execve = [{"PBS\_DEFAULT"=\>"test-server.dev.net", "LD\_LIBRARY\_PATH"=\>":"}, "/opt/slurm/bin /qsub", "-A", "research", "-j", "oe"]” App 883218 output: [2023-10-17 17:10:50 -0400] INFO “[787c705a-50c8-49a3-9e57-d482c830b637] method=PUT path=/pun/sys/myjobs/workflows/1/submit format=html controller=WorkflowsController action=submit stat us=500 error='Errno::ENOENT: **No such file or directory - /opt/slurm/bin/qsub’** duration=20.73 view=0.00 db=5.07” App 883218 output: [2023-10-17 17:10:50 -0400] FATAL “[787c705a-50c8-49a3-9e57-d482c830b637] \n[787c705a-50c8-49a3-9e57-d482c830b637] Errno::ENOENT (No such file or directory - /opt/slurm/bin/qsub):\n[78 7c705a-50c8-49a3-9e57-d482c830b637] \n[787c705a-50c8-49a3-9e57-d482c830b637] config/initializers/open3\_extensions.rb:6:in `capture3'\n[787c705a-50c8-49a3-9e57-d482c830b637] app/models/resource_mgr_adapter .rb:37:in `qsub’\n[787c705a-50c8-49a3-9e57-d482c830b637] app/models/workflow.rb:291:in `each'\n[787c705a-50c8-49a3-9e57-d482c830b637] app/models/workflow.rb:291:in `submit\_jobs’\n[787c705a-50c8-49a3-9e57-d4 82c830b637] app/models/workflow.rb:259:in `submit'\n[787c705a-50c8-49a3-9e57-d482c830b637] app/controllers/workflows_controller.rb:178:in `block in submit’\n[787c705a-50c8-49a3-9e57-d482c830b637] app/contro llers/workflows\_controller.rb:173:in `submit’”

Any idea how to fix this?

## my\_cluster.yml file:

v1:  
title: “Slurm Cluster”  
cluster:  
type: “OodCluster::Cluster”  
data:  
servers:  
login:  
type: “OodCluster::Servers::Ssh”  
data:  
host: “[test-server.dev.net](http://test-server.dev.net)”  
resource\_mgr:  
type: “OodCluster::Servers::Slurm”  
data:  
host: “[test-server.dev.net](http://test-server.dev.net)”  
bin: “/opt/slurm/bin”  
conf: “/opt/slurm/etc/slurm.conf”

```
       #bin_overrides:
                #squeue: "/opt/slurm/bin/squeue"
           # sbatch: "/usr/local/bin/sbatch_wrapper"

```

Thanks,

Vinod

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [October 17, 2023, 10:07pm UTC](https://discourse.openondemand.org/t/no-such-file-or-directory-opt-slurm-bin-qsub/3026/2 "2023-10-17T22:07:37Z")

</div>

Hello and welcome!

There’s several things off in that `cluster.yml` and it may be easier to ask first if you have been to the cluster configuration page:  
[https://osc.github.io/ood-documentation/latest/installation/resource-manager/slurm.html](https://osc.github.io/ood-documentation/latest/installation/resource-manager/slurm.html)

I don’t think i’ve seen some use the `v1:` before, but that is likely the first problem. Really, the whole file looks wrong.

Look over the page I shared, adjust your fields off what you see there, and see if you can get this to connect or generate a new error from there. That’ll be way easier than trying to untangle what’s there currently.

Also, please use formatting! It is there for a reason and troubleshooting will be only harder for both of us if you keep posting without ensuring it’s raw text using backticks.

---

<div class="post-metadata">

**Author:** ![vtana](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/vtana/32/1858_2.png) [@vtana](https://discourse.openondemand.org/u/vtana)\
**Post date:** [October 18, 2023, 11:13am UTC](https://discourse.openondemand.org/t/no-such-file-or-directory-opt-slurm-bin-qsub/3026/3 "2023-10-18T11:13:01Z")

</div>

Hello Travert,

Thanks a lot. it worked after I changed to v2.

Initially, I followed same link that you provided, somehow it didn’t worked and I tried so many things in cluster.yml, v1 is one of them 🙂

Thanks,

Vinod

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [April 15, 2024, 11:13am UTC](https://discourse.openondemand.org/t/no-such-file-or-directory-opt-slurm-bin-qsub/3026/4 "2024-04-15T11:13:04Z")

</div>

Closed on April 15, 2024, 11:13am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
