Skip to content

Commit

Permalink
Updated OMP_NUM_THREADS in use_crew_lsf; fusen updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mglev1n committed Oct 27, 2023
1 parent f5ba512 commit 0cc4342
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/use_crew_lsf.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ controller_lsf_normal <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_normal\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=1\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand All @@ -57,6 +58,7 @@ controller_lsf_long <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_long\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=1\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand All @@ -73,6 +75,7 @@ controller_lsf_highmem <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_normal\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=1\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand All @@ -90,6 +93,7 @@ controller_lsf_multicore <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_normal\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=16\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand Down
4 changes: 4 additions & 0 deletions dev/LPC_targets_project.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ controller_lsf_normal <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_normal\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=1\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand All @@ -294,6 +295,7 @@ controller_lsf_long <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_long\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=1\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand All @@ -310,6 +312,7 @@ controller_lsf_highmem <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_normal\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=1\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand All @@ -327,6 +330,7 @@ controller_lsf_multicore <- crew.cluster::crew_controller_lsf(
script_lines = c(
\"#BSUB-q voltron_normal\",
\"export R_LIBS_USER=$HOME/R/rocker-rstudio/bioconductor-tidyverse_3.17\",
\"export OMP_NUM_THREADS=16\",
\"export SINGULARITY_BIND='/project/:/project/, /appl/:/appl/, /lsf/:/lsf/, /scratch/:/scratch, /static:/static'\",
\"singularity exec --pwd {getwd()} /project/voltron/rstudio/containers/bioconductor-tidyverse_3.17.sif \\\\\"
),
Expand Down
10 changes: 10 additions & 0 deletions dev/config_fusen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ flat_miscellaneous.Rmd:
check: false
document: true
overwrite: 'yes'
keep:
path: keep
state: active
R:
- R/levinmisc-package.R
- R/utils-pipe.R
tests:
- tests/testthat/test-description-of-your-package-submit-targets-sh.R
- tests/testthat/test-populate_targets_proj.R
vignettes: []
LPC_targets_project.Rmd:
path: dev/LPC_targets_project.Rmd
state: active
Expand Down

0 comments on commit 0cc4342

Please sign in to comment.