<div dir="ltr">I have a local /var/spool/torque directory on each node and remotely mount a directory with the executables. I assume this is how almost everyone else does it.<br><br><br>If you really want your logs all in one place then on each computer you could symlink /var/spool/torque/mom_logs to /raida/PBS/hostname/mom_logs where hostname is the name of the host you are creating the symlink on. so you are setting up node10 you would ssh to node10 and symlink /var/spool/torque/mom_logs to /raida/PBS/node10/mom_logs<br>
<br>you can also specify the path to a log file for pbs_mom on the command line, so if you want your logs written to your NFS mounted directory you could specify a path for the log file. Note that if you do this you will not get a new log file every day, you'll have one log file that keeps getting bigger and bigger so you will want to setup log rolling (pbs_mom can do the log rolling if you set some parameters in the config file)<br>
<br><br><br>I still think this is all a bad idea. I would have local directories for the mom logs though, I would not write the logs to NFS <br><br><br><br><div class="gmail_quote">On Wed, Jul 30, 2008 at 1:24 PM, Yanan Sun <span dir="ltr"><<a href="mailto:nancyprc@gmail.com">nancyprc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">so you mean if i don't copy the whole thing on each computer, it can<br>
not have seperate jobs directory and log files?<br>
<div><div></div><div class="Wj3C7c"><br>
On Wed, Jul 30, 2008 at 1:15 PM, Glen Beane <<a href="mailto:glen.beane@gmail.com">glen.beane@gmail.com</a>> wrote:<br>
> I would have a local pbs spool directory (like /var/spool/torque) on each<br>
> compute node. I think it is a bad idea to mount them remotely. You'll run<br>
> into problems with sharing the mom_priv/jobs directory too I think.<br>
><br>
><br>
><br>
><br>
><br>
> On Wed, Jul 30, 2008 at 1:03 PM, Yanan Sun <<a href="mailto:nancyprc@gmail.com">nancyprc@gmail.com</a>> wrote:<br>
>><br>
>> hi, there<br>
>><br>
>> i have torque/maui installed in our cluster system. the headnode is<br>
>> running fine and i am trying to add more nodes. the files already<br>
>> mounted on each nodes, but for the way how it mounted, the mom_log<br>
>> file is read only. i don't want to change the way mount files on every<br>
>> nodes, soi am trying to change the directory of the log file goes to.<br>
>> now everything goes to /usr/PBS_spool/mom_logs, i want to change to<br>
>> /raida/PBS/$hostname/mom_logs<br>
>> how can i change it?<br>
>> thanks.<br>
>><br>
>> Yanan<br>
>> _______________________________________________<br>
>> torqueusers mailing list<br>
>> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
>> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>