Custom Query (43 matches)


Show under each result:

Results (22 - 24 of 43)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#31 invalid pbs_submit can not work with torque 3.0 bas xiaomou@…

pbs_python version 4.3.3, torque version 3.0.x, python version 2.7 PBSQuery works very well, but pbs_submit always fails. When I ran the following sample code, it always reports: 1 15044 Resources temporarily unavailable None

Sample test code:

import pbs

pbs_server = pbs.pbs_default () pbsconn = pbs.pbs_connect (pbs_server)

print pbsconn

attrl = pbs.new_attropl(1) attrl[0].name = pbs.ATTR_N attrl[0].value = "test"

task_id = pbs.pbs_submit(pbsconn, attrl, "A1.tsk", , 'NULL')

e, e_txt = pbs.error() if e:

print e,e_txt

print task_id


#19 fixed Problem building pbs_python 4.0.0 somebody vizino@…

I just downloaded and tried to compile pbs_python-4.0.0 and got the
following error during the "make" step.  Here's the tail end of the
failing build:

running build_py
creating build
creating build/lib.linux-ia64-2.4
copying src/ -> build/lib.linux-ia64-2.4
copying src/ -> build/lib.linux-ia64-2.4
running build_ext
building '_pbs' extension
creating build/temp.linux-ia64-2.4
creating build/temp.linux-ia64-2.4/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -DTORQUE_OLD -I/usr/include/python2.4 -c
src/pbs_wrap.c -o build/temp.linux-ia64-2.4/src/pbs_wrap.o
gcc -pthread -shared build/temp.linux-ia64-2.4/src/pbs_wrap.o
-L-L/usr/local/packages/torque/2.3.0/lib -ltorque -Wl,--rpath
-Wl,/usr/local/packages/torque/2.3.0/lib -ltorque -o
cannot find -ltorque
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
make: *** [pythonlib] Error 1

It looks like a stray "-L" was inserted in the gcc line.  Rerunning the
failing gcc without the stray "-L" worked fine:

gcc -pthread -shared build/temp.linux-ia64-2.4/src/pbs_wrap.o
-L/usr/local/packages/torque/2.3.0/lib -ltorque -Wl,--rpath
-Wl,/usr/local/packages/torque/2.3.0/lib -ltorque -o

In case it helps I ran configure first as follows:

./configure --prefix=/usr/local/packages/pbs_python/4.0.0

with no errors.

   -Chad Vizino
    Pittsburgh Supercomputing Center
#21 fixed Problem installing debian way bas wim@…

Hi to every body

I have some problem with installing pbs_python with debian/rules binary like describded on
When I run debian/rules binary I get an error

dh_installmime -ppbs-python 
dh_strip -ppbs-python  
dh_compress -ppbs-python  
dh_fixperms -ppbs-python  
dh_makeshlibs -ppbs-python  
dh_installdeb -ppbs-python 
dh_perl -ppbs-python 
dh_shlibdeps -ppbs-python    
dpkg-shlibdeps: failure: no dependency information found for /usr/local/lib/ (used by debian/pbs-python/usr/local/lib/python2.5/site-packages/pbs/
dh_shlibdeps: command returned error code 512
make: *** [binary-predeb-IMPL/pbs-python] Error 1

Is there something I miss?? Many Thanks

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.