From 6360cc9ecd95fab0da952bed1ff2f7a48ced454d Mon Sep 17 00:00:00 2001 From: wjr21 <wjr21@sussex.ac.uk> Date: Sat, 12 Feb 2022 01:40:48 +0000 Subject: [PATCH] debug illegal instruction --- examples/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/main.c b/examples/main.c index a4c3d6fb65..d68ed5bc60 100644 --- a/examples/main.c +++ b/examples/main.c @@ -1296,6 +1296,8 @@ int main(int argc, char *argv[]) { fflush(stdout); } + message("got here"); + /* Initialise the external potential properties */ bzero(&potential, sizeof(struct external_potential)); if (with_external_gravity) @@ -1315,6 +1317,8 @@ int main(int argc, char *argv[]) { pm_mesh_init_no_mesh(&mesh, s.dim); } + message("got past mesh"); + /* Also update the total counts (in case of changes due to replication) */ Nbaryons = s.nr_parts + s.nr_sparts + s.nr_bparts + s.nr_sinks; Nnupart = s.nr_nuparts; -- GitLab