mlr-org / mlr-org/batchtools

conda env activation in template?

Open
#181 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
184
Forks
53
Avg merge
7d 2h
Merged PRs (30d)
1

Description

Researchers in my lab use conda to manage all bioinformatics software, including python and R packages. We have an available SGE cluster, and to submit jobs to the cluster that require a specific conda environment, we have to include the following the job submission script: source activate MY_CONDA_ENV. Can this line be added to the batchtools SGE template? Can the user specify the particular conda environment via makeClusterFunctionsSGE or submitJob?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the SGE template and the makeClusterFunctionsSGE and submitJob entry points named in the issue. Trace how submission scripts are assembled and how a user-supplied conda environment could be represented. Done means an SGE job can activate the requested environment, with coverage for configured and default cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
hpc
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.