diff --git a/components/eamxx/src/share/atm_process/atmosphere_process_hash.cpp b/components/eamxx/src/share/atm_process/atmosphere_process_hash.cpp index 6b2f2fd080b..9fb5726084f 100644 --- a/components/eamxx/src/share/atm_process/atmosphere_process_hash.cpp +++ b/components/eamxx/src/share/atm_process/atmosphere_process_hash.cpp @@ -129,9 +129,9 @@ ::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 %16lld (%s)\n", + fprintf(stderr, "exxhash> %4d-%9.5f %1d %16llx (%s)\n", timestamp().get_year(), timestamp().frac_of_year_in_days(), - i, (long long int)gaccum[i], label.c_str()); + i, gaccum[i], label.c_str()); } void AtmosphereProcess::print_fast_global_state_hash (const std::string& label) const { @@ -140,8 +140,8 @@ 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 %16lld (%s)\n", - timestamp().get_num_steps(), (long long int) gaccum, label.c_str()); + fprintf(stderr, "bfbhash> %14d %16llx (%s)\n", + timestamp().get_num_steps(), gaccum, label.c_str()); } } // namespace scream