File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ <h3>Computing development pressure</h3>
129129#!/bin/bash
130130#BSUB -n 16
131131#BSUB -W 3:00
132- #BSUB -R span[hosts=1]
132+ #BSUB -R " span[hosts=1]"
133133#BSUB -R "rusage[mem=2GB]"
134134#BSUB -oo devpressure_out
135135#BSUB -eo devpressure_err
@@ -223,17 +223,17 @@ <h3>Postprocessing</h3>
223223grass /share/gis714s26/$USER/futures/results_${SEED} --exec r.colors map=out_seed_${SEED} raster=out_state_1_seed_${SEED}@pga_1_${SEED}
224224</ code > </ pre >
225225
226- Then create another script that submits the patching jobs for each seed (< code > submit_patch.sh</ code > ):
226+ Then submit the computations as 10 separate jobs with the following command:
227+
227228< pre > < code >
228- N=4
229229for SEED in {1..10}
230230do
231- bsub -n ${N} -W 1:00 -R span[hosts=1] - J patch_${SEED} -oo patch_${SEED}_out -eo patch_${SEED}_err bash /home/$USER/patch.sh ${SEED} ${N}
231+ bsub -n 4 -W 1:00 -R " span[hosts=1]" -R "rusage[mem=1GB]" - J patch_${SEED} -oo patch_${SEED}_out -eo patch_${SEED}_err bash /home/$USER/patch.sh ${SEED} 4
232232done
233233</ code > </ pre >
234- Run the script with < code > bash submit_patch.sh</ code > . This will submit 10 jobs.
235234
236235The results are rasters < code > out_seed_1@results_1</ code > , < code > out_seed_2@results_2</ code > , etc.
236+
237237< span class ="question ">
238238 Report the run times for all your computations and include a figure with the results.
239239</ span >
You can’t perform that action at this time.
0 commit comments