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

Prevent users from running with the EAGLE tracers compiled but without cooling at runtime

parent 231cdd06
No related branches found
No related tags found
2 merge requests!1715Update planetary strength after planetary plus's master rebase,!1693More threapool plotting tweaks
......@@ -642,6 +642,11 @@ int main(int argc, char *argv[]) {
}
#endif
#ifdef TRACERS_EAGLE
if (!with_cooling && !with_temperature)
error("Error: Cannot use EAGLE tracers without --cooling or --temperature");
#endif
/* Let's pin the main thread, now we know if affinity will be used. */
#if defined(HAVE_SETAFFINITY) && defined(HAVE_LIBNUMA) && defined(_GNU_SOURCE)
if (with_aff &&
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment