Skip to content

Commit

Permalink
EAMxx: improve error message in case rhist file is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Sep 30, 2024
1 parent e540ae9 commit f8705df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/eamxx/src/share/io/scream_io_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ std::string find_filename_in_rpointer (
" output freq : " + std::to_string(control.frequency) + "\n"
" output freq units: " + control.frequency_units + "\n"
" rpointer content:\n" + content + "\n\n"
" Did you change output specs (avg type, freq, or freq units) across restart? If so, please, remember that it is not allowed.\n");
" Did you change output specs (avg type, freq, or freq units) across restart? If so, please, remember that it is not allowed.\n"
" It is also possible you are using a rhist file create before commit 6b7d441330d. That commit changed how rhist file names\n"
" are formed. In particular, we no longer use INSTANT.${REST_OPTION}_x${REST_N}, but we use the avg type, and freq/freq_option\n"
" of the output stream (to avoid name clashes if 2 streams only differ for one of those). If you want to use your rhist file,\n"
" please rename it, so that the avg-type, freq, and freq_option reflect those of the output stream.\n");
}
}

Expand Down

0 comments on commit f8705df

Please sign in to comment.