Skip to content

Commit

Permalink
use llx instead of lx for print format
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkeen committed Jun 28, 2024
1 parent 241899b commit c195b3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ ::print_global_state_hash (const std::string& label, const bool in, const bool o
if (m_comm.am_i_root())
for (int i = 0; i < nslot; ++i)
if (show[i])
fprintf(stderr, "exxhash> %4d-%9.5f %1d %16lx (%s)\n",
fprintf(stderr, "exxhash> %4d-%9.5f %1d %16llx (%s)\n",
timestamp().get_year(), timestamp().frac_of_year_in_days(),
i, gaccum[i], label.c_str());
}
Expand All @@ -140,7 +140,7 @@ void AtmosphereProcess::print_fast_global_state_hash (const std::string& label)
HashType gaccum;
bfbhash::all_reduce_HashType(m_comm.mpi_comm(), &laccum, &gaccum, 1);
if (m_comm.am_i_root())
fprintf(stderr, "bfbhash> %14d %16lx (%s)\n",
fprintf(stderr, "bfbhash> %14d %16llx (%s)\n",
timestamp().get_num_steps(), gaccum, label.c_str());
}

Expand Down

0 comments on commit c195b3c

Please sign in to comment.