Skip to content
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

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Git version #1257

merged 4 commits into from
Aug 23, 2024

Conversation

peterrum
Copy link
Collaborator

@peterrum peterrum commented Aug 23, 2024

follow-up to #1255

extracted from hpsint

Comment on lines +62 to +68
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;
Copy link
Collaborator Author

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.

Copy link
Contributor

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.

@blaisb
Copy link
Contributor

blaisb commented Aug 23, 2024

@peterrum I have rebased this on current master other PRs were merged. This should be ready to merge after CI.

@blaisb blaisb merged commit 5885806 into master Aug 23, 2024
10 of 11 checks passed
@blaisb blaisb deleted the git_version branch August 23, 2024 15:33
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
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
blaisb added a commit that referenced this pull request Sep 30, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants