Search
Page 2 of 10. Showing 97 results (0.014 seconds)
Python job submission with agenda based timeout
is a Qube Callback object. Callback objects (like # all Qube objects in the Python API) are dictionaries at the end # of the day, so we'll define a blank dict. cb = {} cb…I'm working on a Job Type, and I want to run a different version of Perl or Python?
User mode: Set the user's PATH environment variable to point to the version of the scripting language you prefer Proxy mode: the proxy user's PATH environment variable to point to the version of the scripting language you prefer…jobArchive01.py
#!/usr/bin/python import os, sys if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ['QBDIR']); elif os.uname()[0] == 'Darwin': sys.path.append…Getting GUI to work under Ubuntu
Install python 2.4: $ sudo apt-get install python2.4 And change python link: $ cd /usr/bin ; sudo rm python ; sudo ln -s python2.4 python Change default-version in this file to 2.4…jobArchive02.py
#!/usr/bin/python import os, sys if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ['QBDIR']); elif os.uname()[0] == 'Darwin': sys.path.append…Development Options
There are a number of different ways to go about doing tweaks and custom development with Qube. Here is a list of the main ones for Qube. SimpleCmd – This python-based…jobSubmit01.py
#!/usr/bin/python import os, sys if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ['QBDIR']); elif os.uname()[0] == 'Darwin': sys.path.append…bootstrap.py
#!/usr/bin/python ################################################################## # The above line is dependent upon the location of python…jobSubmit06.py
#!/usr/bin/python import os, sys if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ['QBDIR']); elif os.uname()[0] == 'Darwin': sys.path.append…jobSubmit02.py
#!/usr/bin/python import os, sys if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ['QBDIR']); elif os.uname()[0] == 'Darwin': sys.path.append…