Skip to content

Commit d6b8bba

Browse files
committed
more instructions
1 parent 8807823 commit d6b8bba

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

assignments/grass_hpc_futures.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ <h3>Computing distance</h3>
9191
so that they run concurrently using 3 cores. This can be simply achieved by executing them in the background.
9292
Alternatively, 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>
119121
wait
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>
123131
Here we combine the two previous approaches to compute development pressure for 2001 and 2019.
124132
Tool <a href="https://grass.osgeo.org/grass-stable/manuals/addons/r.futures.devpressure.html">r.futures.devpressure</a>
125133
is internally parallelized, so we can run the tool for both years concurrently and for each of them request certain number of cores.
126134
Notice 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>
149159
wait
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

154170
Once all the previous steps are finished, we can run the futures simulation.

0 commit comments

Comments
 (0)