Skip to content

Commit

Permalink
PJT testing
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Aug 23, 2023
1 parent d40a666 commit 91796b7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,17 @@ tkrun:
build_athenak: athenak
(mkdir -p athenak/build; cd athenak/build; cmake ..; make -j 8)


# See also: https://kokkos.github.io/kokkos-core-wiki/keywords.html#keywords-arch
B_ARM = -D CMAKE_CXX_COMPILER=clang++-mp-15 -D CMAKE_C_COMPILER=clang-mp-15 -D Kokkos_ARCH_ARMV81=On
arm: athenak
(mkdir -p athenak/build; cd athenak/build; cmake $(B_ARM) ..; make -j 8)
(mkdir -p athenak/build; cd athenak/build; cmake $(B_ARM) ..; make -j 8)

#PJT = -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_C_COMPILER=clang -D Kokkos_ARCH_INTEL_DG1=On
#PJT = -D Kokkos_ARCH_INTEL_DG1=On
PJT = -D Kokkos_ENABLE_OPENMP=On
#PJT = -D Athena_ENABLE_MPI=ON
pjt: athenak
(mkdir -p athenak/build; cd athenak/build; cmake $(PJT) ..; make -j 8)

## build_athena build athena++ for the linear_wave problem
build_athena: athena
Expand Down

0 comments on commit 91796b7

Please sign in to comment.