Try adding

export SGE_ROOT=/directory where drmaa sits or one-two higher

I had a similar problem compiling a perl wrapper for drmaa (LSF). I found this SGE_ROOT used in the makefile for generating a SWIG perl wrapper for the drmaa.h header. And also there were some assumptions about the directory structure below SGE_ROOT which was not what we have for LSF. So I edited the makefile and got rid of SGE_ROOT altogether. The upshot of this is that to generate a python binding for your queuing system you might have to go deeper than just scrambling


is there anyone here who has any experience running galaxy with the queuing system SLURM? I've tried to install SLURM and a DRMAA module ( I use the line:

$ export DRMAA_LIBRARY_PATH=/path/to/; python scripts/ DRMAA_python

The script compiles the egg nicely. When I try to start galaxy, it seems to be looking for SGE_ROOT though. Any thoughts?

Best regards,
Oscar Eriksson

Log file:
galaxy.datatypes.registry DEBUG 2011-02-09 15:42:27,127 Loaded external metadata tool: __SET_METADATA__ galaxy.datatypes.registry DEBUG 2011-02-09 15:42:27,132 Loaded indexer: INDEXER_Coverage_0 galaxy.datatypes.registry DEBUG 2011-02-09 15:42:27,137 Loaded indexer: INDEXER_Coverage_0 galaxy.datatypes.registry DEBUG 2011-02-09 15:42:27,142 Loaded indexer: INDEXER_Interval_0 INFO 2011-02-09 15:42:27,143 starting workers DEBUG 2011-02-09 15:42:27,144 5 workers ready
Traceback (most recent call last):
File "/usr/ebiokit/galaxy/lib/galaxy/web/", line 82, in app_factory
    app = UniverseApplication( global_conf = global_conf, **kwargs )
  File "/usr/ebiokit/galaxy/lib/galaxy/", line 72, in __init__
    self.job_manager = jobs.JobManager( self )
File "/usr/ebiokit/galaxy/lib/galaxy/jobs/", line 41, in __init__
    self.dispatcher = DefaultJobDispatcher( app )
File "/usr/ebiokit/galaxy/lib/galaxy/jobs/", line 749, in __init__
    self.job_runners[runner_name] = runners.drmaa.DRMAAJobRunner( app )
File "/usr/ebiokit/galaxy/lib/galaxy/jobs/runners/", line 81, in __init__
File "/usr/ebiokit/galaxy/eggs/drmaa-0.4b3-py2.6.egg/drmaa/", line 274, in initialize
File "/usr/ebiokit/galaxy/eggs/drmaa-0.4b3-py2.6.egg/drmaa/", line 59, in init
    return _lib.drmaa_init(contact, error_buffer, sizeof(error_buffer))
File "/usr/ebiokit/galaxy/eggs/drmaa-0.4b3-py2.6.egg/drmaa/", line 90, in error_check
    raise _ERRORS[code-1]("code %s: %s" % (code, error_buffer.value))
InternalException: code 1: Please set the environment variable SGE_ROOT.

galaxy-dev mailing list

The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. _______________________________________________
galaxy-dev mailing list

Reply via email to