nanshe/nanshe_learner.py: Only tries to import the drmaa python module if it is intended to be use. If drmaa is installed or if libdrmaa.so cannot be found (requires the environmental variable DRMAA_LIBRARY_PATH be set to libdrmaa.so), the error is logged and the appropriate exception (ImportError or RuntimeError) is raised.
nanshe/nanshe_learner.py: Attempt at adapting job pool for drmaa.
nanshe/nanshe_learner.py: Now, makes sure that the JobTemplate instances constructed are deleted so as to avoid memory leaks.
nanshe/nanshe_learner.py: Copy environment variables to new jobs.
nanshe/nanshe_learner.py: Redirect input and output to /dev/null.
nanshe/nanshe_learner: Updated error message for libdrmaa.so not found.
nanshe/nanshe_learner.py: Expects hostname to be specified before path.
nanshe/nanshe_learner.py: Changed name of each_ready_process to each_process_template. Added storage of job template in running_processes.
nanshe/nanshe_learner.py: Route stderr for each drmaa job to /dev/null.
nanshe/nanshe_learner.py: Added ability to specify the number of cores for each drmaa job submitted.
nanshe/nanshe_learner.py: Added support for redirecting the stdout and stderr of each block subprocess.
nanshe/nanshe_learner.py: Added support using drmaa for redirecting the stdout and stderr of each block subprocess.
nanshe/nanshe_learner.py: Adds a jobname for each DRMAA job based on the name of its output.
nanshe/nanshe_learner.py: Add job name for DRMAA submission.
nanshe/nanshe_learner.py: Switched "/dev/null" to os.devnull.
nanshe/nanshe_learner.py: Set cwd.
tests/test_nanshe_learner.py: Provided support for drmaa tests in TestNansheLearner.setup.
tests/test_nanshe_learner.py: Added a test for generate_neurons_blocks that uses drmaa.
tests/test_nanshe_learner.py: Added a test for generate_neurons_io_handler that uses drmaa.
tests/test_nanshe_learner.py: Added a test for main that uses drmaa.