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

Clean-up allocated memory at the end of a dry run.

parent 1d205f82
Branches
Tags
No related merge requests found
...@@ -266,18 +266,6 @@ int main(int argc, char *argv[]) { ...@@ -266,18 +266,6 @@ int main(int argc, char *argv[]) {
message("sizeof(struct cell) is %4zi bytes.", sizeof(struct cell)); message("sizeof(struct cell) is %4zi bytes.", sizeof(struct cell));
} }
/* Temporary abort to handle absence of vectorized functions */
#ifdef WITH_VECTORIZATION
#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 ? */ /* How vocal are we ? */
const int talking = (verbose == 1 && myrank == 0) || (verbose == 2); const int talking = (verbose == 1 && myrank == 0) || (verbose == 2);
...@@ -479,6 +467,8 @@ int main(int argc, char *argv[]) { ...@@ -479,6 +467,8 @@ int main(int argc, char *argv[]) {
#endif #endif
if (myrank == 0) if (myrank == 0)
message("Time integration ready to start. End of dry-run."); message("Time integration ready to start. End of dry-run.");
engine_clean(&e);
free(params);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment