Skip to content

Commit d42cae2

Browse files
authored
Addressing Ian's review comments
1 parent f9b0590 commit d42cae2

File tree

1 file changed

+4
-8
lines changed
  • mkdocs-project-dir/docs/Software_Guides

1 file changed

+4
-8
lines changed

mkdocs-project-dir/docs/Software_Guides/R.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ To try this example, save this job script and the following R script (`doMPI_exa
137137
# Batch script to run an MPI parallel R job using the doMPI package
138138
# with the upgraded software stack under SGE with OpenMPI.
139139
140-
# R Version 4.4.2 with doMPI/Rmpi
141-
142140
# Request ten minutes of wallclock time (format hours:minutes:seconds).
143141
#$ -l h_rt=0:10:0
144142
@@ -147,7 +145,7 @@ To try this example, save this job script and the following R script (`doMPI_exa
147145
148146
# Set tmpfs to 15 gigabyte of TMPDIR space (default is 10 GB)
149147
# Remove this for clusters without temporary filesystems, e.g. Kathleen
150-
#$ -l tmpfs=15G
148+
#$ -l tmpfs=1G
151149
152150
# Set the name of the job.
153151
#$ -N R-doMPI-example
@@ -156,9 +154,8 @@ To try this example, save this job script and the following R script (`doMPI_exa
156154
# on Myriad would be 36. On Kathleen, request at least 41 processes.
157155
#$ -pe mpi 12
158156
159-
# Set the working directory. In this case, we use the home directory.
160-
# Replace "<your_UCL_id>" with your UCL user ID
161-
#$ -wd /home/<your_UCL_id>
157+
# Set the working directory to the current directory. In this case, we use the home directory.
158+
#$ -cwd
162159
163160
module -f unload compilers mpi gcc-libs
164161
module load r/r-4.4.2_bc-3.20
@@ -167,7 +164,7 @@ module load r/r-4.4.2_bc-3.20
167164
168165
gerun Rscript doMPI_example.R
169166
```
170-
The output is saved in `$HOME/dR-doMPI-example.o${JOB_ID}`.
167+
The output is saved in `~/R-doMPI-example.o${JOB_ID}`.
171168

172169
If your jobscript is called `run-R-doMPI.sh` then your job submission command would be:
173170
```
@@ -288,4 +285,3 @@ If you want to keep some libraries separate, you can have multiple colon-separat
288285
If you are installing extra packages for BioConductor, check that you are using the same version that the R module you have loaded is using.
289286

290287
Eg. you can find the [BioConductor 3.15 package downloads here](http://www.bioconductor.org/packages/3.15/BiocViews.html#___Software).
291-

0 commit comments

Comments
 (0)