GithubHelp home page GithubHelp logo

vb6hobbyst7 / taudem_ext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lreis2415/taudem_ext

0.0 1.0 0.0 10.34 MB

Revised and Extended TauDEM (originated developed by David Tarboton)

License: Other

CMake 6.08% C++ 91.62% C 2.29%

taudem_ext's Introduction

TauDEM


TauDEM(Terrain Analysis Using Digital Elevation Models) is a suite of Digital Elevation Model (DEM) tools for the extraction and analysis of hydrologic information from topography as represented by a DEM.

For more information on the development of TauDEM please refer to the wiki https://github.com/dtarb/TauDEM/wiki.

For the latest release and detailed documentation please refer to the website: http://hydrology.usu.edu/taudem.

Update to v5.3.9 at dev branch, commit bf9417172225a9ce2462f11138c72c569c253a1a on 8 Jan 2019

TauDEM采用C/C++编写,矢栅数据读写基于GDAL库,因此可以跨平台编译。

Windows

Visual Studio

  • 安装MSMPI
  • 下载与本机Visual Studio对应版本的GDAL编译版本
  • 利用VS开发人员命令工具编译VS工程,如 D:\compile\TauDEM>cmake -G "Visual Studio 12 2013 Win64" C:\z_code\DTA\TauDEM -DINSTALL_PREFIX=D:\compile\bin\taudem

Mingw64

基本思路为:

  • 安装MSMPI,并用msys的dlltool生成.a链接库
  • 利用mingw64编译GDAL,可用peacock辅助编译
  • 利用CLion IDE编辑、编译TauDEM,在File->Settings->Build,Execution,Deployment->CMake->CMake options中显式指定GDAL和MPI路径,如 -DGEO_3RD_PARTY_ROOT=C:\peacock\windows\windows\mingw-4\x86_64 -DMPI_LIBRARIES=C:/mingw64/lib/libmsmpi.a -DMPI_INCLUDE_PATH=C:/mingw64/include

参考:

Linux

macOS

  • 采用clang编译器,生成Xcode工程:cmake -G "Xcode" <source path>

Note: 在执行cmake命令之前,请确保先打开Xcode,在Preference里的Locations,设置Command Line Tools为合适的版本,比如Xcode 8.2.

  • 直接编译安装
cmake <source path> -DCMAKE_BUILD_TYPE=Release
make
sudo make install
  • 如果希望使用GCC编译器,则可在上述代码之前:
export CC=/usr/local/bin/gcc-4.9
export CXX=/usr/local/bin/g++-4.9

taudem_ext's People

Contributors

crazyzlj avatar lreis-2415 avatar shenfang1993 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.