@@ -137,8 +137,6 @@ To try this example, save this job script and the following R script (`doMPI_exa
137
137
# Batch script to run an MPI parallel R job using the doMPI package
138
138
# with the upgraded software stack under SGE with OpenMPI.
139
139
140
- # R Version 4.4.2 with doMPI/Rmpi
141
-
142
140
# Request ten minutes of wallclock time (format hours:minutes:seconds).
143
141
#$ -l h_rt=0:10:0
144
142
@@ -147,7 +145,7 @@ To try this example, save this job script and the following R script (`doMPI_exa
147
145
148
146
# Set tmpfs to 15 gigabyte of TMPDIR space (default is 10 GB)
149
147
# Remove this for clusters without temporary filesystems, e.g. Kathleen
150
- #$ -l tmpfs=15G
148
+ #$ -l tmpfs=1G
151
149
152
150
# Set the name of the job.
153
151
#$ -N R-doMPI-example
@@ -156,9 +154,8 @@ To try this example, save this job script and the following R script (`doMPI_exa
156
154
# on Myriad would be 36. On Kathleen, request at least 41 processes.
157
155
#$ -pe mpi 12
158
156
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
162
159
163
160
module -f unload compilers mpi gcc-libs
164
161
module load r/r-4.4.2_bc-3.20
@@ -167,7 +164,7 @@ module load r/r-4.4.2_bc-3.20
167
164
168
165
gerun Rscript doMPI_example.R
169
166
```
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}` .
171
168
172
169
If your jobscript is called ` run-R-doMPI.sh ` then your job submission command would be:
173
170
```
@@ -288,4 +285,3 @@ If you want to keep some libraries separate, you can have multiple colon-separat
288
285
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.
289
286
290
287
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