Skip to content

Commit

Permalink
Update README for CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ndellingwood committed Mar 14, 2018
1 parent 2d7326d commit 3f25e9f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Building Kokkoskernels
example/buildlib/compileKokkosKernels.sh for your environment
and run it to generate the required makefiles.
- KOKKOS_DEVICES can be as below. You can remove any backend
that you don't need. If cuda backend is used, CXX compiler should point to ${KOKKOS_PATH}/config/nvcc_wrapper.
that you don't need. If cuda backend is used, CXX compiler should point to ${KOKKOS_PATH}/bin/nvcc_wrapper.
If you enable Cuda, a host space, either OpenMP or Serial should be enabled.
KOKKOS_DEVICES=OpenMP,Serial,Cuda

Expand All @@ -82,9 +82,24 @@ Building Kokkoskernels

For the architecture flags, run below command.
%: scripts/generate_makefile.bash --help

2. Run "make build-test" to compile the tests.


Comments for building Trilinos with Kokkoskernels
----------------------
- For Trilinos builds with the Cuda backend and complex double enabled with ETI,
the cmake option below may need to be set to avoid Error 127 errors:
CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON

If the option above is not set, a warning will be issued during configuration:

"The CMake option CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS is either
undefined or OFF. Please set
CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON when building with CUDA and
complex double enabled."


Using Kokkoskernels Test Drivers
--------------------------

Expand Down

0 comments on commit 3f25e9f

Please sign in to comment.