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

started on otter

parent e5cb1abe
Branches otter
No related tags found
No related merge requests found
......@@ -35,6 +35,13 @@
#include <sys/stat.h>
#include <unistd.h>
/* I need to enable stuff to get something out of it */
#define OTTER_TASK_GRAPH_ENABLE_USER 1
#include "/home/mivkov/local/otter_oneapi2023/include/otter/otter-task-graph-user.h"
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
......@@ -121,6 +128,8 @@ int main(int argc, char *argv[]) {
int nr_nodes = 1, myrank = 0;
OTTER_INITIALISE();
#ifdef WITH_MPI
/* Start by initializing MPI. */
int res = 0, prov = 0;
......@@ -1939,6 +1948,9 @@ int main(int argc, char *argv[]) {
message("resubmission command completed.");
}
OTTER_FINALISE();
/* Clean everything */
if (with_verbose_timers) timers_close_file();
if (with_cosmology) cosmology_clean(e.cosmology);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment