-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git version #1257
Git version #1257
Conversation
pcout << "Running: " << concatenate_strings(argc, argv) << std::endl; | ||
pcout << " - deal.II (branch: " << DEAL_II_GIT_BRANCH | ||
<< "; revision: " << DEAL_II_GIT_REVISION | ||
<< "; short: " << DEAL_II_GIT_SHORTREV << ")" << std::endl; | ||
pcout << " - Lethe (branch: " << LETHE_GIT_BRANCH | ||
<< "; revision: " << LETHE_GIT_REVISION | ||
<< "; short: " << LETHE_GIT_SHORTREV << ")" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to printing the parameters, I think printing the git version is also useful. These both informations allow to easily reproduce experiments from output files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh this is a good idea. I like this.
@peterrum I have rebased this on current master other PRs were merged. This should be ready to merge after CI. |
Add git version to the printed output when --print-parameters is on Co-authored-by: Bruno Blais <blais.bruno@gmail.com> Former-commit-id: 5885806
Add git version to the printed output when --print-parameters is on Co-authored-by: Bruno Blais <blais.bruno@gmail.com> Former-commit-id: 5885806
follow-up to #1255
extracted from hpsint