You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't use conda but a plain virtualenv, you need to install PCRaster and GDAL by your own and include its python interface in PYTHONPATH environment variable.
62
62
For details, please follow instruction on [official docs](http://pcraster.geo.uu.nl).
63
63
64
-
65
-
3. Compile the cython module kinematic_wave_parallel_tool
66
-
67
-
To compile this Cython module to enable OpenMP multithreading (parallel kinematic wave):
68
-
69
-
* Delete the files *.so (if any) in directory hydrological-modules
70
-
71
-
* Inside the hydrological_modules folder, execute "python compile_kinematic_wave_parallel_tools.py build_ext --inplace"
72
-
73
-
Important: the module has to be compiled on the machine where the model is run - the resulting binary is not portable.
74
-
75
-
Then in the settings file the option "numberParallelThreadsKinematicWave" may take the following values:
76
-
- "0" : auto-detection of the machine/node's number of CPUs (all CPUs are used minus 1) (do not set it if other simulations are running on the same machine/node)
77
-
- "1" : serial execution (not parallel)
78
-
- "2", "3", ... : manual setting of the number of parallel threads.
79
-
(if exceeding the number of CPUs, the option is set to "0") -->
Copy file name to clipboardexpand all lines: docs/3_step2_installation/index.md
+2-22
Original file line number
Diff line number
Diff line change
@@ -95,32 +95,12 @@ If you don't use conda but a plain virtualenv, you need to install PCRaster and
95
95
For details, please follow instruction on [official docs](https://pcraster.geo.uu.nl/pcraster/4.3.1/documentation/pcraster_project/install.html).
96
96
97
97
98
-
3. **Compile the cython module kinematic_wave_parallel_tool**
99
-
100
-
To compile this Cython module to enable OpenMP multithreading (parallel kinematic wave):
101
-
102
-
* Delete the files *.so (if any) in directory hydrological-modules
103
-
* Inside the hydrological_modules folder, execute `python compile_kinematic_wave_parallel_tools.py build_ext --inplace`
104
-
105
-
Important: the module has to be compiled on the machine where the model is run - the resulting binary is not portable.
106
-
107
-
Then in the settings file the option "numberParallelThreadsKinematicWave" may take the following values:
108
-
109
-
* "0" : auto-detection of the machine/node's number of CPUs (all CPUs are used minus 1) (do not set it if other simulations are running on the same machine/node)
110
-
*"1": serial execution (not parallel)
111
-
*"2", "3", ... : manual setting of the number of parallel threads.
112
-
(if exceeding the number of CPUs, the option is set to "0")
Now that your environment should be set up to run lisflood, you may try with a prepared settings file for test catchment included into the tests/data folder:
0 commit comments