1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
--- a/makefile
+++ b/makefile
@@ -138,8 +138,8 @@
fi;
check_build:
- +@cd src/snes/tutorials >/dev/null; ${RUN_TEST} clean-legacy
- +@cd src/snes/tutorials >/dev/null; ${RUN_TEST} testex19
+ +cd src/snes/tutorials >/dev/null; ${RUN_TEST} clean-legacy
+ +cd src/snes/tutorials >/dev/null; ${RUN_TEST} testex19
+@if [ ! "${MPI_IS_MPIUNI}" ]; then cd src/snes/tutorials >/dev/null; ${RUN_TEST} testex19_mpi; fi
+@if [ "`grep -E '^#define PETSC_HAVE_HYPRE 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_HYPRE 1" ] && [ "${PETSC_SCALAR}" = "real" ]; then \
if [ "`grep -E '^#define PETSC_HAVE_CUDA 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_CUDA 1" ]; then HYPRE_TEST=runex19_hypre_cuda; \
@@ -153,7 +153,7 @@
+@if [ "`grep -E '^#define PETSC_HAVE_HIP 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_HIP 1" ]; then \
cd src/snes/tutorials >/dev/null; ${RUN_TEST} runex19_hip; \
fi;
- +@if [ "${MPI_IS_MPIUNI}" = "" ]; then \
+ +if [ "${MPI_IS_MPIUNI}" = "" ]; then \
cd src/snes/tutorials >/dev/null; \
if [ "`grep -E '^#define PETSC_HAVE_KOKKOS_KERNELS 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_KOKKOS_KERNELS 1" ] && [ "${PETSC_SCALAR}" = "real" ] && [ "${PETSC_PRECISION}" = "double" ]; then \
${RUN_TEST} runex3k_kokkos; \
|