[torqueusers] PBSTOP with Torque 4.2.7?

Matteo Ragni matteo.ragni.it at gmail.com
Fri Mar 21 02:19:31 MDT 2014


Il giorno 21/mar/2014 02:28, "Sreedhar Manchu" <sreedhar at nyu.edu> ha
scritto:
>
> Hi Thomas,
>
> Thank you. I got it working by creating a soft link to torque library
from /opt/torque to a place where perl-PBS was looking for it (/usr/lib64).
Before I did that I deleted the torque that came with perl-PBS. It looks
like I don't need to change the code because I got this version of pbstop
from Gareth and I think he must have fixed it to accommodate some of the
things you mentioned.
>
> # rpm -qa | grep torque
>
> torque-2.5.7-9.el6.x86_64
>
> torque-libs-2.5.7-9.el6.x86_64
>
> # rpm -e torque-2.5.7-9.el6.x86_64
>
> error: Failed dependencies:
>
> torque = 2.5.7-9.el6 is needed by (installed)
torque-libs-2.5.7-9.el6.x86_64
>
> # rpm -e torque-2.5.7-9.el6.x86_64 torque-libs-2.5.7-9.el6.x86_64
>
> error: Failed dependencies:
>
> libtorque.so.2()(64bit) is needed by (installed)
perl-PBS-0.33-10.el6.x86_64
>
> # rpm -e torque-2.5.7-9.el6.x86_64 torque-libs-2.5.7-9.el6.x86_64 --nodeps
>
> # ln -s /opt/torque/lib/libtorque.so.2.0.0 /usr/lib64/libtorque.so.2
>
> # ldconfig
>
>
> Thank you again. I appreciate it.
>
>
> Best,
>
> Sreedhar.
>
>
>
> On Thu, Mar 20, 2014 at 3:11 AM, Thomas Dargel <td at chemie.hu-berlin.de>
wrote:
>>
>> Hi,
>>
>>   I ran into trouble with pbstop when jumping from torque v2.4.4 to
v4.6.2.1,
>> too.
>>
>> In my case the harm came out of the subroutine "sub get_info_cmdline {}".
>> Herein I changed a search pattern for the analysis of "/\s+jobs = (.*)/",
>> because the output of "qmgr -c 'l n @server'" differs slightly from
v2.4.4 to
>> v4.6.2.1 in the "jobs = "-section.
>>
>>          elsif (/\s+jobs = (.*)/) {
>>              $eatingjobs=1;
>>              $eatingstatus=0;
>>              $jobs = $1;
>>              $State_count->{"_anodes"}++;
>> #  OLD       foreach my $job ( split ( /, /, $jobs ) ) {
>>              foreach my $job ( split ( /,/, $jobs ) ) {
>>                  if ( $job =~ m{(\d+)/(\d+)} ) {
>>                      $Nodes->{$server}{$node}{job}{$1} = $2;
>>                      $State_count->{"_aprocs"}++;
>>                  }
>>              }
>>
>> And some line later:
>>
>>          elsif ($eatingjobs) {
>>             if ($_ =~ /\w/) {
>>                /^\s+(.*)$/;
>>                $jobs = $1;
>> #  OLD         foreach my $job ( split ( /, /, $jobs ) ) {
>>                foreach my $job ( split ( /,/, $jobs ) ) {
>>                  if ( $job =~ m{(\d+)/(\d+)} ) {
>>                      $Nodes->{$server}{$node}{job}{$1} = $2;
>>                      $State_count->{"_aprocs"}++;
>>                  }
>>                }
>>             }
>>
>>
>> Good luck,
>> regards,
>>
>>   Thomas.
>>
>> On 20.03.2014 05:53, Sreedhar Manchu wrote:
>> > Hi,
>> >
>> > We use Torque 2.5.12 on our current systems (rhea 5.X). PBSTOP works
great with
>> > this version.
>> >
>> > Now I have installed Torque 4.2.7 on a new cluster with CentOS 6.3.
But I'm
>> > having tough time in making pbstop to work well.
>> >
>> > Does anyone know how to get it working with 4.2.7? Getting it with yum
is not an
>> > option as it installs a 2.5.X version of Torque.
>> >
>> > Thanks in advance,
>> > Sreedhar.
>> > New York University.
>> >
>> >
>> > _______________________________________________
>> > torqueusers mailing list
>> > torqueusers at supercluster.org
>> > http://www.supercluster.org/mailman/listinfo/torqueusers
>> >
>>
>> _______________________________________________
>> torqueusers mailing list
>> torqueusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20140321/327760e8/attachment.html 


More information about the torqueusers mailing list