[torqueusers] prologue script

Tian, Dong dong.tian at gmail.com
Sun Dec 16 16:32:18 MST 2012

It was solved. The problem is that the script was not copied to the compute
nodes. It only resides at the head node.


On Sat, Dec 15, 2012 at 11:32 AM, Tian, Dong <dong.tian at gmail.com> wrote:

> Dear Experts,
> I have a question on how to run prologue script on our TORQUE system, in
> order to perform some health check before a job is to be executed.
> My first test is print environment variables, but the print never appear
> in the output log file. So I suspect the prologue script never runs.
> The script is like this,
> #!/bin/bash
> echo  "Requested Resource: $5"
> exit 0
> It was placed under /opt/torgue/mom_priv, with file name "prologue". File
> permission is set to "-r-x------".
> The system was not restarted after the changes, for there are ongoing jobs.
> Could someone give me a hint anything I did was wrong or I missed
> something?
> Thanks a lot!
> Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20121216/044a9a9d/attachment.html 

More information about the torqueusers mailing list