forked from lanl/Draco
-
Notifications
You must be signed in to change notification settings - Fork 1
Development Quick Start
Kelly Thompson edited this page Jun 21, 2016
·
1 revision
To clone draco (read only access)
$ git clone https://github.com/losalamos/Draco.git
-
cmake-3.5 or later
- cmake must be in your PATH
- A modern C++ compiler (g++, icpc, pgCC, clang++, cl)
- MPI (openMPI, mpich)
- mpiexec must be in your PATH
-
Random123
- export RANDOM123_INC_DIR=/some/path/Random123-1.08/include
-
Gnu Scientific Library
- gsl-config must be in your PATH
- python 2X
Only needed for testing:
-
numdiff
- numdiff must be in your PATH
- Use a separate build directory
$ mkdir build
$ cmake ../Draco.git
- For Cray PrgEnv, you need to prime the CMakeCache.txt
$ cmake -C ../Draco.git/config/CracyConfig.cmake ../Draco.git
Optional components:
- Additional libraries will be built if certain features are available in the build environment:
-
lapack_wrapwill be built if LAPACK or equivalent is available. -
cdi_eospacwill be built if LANL's libeospac is available. -
devicewill be built if the CUDA toolkit is available and the build machine has a GPU. -
plot2Dwill be built if the Grace headers and library are found.
-
$ make
$ ctest
$ make install