forked from dalesteam/dales
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
47 lines (32 loc) · 1.27 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
DALES version 4
===============
Packages are available at https://github.com/dalesteam/dales
If git is installed, the best way to obtain DALES is with:
git clone https://github.com/dalesteam/dales.git
For updates you can then just use the command
git pull origin master
Then follow the following instructions:
1) cd dales
2) mkdir build
3) cd build
4) cmake ..
5) make install
This should provide the dales3 binary in the build dir. New builds can be
made by 'make install' in the build directory. The documentation is build by typing
make docs
in the build directory.
ALTERNATIVE BUILDS
==================
One can change between release and debug options by invoking commandline options of cmake:
cmake -DCMAKE_BUILD_TYPE="DEBUG" ..
or "RELEASE", if that is the build-type desired.
Various case specific routines can be found in de dales/case/<casename> and are built by invoking
cmake -DCASE="<casename>"
where "<casename>" could be something like "rico". Regardless of the case built, the standard DALES runs are always possible (and default).
DEPENDENCIES
============
Dependencies of DALES are
1) MPI (the only obligatory one)
2) NetCDF (optional)
3) CMake (alternatively, the old makefile icw makedepf90 still works)
4) Doxygen, DOT and LaTeX for building the documentation