# Issues related to the working directory

**URL:** <https://community.openpbs.org/t/issues-related-to-the-working-directory/1919>\
**Category:** Users/Site Administrators\
**Created:** [December 19, 2019, 6:14pm UTC](https://community.openpbs.org/t/issues-related-to-the-working-directory/1919 "2019-12-19T18:14:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afernandezody](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@afernandezody](https://community.openpbs.org/u/afernandezody)\
**Post date:** [December 19, 2019, 6:14pm UTC](https://community.openpbs.org/t/issues-related-to-the-working-directory/1919/1 "2019-12-19T18:14:38Z")

</div>

Hello PBSPro Team,  
I’m having some trouble with the working directory and job outputs. PBSPro was installed by someone else so I’m not familiar with all the installation details. The jobs run fine but I just cannot find the outputs, don’t know where they went. I have tried adding “#PBS -o /home/afernandez/qs\_128.out” and “cd /home/afernandez” to the script but makes no difference. I also tried setting PBS\_O\_WORKDIR but still without success. The thread #1518 suggests taking a look at the file profile.d but couldn’t find it. Any suggestions on how to proceed? Thanks.

---

<div class="post-metadata">

**Author:** ![daniel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/daniel/32/630_2.png) [@daniel](https://community.openpbs.org/u/daniel)\
**Post date:** [December 19, 2019, 6:49pm UTC](https://community.openpbs.org/t/issues-related-to-the-working-directory/1919/2 "2019-12-19T18:49:45Z")

</div>

Hi @afernandezody

Try to exec qstat -f jobID. It will return a detailed information about your job. In this output there are two statments: **Error\_Path** and **Output\_Path**. These are the paths that you are looking for.

---

<div class="post-metadata">

**Author:** ![afernandezody](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@afernandezody](https://community.openpbs.org/u/afernandezody)\
**Post date:** [December 19, 2019, 8:09pm UTC](https://community.openpbs.org/t/issues-related-to-the-working-directory/1919/3 "2019-12-19T20:09:51Z")

</div>

Hi **Daniel** ,  
Thanks!
