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

Early abort when vectorization is activated and routines are absent.

parent 666109a0
No related branches found
No related tags found
1 merge request!200Macro vectorisation
......@@ -266,6 +266,24 @@ int main(int argc, char *argv[]) {
message("sizeof(struct cell) is %4zi bytes.", sizeof(struct cell));
}
/* Temporary abort to handle absence of vectorized functions */
#ifdef WITH_VECTORIZATION
#ifdef GADGET2_SPH
error(
"Vectorized version of Gadget SPH routines not implemented yet. "
"Reconfigure with --disable-vec and recompile or use DEFAULT_SPH.");
#endif
#ifdef MINIMAL_SPH
error(
"Vectorized version of Minimal SPH routines not implemented yet. "
"Reconfigure with --disable-vec and recompile or use DEFAULT_SPH.");
#endif
#endif
/* End temporary fix */
/* How vocal are we ? */
const int talking = (verbose == 1 && myrank == 0) || (verbose == 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment