Skip to content
Snippets Groups Projects

Added a line of output dumping the number of particles in the ICs

Merged Administrator requested to merge cosmetics into master

See the closed #39 (closed) for some discussion

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
822 831 if (runs < INT_MAX)
823 message("starting for %i steps with %i threads and %i queues...", runs,
824 e.nr_threads, e.sched.nr_queues);
832 message(
833 "Running on %lld particles for %i steps with %i threads and %i "
834 "queues...",
835 N_total, runs, e.nr_threads, e.sched.nr_queues);
825 836 else
826 message("starting for t=%.3e with %i threads and %i queues...", clock,
827 e.nr_threads, e.sched.nr_queues);
837 message(
838 "Running on %lld particles until t=%.3e with %i threads and %i "
839 "queues...",
840 N_total, clock, e.nr_threads, e.sched.nr_queues);
828 841 fflush(stdout);
829 842
  • This section still needs some logic to only output when myrank==0. In that case does it make sense to talk about the threads and queues per node, rather what is shown?

  • Added 1 commit:

    • af7ce1b5 - Print total number of particles and number of threads only if myrank==0
  • 826 message("starting for t=%.3e with %i threads and %i queues...", clock,
    827 e.nr_threads, e.sched.nr_queues);
    828 fflush(stdout);
    830 if (myrank == 0) {
    831 /* Inauguration speech. */
    832 if (runs < INT_MAX)
    833 message(
    834 "Running on %lld particles for %i steps with %i threads and %i "
    835 "queues...",
    836 N_total, runs, e.nr_threads, e.sched.nr_queues);
    837 else
    838 message(
    839 "Running on %lld particles until t=%.3e with %i threads and %i "
    840 "queues...",
    841 N_total, clock, e.nr_threads, e.sched.nr_queues);
    842 fflush(stdout);
  • Peter W. Draper mentioned in commit 04f57782

    mentioned in commit 04f57782

  • Peter W. Draper Status changed to merged

    Status changed to merged

  • Please register or sign in to reply
    Loading