Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/teuben/nemo
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Oct 21, 2024
2 parents 731dba0 + 5670f06 commit eb5be1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/kernel/io/nemovar.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ void nemo_main()
if (nemovar == NULL) error("$NEMOVAR was not set");
dprintf(1,"nemovar: %s\n", nemovar);

if (hasComment)
warning("comment %s not yet used", comment);

// bug or feature, nemovar currently needs to exist
if (!fexist(nemovar)) {
Expand Down
4 changes: 3 additions & 1 deletion src/nbody/reduc/snapcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ void nemo_main()
if (dt > small_dt)
warning("times = %f, %f are different (%g)", tsnap1, tsnap2, dt);
}
dprintf(0,"time1,2: %g %g %g %g nout %d\n",time1,time2,tsnap1,tsnap2,nout);

if (!Qtime0 && time1==0 && time2==0) continue;
if (!Qtime0 && nout==0) continue;
if (bits1 != bits2)
Expand All @@ -151,7 +153,7 @@ void nemo_main()
snapcmpplot(result, btab1, nbody1, tsnap1);
#endif
nout++;
}
} // for(;;)
}

local real *snapcmp(Body *btab1, Body *btab2, int nbody, real tsnap)
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/mknemo.d/gcc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/bash
#! /usr/bin/env bash
#
# sudo apt install build-essential
# sudo apt install libmpfr-dev libgmp3-dev libmpc-dev -y
Expand Down

0 comments on commit eb5be1f

Please sign in to comment.