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
# Install gcc-7 compiler from repository. Has to be run sudo.
2
+
# This was not run as a script, instead these were done by hand
3
+
4
+
add-apt-repository -y ppa:ubuntu-toolchain-r/test
5
+
apt update
6
+
apt install -y gcc-7 g++-7
7
+
8
+
# To set these as the default compilers (code from Tony https://github.com/Castronova/docker-image-build/blob/master/cuahsi/singleuser/install-taudem.sh)
Copy file name to clipboardExpand all lines: README.txt
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,3 +18,23 @@ cd src && mkdir build && cd build
18
18
cmake ..
19
19
make && make install
20
20
The executables are written to /usr/local/taudem directory. This can be changed at the second last line (following DESTINATION) if desired.
21
+
22
+
Dependencies
23
+
------------
24
+
Dependencies include GDAL, MPI and C++ 2011.
25
+
On Windows Dependencies are provided in the Windows Installer
26
+
27
+
On Linux dependencies can be tricky. I've added the following scripts to help, though you may need to adjust based on your system.
28
+
GDAL: GDAL.sh installs from GDAL source. You could also try
29
+
apt-get install gdal-bin libgdal-dev
30
+
apt-get install gdal-bin=2.1.3+dfsg-1~xenial2
31
+
32
+
C++: The script GCC.sh contains some commands I've used to get the required compiler.
33
+
34
+
MPI: MPICH2.sh installs from mpich.org stable distribution source.
35
+
sudo apt-get install openmpi-bin may also be an option, but I have not tried this.
36
+
37
+
Testing
38
+
-------
39
+
See the repository https://github.com/dtarb/TauDEM-Test-Data for test data and scripts that exercise every function. These can also serve as examples for using some of the functions.
0 commit comments