From d7e38c1ca9d30e2b73cc7c4aa5b6b69f92269822 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Wed, 5 Apr 2017 22:09:58 +0100 Subject: [PATCH] Add Kokkos build instructions to README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 1e2792d..1efd443 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,18 @@ Pass in extra flags via the `EXTRA_FLAGS` option. The binaries are named in the form `-stream`. +Building Kokkos +--------------- + +We use the following command to build Kokkos using the Intel Compiler, specifying the `arch` appropriately, e.g. `KNL`. +``` +../generate_makefile.bash --prefix= --with-openmp --with-pthread --arch= --compiler=icpc --cxxflags=-DKOKKOS_MEMORY_ALIGNMENT=2097152 +``` +For building with CUDA support, we use the following command, specifying the `arch` appropriately, e.g. `Kepler35`. +``` +../generate_makefile.bash --prefix= --with-cuda --with-openmp --with-pthread --arch= --with-cuda-options=enable_lambda +``` + Results -------