| 1 |
mkdir build |
| 2 |
cd build |
| 3 |
cmake .. |
| 4 |
make |
| 5 |
|
| 6 |
|
| 7 |
Test by running: |
| 8 |
bin/tng_testing |
| 9 |
|
| 10 |
Make a system-wide installation by: |
| 11 |
make install |
| 12 |
(this will require administrative privileges on most systems, i.e. 'sudo make install' |
| 13 |
on a Unix like system with a sudoers file) |
| 14 |
|
| 15 |
|
| 16 |
Useful cmake flags: |
| 17 |
-DTNG_BUILD_DOCUMENTATION=ON to build the API documentation (requires doxygen) |
| 18 |
-DCMAKE_BUILD_TYPE=Debug to compile with debug flags (recommended for |
| 19 |
feedback during development) |
| 20 |
-DTNG_BUILD_FORTRAN=ON to build the Fortran MD simulations example, saving results |
| 21 |
in the TNG format (requires a Fortran compiler allowing cray-pointers). |