-
Notifications
You must be signed in to change notification settings - Fork 29
Building on Summit
Ying Wai Li edited this page Mar 1, 2019
·
2 revisions
-
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/summit_load_modules.sh -
Create a clean build directory and change to it:
$ mkdir build_summit && cd build_summit -
Use CMake to configure the build and generate the build files:
$ cmake -C ../dca_source/build-aux/summit.cmake -DCMAKE_BUILD_TYPE=Release ../dca_sourceNote that setting
CMAKE_BUILD_TYPEtoReleaseadds compiler optimization flags that we want for production builds. -
Compile the applications:
$ make -j 16