GPU-accelerated implementation of Empirical Dynamic Modeling
- CMake 3.10+
- C++ compiler that supports C++11 (Intel C++ Compiler is strongly recommended for building the CPU backend)
- HDF5
- ArrayFire 3.6.2+ for building the GPU backend
-
Install dependencies:
-
Clone the source code:
$ git clone --recursive [email protected]:keichi/cuEDM.git -
Run cmake:
$ cd cuEDM $ mkdir build $ cd build $ cmake -DCMAKE_BUILD_TYPE=Release ..-DCMAKE_BUILD_TYPEcan be eitherRelease,RelWithDebInfo,DebugorMinSizeRel.- Add
-DCMAKE_CXX_COMPILER=/path/to/c++to select the C++ compiler to use. - Add
-DCMAKE_CXX_FLAGS="..."to customize the C++ compiler flags. - Add
-DHDF5_DIR=/path/to/hdf5if HDF5 is not installed in a standard path. - Add
-DArrayFire_DIR=/path/to/arrayfireif ArrayFire is not installed in a standard path.
-
Run make:
$ make