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

added temporary early exits

parent 6b68ad08
No related branches found
No related tags found
1 merge request!1155RT injection task
...@@ -579,7 +579,23 @@ int main(int argc, char *argv[]) { ...@@ -579,7 +579,23 @@ int main(int argc, char *argv[]) {
"Error: Cannot use radiative transfer without stars, --stars must be " "Error: Cannot use radiative transfer without stars, --stars must be "
"chosen\n"); "chosen\n");
} }
/* Temporary, this dependency will be removed later */
if (with_rt && !with_feedback) {
error(
"Error: Cannot use radiative transfer without feedback for now,"
" --feedback must be chosen\n");
}
#ifndef GADGET2_SPH
/* Temporary, this dependency will be removed later */
error("Error: Cannot use radiative transfer without gadget2-sph for now\n");
#endif
#ifndef STARS_GEAR
/* Temporary, this dependency will be removed later */
error(
"Error: Cannot use radiative transfer without GEAR star model for now\n");
#endif #endif
#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. */
#if defined(HAVE_SETAFFINITY) && defined(HAVE_LIBNUMA) && defined(_GNU_SOURCE) #if defined(HAVE_SETAFFINITY) && defined(HAVE_LIBNUMA) && defined(_GNU_SOURCE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment