Search
Page 5 of 7. Showing 68 results (0.028 seconds)
jobSubmit_emailCallback.py
# # ====================================================== import os, sys # Make sure that qb module is in the python path if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ['QBDIR…qbsubmit.py
': sys.path.append('/usr/local/pfx/qube/api/python'); else: sys.path.append('c:/program files/pfx/qube/api/python'); sys.path.append('../../api/python'); # # Import the qb module # import…callback4.pl
# use lib "../../api/perl"; use lib "$ENV{QB_DIR}/api/perl"; use lib "$ENV{QBDIR}/api/perl"; use qb; my $callback = { "triggers" => "globaltime-10000", "language" => "perl…Basic python job submission I. Single command
import os, sys # The next few lines attempt to import the Qube API. If the path to the qb module # is not in $PATH or $PYTHONPATH, we will attempt to find it by looking in known…bootstrap.py
$ # ################################################################## # load system libs import sys, os, os.path import getopt # load qb module try: import qb except ImportError…Customizing the Qube GUI
QubeGUI is essentially a set of Python scripts that calls upon the qb Python API module to interface with the Qube Supervisor. It uses platform-independent wxPython…Packages
=> "/location/to/my/images" }; $job->{package} = $package; qb::submit($job); In the example above, the developer chose to use a hash reference with the elements scenefile…qbhosts.pl
"$ENV{QB_DIR}/api/perl"; use lib "../../api/perl"; use lib "../api/perl"; use qb; use Getopt::Long; my $help, $state; my $result = GetOptions( "state" => \$state, "help…bootstrap.py
' % os.environ.get('QBDIR')) #load qube libs import qb def main(): options = 'h' longOptions = ['archive=', 'backend=', 'base…Launching the QubeGUI/QubeWranglerView (6.4+)
/qb/gui/qube.py. If using this method, it will require having the following components installed: Python (required) wxPython (required) numpy (optional, to display the job charts…