# How to disable stagein/stageout in job lifecycle?

**URL:** <https://community.openpbs.org/t/how-to-disable-stagein-stageout-in-job-lifecycle/1847>\
**Category:** Developers\
**Created:** [November 11, 2019, 9:31am UTC](https://community.openpbs.org/t/how-to-disable-stagein-stageout-in-job-lifecycle/1847 "2019-11-11T09:31:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cherryppju](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@cherryppju](https://community.openpbs.org/u/cherryppju)\
**Post date:** [November 11, 2019, 9:31am UTC](https://community.openpbs.org/t/how-to-disable-stagein-stageout-in-job-lifecycle/1847/1 "2019-11-11T09:31:18Z")

</div>

Hello ^\_^,

In our current cluster, we have used NFS to store the job files. When we use qsub to submit a job under a shared directory, don’t want to stagein. When the job is done, don’t want to stageout. Because that is wasting the I/O.

How to disable stagein/stageout in job life cycle?

Thank you.

---

<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:** [November 11, 2019, 10:34am UTC](https://community.openpbs.org/t/how-to-disable-stagein-stageout-in-job-lifecycle/1847/2 "2019-11-11T10:34:47Z")

</div>

Please share your job submission script ?

Have you tried this : the job submission script and the input deck/data referenced in that job submission script are in shared folder accessible from all the compute nodes (in the same path) by respective job owners. The job is submitted from within that shared folder. In this case the job script would be sent to the mother superior node, rest of the data is used from the respective paths of the common share and results are written back to common share.

---

<div class="post-metadata">

**Author:** ![cherryppju](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@cherryppju](https://community.openpbs.org/u/cherryppju)\
**Post date:** [November 11, 2019, 11:06am UTC](https://community.openpbs.org/t/how-to-disable-stagein-stageout-in-job-lifecycle/1847/3 "2019-11-11T11:06:36Z")

</div>

Yes, I had tried this case. But it still transfer data between temp dir in executed node and shared directory. I don’t want to have any data transfer after job is done but just directly use the shared directory as the execution directory in execution nodes.

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [November 12, 2019, 9:42pm UTC](https://community.openpbs.org/t/how-to-disable-stagein-stageout-in-job-lifecycle/1847/4 "2019-11-12T21:42:56Z")

</div>

Please check the qsub man page for the -k parameter. That will prevent PBS from trying to return output to the submission host.
