Skip to content

Commit

Permalink
Merge pull request #29786 from DanielYankura/add_app_version_to_exodus
Browse files Browse the repository at this point in the history
Add app info to exodus output
  • Loading branch information
GiudGiud authored Feb 6, 2025
2 parents e29a964 + 37650a7 commit 7bda5ab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion framework/src/outputs/formatters/ExodusFormatter.C
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,15 @@ ExodusFormatter::printInputFile(ActionWarehouse & wh)
}
if (wh.mooseApp().getSystemInfo() != NULL)
{
_ss << "### Version Info ###\n" << wh.mooseApp().getSystemInfo()->getInfo() << "\n";
_ss << "### Version Info ###\n"
<< std::setw(25) << "App Version: " << wh.mooseApp().getVersion() << "\n"
<< wh.mooseApp().getSystemInfo()->getInfo() << "\n";
}

_ss << std::left << "### Parallelism ###\n"
<< std::setw(25) << "Num Processors: " << wh.mooseApp().n_processors() << "\n"
<< std::setw(25) << "Num Threads: " << libMesh::n_threads() << "\n";

_ss << "### Input File ###" << std::endl;
wh.printInputFile(_ss);
}
Expand Down

0 comments on commit 7bda5ab

Please sign in to comment.