-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
90 lines (62 loc) · 2.67 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
WINDOWS
###################
1. Download the most recent LUMASS for Windows release
https://github.com/manaakiwhenua/LUMASS/releases
2. Extract the archive into an arbitrary folder on your
hard drive or usb stick.
3. To start the LUMASS desktop application, change into
the LUMASS folder (you've just extracted) and double
click the file `lumass.bat`.
To run the lumassengine on the conmmandline, use
`lumassengine.bat` and provide appropriate commandline
arguments:
Usage: lumassengine.bat --moso <settings file (*.los)> | --model
<LUMASS model file (*.lmx | *.yaml)> [--workspace <absolute
directory path for '$[LUMASS:Workspace]$'>] [--logfile <file
name>] [--logprov]
LINUX
###################
LUMASS is provided as an AppImage (https://appimage.org/)
based on Ubuntu 20.04. It ships with most of its
dependencies. However, a number of low-level system
libraries are not distributed. For Ubuntu 20.04 those
libraries are:
libc6 libcom-err2 libexpat1 libfontconfig libglib2.0-0
libglx0 libgmp10 libgpg-error0 libopengl0 libp11-kit0
libstdc++6 libx11-6 libxcb1 zlib1g
If you encounter trouble running lumass, please make sure
you've got the above mentioned libraries installed on your
system. Note that the names of those libraries are likely
to be different for other distributions.
To 'install' LUMASS on your system, follow the steps below.
1. Install gdal and OpenGL using your package manager
Ubuntu 20.04
============
$ sudo apt-get install libgdal26 gdal-bin libopengl0
2. Download the most recent lumass AppImage to a
directory you've got write permissions for.
https://github.com/manaakiwhenua/LUMASS/releases
3. To 'install' lumass, just make the AppImage executable
$ chmod +x ./lumass-0.9.65-rc4-x86_64.AppImage
4. Run lumass by executing the AppImage. To run models
with the lumassengine, just provide appropriate
commandline arguments
lumass GUI
============
Just execute or double click the AppImage
to run the lumass GUI:
$ ./lumass-0.9.65-rc4-x86_64.AppImage
lumassengine
==============
To run lumass on the commandline, just provide appropriate
commandline paramters to the AppImage. Just pass '--model'
or '--moso' to get an overview of the commandline arguments
lumassengine accepts:
$ ./lumass-0.9.65-rc4-x86_64.AppImage --model
ERROR - LUMASS_engine::isFileAccessible, l. 762: No settings
file has been specified!
LUMASS (lumassengine) 0.9.65
Usage: lumassengine --moso <settings file (*.los)> | --model
<LUMASS model file (*.lmx | *.yaml)> [--workspace <absolute
directory path for '$[LUMASS:Workspace]$'>] [--logfile <file
name>] [--logprov]