-
Notifications
You must be signed in to change notification settings - Fork 28
Building on Titan
Urs Hähner edited this page Nov 30, 2018
·
1 revision
-
Clone the DCA++ repository to obtain the latest version of the master branch:
$ git clone https://github.com/CompFUSE/DCA.git dca_source
-
Load all required modules:
$ source dca_source/build-aux/titan_load_modules.sh
-
Create a clean build directory and change to it:
$ mkdir build && cd build
-
Use CMake to configure the build and generate the build files:
$ cmake -C ../dca_source/build-aux/titan.cmake -DCMAKE_BUILD_TYPE=Release ../dca_source
Note that setting
CMAKE_BUILD_TYPE
toRelease
adds compiler optimization flags that we want for production builds. -
Compile the applications:
$ make -j 8