README.md 859 Bytes
Newer Older
Ludvik Brodl's avatar
Ludvik Brodl committed
1 2 3 4 5 6 7
This repo is dependent on compiled files on sm_davse (David Segersson) account on bi.

To use:

1)
copy building files to buildings folder.

Ludvik Brodl's avatar
Ludvik Brodl committed
8

Ludvik Brodl's avatar
Ludvik Brodl committed
9
2)
Ludvik Brodl's avatar
Ludvik Brodl committed
10
* edit dvlp/grid_tile.sh to suit your needs.
Ludvik Brodl's avatar
Ludvik Brodl committed
11

Ludvik Brodl's avatar
Ludvik Brodl committed
12
* edit src/run_all_cities.sh to suit your needs. This includes editing src/*.txt files to contain your LAS file names.
Ludvik Brodl's avatar
Ludvik Brodl committed
13

Ludvik Brodl's avatar
Ludvik Brodl committed
14
* edit src/batch.sh to EXPORT the appropriate PATH. (Set the correct LAS/dvlp dir) 
Ludvik Brodl's avatar
Ludvik Brodl committed
15

16 17
* edit run_before_grid_tile.sh to the appropriate PATH of the libs/code

Ludvik Brodl's avatar
Ludvik Brodl committed
18
3)
Ludvik Brodl's avatar
Ludvik Brodl committed
19
```
20 21
source run_before_grid_tile.sh
conda activate solweig-env # a conda env with gdal is required: Example $conda create -c conda-forge --name solweig-env gdal
Ludvik Brodl's avatar
Ludvik Brodl committed
22
cd src
23
bash run_all_cities.sh --mail-user=YOUR_EMAIL@HERE.SE
Ludvik Brodl's avatar
Ludvik Brodl committed
24
```
Ludvik Brodl's avatar
Ludvik Brodl committed
25

Ludvik Brodl's avatar
Ludvik Brodl committed
26
4)
Ludvik Brodl's avatar
Ludvik Brodl committed
27
```
Ludvik Brodl's avatar
Ludvik Brodl committed
28
squeue -u $USER
Ludvik Brodl's avatar
Ludvik Brodl committed
29
```
Ludvik Brodl's avatar
Ludvik Brodl committed
30
to follow the batch jobs. Each batch job works on its own node with 16 cores reserved. ~3h/job (1 job = 16 grids in parallell at most)