mit-crpg / OpenMOC

A method of characteristics code for nuclear reactor physics calculations.
https://mit-crpg.github.io/OpenMOC/
Other
149 stars 83 forks source link

Program version #478

Open spfeiffer1 opened 2 years ago

spfeiffer1 commented 2 years ago

Is there somewhere in the code (output, log) where I can find out what the version of OpenMOC is installed? This is for Software QA purposes when we need to provide evidence that the version we used in our analysis is the right up-to-date version.

GiudGiud commented 1 year ago

Hello

You can use the git commit for that purpose. git show in the repository will give that.

Guillaume

tjlaboss commented 1 year ago

This would be useful information to print in the code output, much like OpenMC does.

For Software QA purposes, might I suggest using a wrapper script. It can record the OpenMOC version and other relevant runtime information, and tee code output to a logfile.