version 3 is most up to date. $ make COMPILER=gcc MODE=omp $ make COMPILER=icc MODE=omp $ make COMPILER=pgi MODE=omp
//Compile OpenACC C++ version $ make COMPILER=pgi MODE=acc SRCTYPE=cpp //Compile OpenACC C version $ make COMPILER=pgi MODE=acc SRCTYPE=c
$ make COMPILER=gcc MODE=tbb $ make COMPILER=icc MODE=tbb
Version 1 uses unified memory. Version 2 uses explicit memory transfers $ make COMPILER=nvcc MODE=cuda
$ make COMPILER=gcc MODE=eigen $ make COMPILER=icc MODE=eigen $ make COMPILER=nvcc MODE=eigen
$ make COMPILER=gcc MODE=alpaka $ make COMPILER=nvcc MODE=alpaka//not yet functional
- set the environment variable, openarc to the root directory of the OpenARC repository.
- $ O2GBuild.script
- $ make COMPILER=openarc MODE=acc SRCTYPE=c
The kokkos version exists in its own directory, src/kokkos_src, which contains
the p2z code along with a Makefile and README to help the user make use of the
Kokkos library. Here we have basic instructions.
- clone https://github.com/kokkos/kokkos to ${HOME}/kokkos
- in the
src/kokkos_srcdirecory edit the Makefile setting to match your needs - run
maketo build - The executable can be found under
binwith the others
- KOKKOS_DEVICES = OpenMP or OpenMP,Cuda
- KOKKOS_ARCH = [GPU arch],[CPU arch] i.e. "BDW,Volta70"