File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ <h3>Computing distance</h3>
9191so that they run concurrently using 3 cores. This can be simply achieved by executing them in the background.
9292Alternatively, you can split it and execute as 3 separate jobs.
9393
94+ Save this into a file bsub_distance.sh in your home folder:
95+
9496< pre > < code >
9597#!/bin/bash
9698#BSUB -n 3
@@ -119,12 +121,20 @@ <h3>Computing distance</h3>
119121wait
120122</ code > </ pre >
121123
124+ Submit the job from scratch space:
125+ < pre > < code >
126+ cd /share/gis714s26/$USER/
127+ bsub < /home/$USER/bsub_distance.sh
128+ </ code > </ pre >
129+
122130< h3 > Computing development pressure</ h3 >
123131Here we combine the two previous approaches to compute development pressure for 2001 and 2019.
124132Tool < a href ="https://grass.osgeo.org/grass-stable/manuals/addons/r.futures.devpressure.html "> r.futures.devpressure</ a >
125133is internally parallelized, so we can run the tool for both years concurrently and for each of them request certain number of cores.
126134Notice that we need to request twice as many cores then (on a single node).
127135
136+ Save this into a file bsub_devpressure.sh in your home folder:
137+
128138< pre > < code >
129139#!/bin/bash
130140#BSUB -n 16
@@ -149,6 +159,12 @@ <h3>Computing development pressure</h3>
149159wait
150160</ code > </ pre >
151161
162+ Submit the job from scratch space:
163+ < pre > < code >
164+ cd /share/gis714s26/$USER/
165+ bsub < /home/$USER/bsub_devpressure.sh
166+ </ code > </ pre >
167+
152168< h3 > Running the simulation</ h3 >
153169
154170Once all the previous steps are finished, we can run the futures simulation.
You can’t perform that action at this time.
0 commit comments