mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 11:15:55 +01:00
Alternate reduction; default to grids own but make a configure flag
--enable-reduction=grid|mpi
This commit is contained in:
parent
03687c1d62
commit
2eff3f34ed
14
configure.ac
14
configure.ac
@ -128,6 +128,20 @@ case ${ac_LAPACK} in
|
|||||||
AC_DEFINE([USE_LAPACK],[1],[use LAPACK]);;
|
AC_DEFINE([USE_LAPACK],[1],[use LAPACK]);;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
############### internal reduction
|
||||||
|
AC_ARG_ENABLE([reduction],
|
||||||
|
[AS_HELP_STRING([--enable-reduction=mpi|grid],[enable reduction])],
|
||||||
|
[ac_REDUCTION=${enable_reduction}], [ac_REDUCTION=grid])
|
||||||
|
|
||||||
|
case ${ac_REDUCTION} in
|
||||||
|
mpi)
|
||||||
|
;;
|
||||||
|
grid)
|
||||||
|
AC_DEFINE([USE_GRID_REDUCTION],[1],[use GRID REDUCTION]);;
|
||||||
|
*)
|
||||||
|
AC_DEFINE([USE_GRID_REDUCTION],[1],[use GRID REDUCTION]);;
|
||||||
|
esac
|
||||||
|
|
||||||
############### tracing
|
############### tracing
|
||||||
AC_ARG_ENABLE([tracing],
|
AC_ARG_ENABLE([tracing],
|
||||||
[AS_HELP_STRING([--enable-tracing=none|nvtx|roctx|timer],[enable tracing])],
|
[AS_HELP_STRING([--enable-tracing=none|nvtx|roctx|timer],[enable tracing])],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user