Skip to content
Snippets Groups Projects
Commit f79e1af1 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Renamed the HAVEFOF configure constant to HAVESTANDALONEFOF

parent f8f1f502
No related branches found
No related tags found
1 merge request!850Fof io and compile without fof
...@@ -225,6 +225,8 @@ if test "x$enable_debug" = "xyes"; then ...@@ -225,6 +225,8 @@ if test "x$enable_debug" = "xyes"; then
fi fi
fi fi
# Check if stand-alone FoF is on. # Check if stand-alone FoF is on.
AC_ARG_ENABLE([stand-alone-fof], AC_ARG_ENABLE([stand-alone-fof],
[AS_HELP_STRING([--enable-stand-alone-fof], [AS_HELP_STRING([--enable-stand-alone-fof],
...@@ -233,7 +235,7 @@ AC_ARG_ENABLE([stand-alone-fof], ...@@ -233,7 +235,7 @@ AC_ARG_ENABLE([stand-alone-fof],
[enable_standalone_fof="$enableval"], [enable_standalone_fof="$enableval"],
[enable_standalone_fof="no"] [enable_standalone_fof="no"]
) )
AM_CONDITIONAL([HAVEFOF],[test $enable_standalone_fof = "yes"]) AM_CONDITIONAL([HAVESTANDALONEFOF],[test $enable_standalone_fof = "yes"])
# Check if task debugging is on. # Check if task debugging is on.
AC_ARG_ENABLE([task-debugging], AC_ARG_ENABLE([task-debugging],
......
...@@ -37,14 +37,14 @@ MPI_FLAGS = -DWITH_MPI $(PARMETIS_INCS) $(METIS_INCS) ...@@ -37,14 +37,14 @@ MPI_FLAGS = -DWITH_MPI $(PARMETIS_INCS) $(METIS_INCS)
bin_PROGRAMS = swift bin_PROGRAMS = swift
# Also build the FOF tool? # Also build the FOF tool?
if HAVEFOF if HAVESTANDALONEFOF
bin_PROGRAMS += fof bin_PROGRAMS += fof
endif endif
# Build MPI versions as well? # Build MPI versions as well?
if HAVEMPI if HAVEMPI
bin_PROGRAMS += swift_mpi bin_PROGRAMS += swift_mpi
if HAVEFOF if HAVESTANDALONEFOF
bin_PROGRAMS += fof_mpi bin_PROGRAMS += fof_mpi
endif endif
endif endif
......
...@@ -49,7 +49,7 @@ INLINE static void convert_bpart_group_id(const struct engine* e, ...@@ -49,7 +49,7 @@ INLINE static void convert_bpart_group_id(const struct engine* e,
* @brief Specifies which FoF-related particle fields to write to a dataset * @brief Specifies which FoF-related particle fields to write to a dataset
* *
* @param parts The particle array. * @param parts The particle array.
* @param parts The extended particle array. * @param xparts The extended particle array.
* @param list The list of i/o properties to write. * @param list The list of i/o properties to write.
* *
* @return The number of fields to write. * @return The number of fields to write.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment