# Job completed but no output

**URL:** <https://community.openpbs.org/t/job-completed-but-no-output/3775>\
**Category:** Users/Site Administrators\
**Created:** [February 6, 2024, 11:16am UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775 "2024-02-06T11:16:55Z")\
**Posts on this page:** 6\
**Page:** 2

<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:** [February 6, 2024, 8:21pm UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775/21 "2024-02-06T20:21:47Z")

</div>

> [@echo1115](#):
>
> `Torque Mom Version = 6.1.1.`

You are using Torque and not OpenPBS Pro. Hence, the command line arguments to qstat / qsub would differ.

> [@PBS Default number of nodes and number of cpus](https://community.openpbs.org/t/pbs-default-number-of-nodes-and-number-of-cpus/834/4):
>
> So a little history for your knowledge. PBS was originally developed for NASA under a contract project. Altair Engineering acquired the rights to all the PBS technology and intellectual property from Veridian in 2003. Altair Engineering currently owns and maintains the intellectual property associated with PBS, and also employs the original development team from NASA. The following versions of PBS are currently available: OpenPBS — original open source version released by MRJ in 1998 (not ac…

---

<div class="post-metadata">

**Author:** ![echo1115](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@echo1115](https://community.openpbs.org/u/echo1115)\
**Post date:** [February 7, 2024, 4:21am UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775/22 "2024-02-07T04:21:40Z")

</div>

> [@adarsh](#):
>
> Could you please check whether you are using OpenPBSPro or torque.  
> Could you please share the output of the below commands  
> qstat --version  
> qstat -Bf

qstat --version

```auto
Version: 6.1.1.1
Commit: 22f28343b8ee83b1234479b20224353f6c2db317

```

qstat -Bf

```auto
Server: node01
    server_state = Active
    scheduling = True
    total_jobs = 4
    state_count = Transit:0 Queued:0 Held:0 Waiting:0 Running:4 Exiting:0 Comp
        lete:0 
    acl_hosts = node01
    managers = haichao@node01
    operators = haichao@node01
    default_queue = batch
    log_events = 2047
    mail_from = adm
    resources_assigned.nodect = 6
    node_check_rate = 150
    tcp_timeout = 300
    job_stat_rate = 300
    poll_jobs = True
    down_on_error = True
    mom_job_sync = True
    pbs_version = 6.1.1.1
    keep_completed = 300
    next_job_number = 875
    net_counter = 0 0 0
    moab_array_compatible = True
    nppcu = 1
    timeout_for_job_delete = 120
    timeout_for_job_requeue = 120
    note_append_on_error = True

```

Thanks for the history, could you help me to modify my scripts?

---

<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:** [February 7, 2024, 6:01am UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775/23 "2024-02-07T06:01:08Z")

</div>

The suggestion made above are for OpenPBS and would not work for the work load manager that you have on your system. You would need to refer the admin/user manual for the work load manager that is deployed on your system or you would need to switch to OpenPBS if there is an opportunity.

---

<div class="post-metadata">

**Author:** ![echo1115](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@echo1115](https://community.openpbs.org/u/echo1115)\
**Post date:** [February 7, 2024, 11:44am UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775/24 "2024-02-07T11:44:16Z")

</div>

Thanks for your suggestions! I will refer the admin/user manual of torque.

---

<div class="post-metadata">

**Author:** ![echo1115](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@echo1115](https://community.openpbs.org/u/echo1115)\
**Post date:** [February 7, 2024, 4:33pm UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775/25 "2024-02-07T16:33:02Z")

</div>

> [@echo1115](#):
>
> I create a directory `for_out` in /home/username/projects/bees2024/, and run `qsub -koe -o ./for_out/out.OU -e ./for_out/error.ER run_moose.pbs`, but still no output files

For this matter, I need to make a correction: when using the `-koe` parameter, I can find the standard output and error files, but they are located in the `home` directory instead of the directory where I submitted the script to run.

---

<div class="post-metadata">

**Author:** ![dtalcott](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/dtalcott/32/410_2.png) [@dtalcott](https://community.openpbs.org/u/dtalcott)\
**Post date:** [February 7, 2024, 7:31pm UTC](https://community.openpbs.org/t/job-completed-but-no-output/3775/26 "2024-02-07T19:31:38Z")

</div>

I think you should work on the first issue you found: why your output ends up in undelivered. Most likely, something is wrong with your ssh setup. What happens if you login to node03 and run

```auto
pwd
ssh node01 pwd

```

If you get errors from these, you need to fix them and then see if the original script now works.

[Previous page](https://community.openpbs.org/t/job-completed-but-no-output/3775.md?page=1)
