Skip to content

Commit

Permalink
completely remove all ETI scripts and raw Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jjwilke committed Jan 6, 2020
1 parent 41b570a commit 8b2b5c8
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 3,791 deletions.
532 changes: 0 additions & 532 deletions Makefile.kokkos-kernels

This file was deleted.

22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,28 +140,6 @@ spack diy -u cmake kokkos-kernels@{version} ...
specifying the exact version you want to develop and giving any spec options in `...`.
This creates a folder `spack-build` where you can `make`.

### Raw Makefiles
1. Modify example/buildlib/compileKokkosKernelsSimple.sh or
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}/bin/nvcc_wrapper`.
If you enable `Cuda`, a host space, either `OpenMP` or `Serial` should be enabled.
`KOKKOS_DEVICES=OpenMP,Serial,Cuda`

* For the best performance give the architecture flag to proper architecture.
e.g. KNLs: `KOKKOS_ARCHS=KNL`, `KOKKOS_ARCHS=HSW`.
If you compile for P100 GPUs with Power8 Processor, give both architectures.
`KOKKOS_ARCHS=Pascal60,Power8`

For the architecture flags, run below command.
````
scripts/generate_makefile.bash --help
````
2. Run `make build-test` to compile the tests.
### Trilinos
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:
Expand Down
83 changes: 0 additions & 83 deletions example/Makefile

This file was deleted.

94 changes: 0 additions & 94 deletions example/fenl/Makefile

This file was deleted.

54 changes: 0 additions & 54 deletions example/wiki/Makefile

This file was deleted.

14 changes: 0 additions & 14 deletions example/wiki/blas/abs/Makefile

This file was deleted.

Loading

0 comments on commit 8b2b5c8

Please sign in to comment.