diff --git a/doc.zih.tu-dresden.de/docs/software/data_analytics_with_r.md b/doc.zih.tu-dresden.de/docs/software/data_analytics_with_r.md index 41670d12bdb41df2e096b47c6c9db9c75217ecc7..59602d7812873eeff18b1e1ec67431434fbd2804 100644 --- a/doc.zih.tu-dresden.de/docs/software/data_analytics_with_r.md +++ b/doc.zih.tu-dresden.de/docs/software/data_analytics_with_r.md @@ -6,7 +6,7 @@ classical statistical tests, time-series analysis, classification, etc.), machin algorithms and graphical techniques. R is an integrated suite of software facilities for data manipulation, calculation and graphing. -We recommend using the partitions Haswell and/or Romeo to work with R. For more details +We recommend using the clusters Barnard and/or Romeo to work with R. For more details see our [hardware documentation](../jobs_and_resources/hardware_overview.md). ## R Console @@ -14,14 +14,17 @@ see our [hardware documentation](../jobs_and_resources/hardware_overview.md). In the following example, the `srun` command is used to start an interactive job, so that the output is visible to the user. Please check the [Slurm page](../jobs_and_resources/slurm.md) for details. +_The module environments /hiera, /scs5, /classic and /ml originated from the taurus system are momentarily under construction. The script will be updated after completion of the redesign accordingly_ + + ```console -marie@login$ srun --partition=haswell --ntasks=1 --nodes=1 --cpus-per-task=4 --mem-per-cpu=2541 --time=01:00:00 --pty bash -marie@haswell$ module load modenv/scs5 -marie@haswell$ module load R/3.6 +marie@login.barnard$ srun --ntasks=1 --nodes=1 --cpus-per-task=4 --mem-per-cpu=2541 --time=01:00:00 --pty bash +marie@barnard$ module load modenv/scs5 +marie@barnard$ module load R/3.6 [...] Module R/3.6.0-foss-2019a and 56 dependencies loaded. -marie@haswell$ which R -marie@haswell$ /sw/installed/R/3.6.0-foss-2019a/bin/R +marie@barnard$ which R +marie@barnard$ /sw/installed/R/3.6.0-foss-2019a/bin/R ``` Using interactive sessions is recommended only for short test runs, while for larger runs batch jobs @@ -30,7 +33,7 @@ should be used. Examples can be found on the [Slurm page](../jobs_and_resources/ It is also possible to run `Rscript` command directly (after loading the module): ```console -marie@haswell$ Rscript </path/to/script/your_script.R> <param1> <param2> +marie@barnard$ Rscript </path/to/script/your_script.R> <param1> <param2> ``` ## R in JupyterHub @@ -263,6 +266,9 @@ Submitting a multicore R job to Slurm is very similar to submitting an [OpenMP Job](../jobs_and_resources/binding_and_distribution_of_tasks.md), since both are running multicore jobs on a **single** node. Below is an example: +_The module environments /hiera, /scs5, /classic and /ml originated from the taurus system are momentarily under construction. The script will be updated after completion of the redesign accordingly_ + + ```Bash #!/bin/bash #SBATCH --nodes=1