Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
about.hpp
Go to the documentation of this file.
1 // Copyright (c) Lawrence Livermore National Security, LLC and
2 // other Serac Project Developers. See the top-level LICENSE file for
3 // details.
4 //
5 // SPDX-License-Identifier: (BSD-3-Clause)
6 
14 #pragma once
15 
16 #include <string>
17 #include <utility>
18 
19 #include "mpi.h"
20 
21 namespace serac {
22 
28 std::string about();
29 
37 std::string gitSHA();
38 
44 void printRunInfo();
45 
53 std::string version(bool add_SHA = true);
54 
60 std::string compiler();
61 
67 std::pair<int, int> getMPIInfo(MPI_Comm comm = MPI_COMM_WORLD);
68 
69 } // namespace serac
Accelerator functionality.
Definition: serac.cpp:36
std::string version(bool add_SHA)
Returns a string for the version of Serac.
Definition: about.cpp:214
std::string gitSHA()
Returns a string for the Git SHA when the driver was built.
Definition: about.cpp:193
std::pair< int, int > getMPIInfo(MPI_Comm comm)
Get MPI Info.
Definition: about.cpp:229
std::string compiler()
Returns a string for the current compiler name and version.
Definition: about.cpp:227
std::string about()
Returns a string about the configuration of Serac.
Definition: about.cpp:56
void printRunInfo()
Outputs basic run information to the screen.
Definition: about.cpp:195