Skip to content
Snippets Groups Projects
Commit 172811c6 authored by Mladen Ivkovic's avatar Mladen Ivkovic
Browse files

small changes following Matthieu's suggestions

parent 2c3dc902
No related branches found
No related tags found
1 merge request!1155RT injection task
...@@ -595,6 +595,11 @@ int main(int argc, char *argv[]) { ...@@ -595,6 +595,11 @@ int main(int argc, char *argv[]) {
error( error(
"Error: Cannot use radiative transfer without GEAR star model for now\n"); "Error: Cannot use radiative transfer without GEAR star model for now\n");
#endif #endif
#ifdef WITH_MPI
/* Temporary, this will be removed in due time */
error(
"Error: Cannot use radiative transfer with MPI\n");
#endif
#endif /* idfef RT_NONE */ #endif /* idfef RT_NONE */
/* Let's pin the main thread, now we know if affinity will be used. */ /* Let's pin the main thread, now we know if affinity will be used. */
......
...@@ -51,7 +51,7 @@ INLINE static int rt_write_particles(const struct xpart* xparts, ...@@ -51,7 +51,7 @@ INLINE static int rt_write_particles(const struct xpart* xparts,
"RTCallsPair", INT, 1, UNIT_CONV_NO_UNITS, 0, xparts, rt_data.calls_pair, "RTCallsPair", INT, 1, UNIT_CONV_NO_UNITS, 0, xparts, rt_data.calls_pair,
"number of calls to this particle during one time step in self task"); "number of calls to this particle during one time step in self task");
return (5); return 5;
} }
/** /**
...@@ -79,6 +79,6 @@ INLINE static int rt_write_stars(const struct spart* sparts, ...@@ -79,6 +79,6 @@ INLINE static int rt_write_stars(const struct spart* sparts,
"RTCallsPair", INT, 1, UNIT_CONV_NO_UNITS, 0, sparts, rt_data.calls_pair, "RTCallsPair", INT, 1, UNIT_CONV_NO_UNITS, 0, sparts, rt_data.calls_pair,
"number of calls to this particle during one time step in self task"); "number of calls to this particle during one time step in self task");
return (5); return 5;
} }
#endif /* SWIFT_RT_IO_DEBUG_H */ #endif /* SWIFT_RT_IO_DEBUG_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment