15 std::string
PrettyLine =
"==================================================="
16 "============================\n";
17 std::string
OtherLine =
"----------------------------------------------------"
18 "----------------------------\n";
29 << amrex::ParallelDescriptor::NProcs() <<
"\n";
35 jobInfoFile <<
"CPU time used since start of simulation (CPU-hours): "
51 std::string
currentDir = amrex::FileSystem::CurrentPath();
62 jobInfoFile <<
"build machine: " << amrex::buildInfoGetBuildMachine() <<
"\n";
63 jobInfoFile <<
"build dir: " << amrex::buildInfoGetBuildDir() <<
"\n";
64 jobInfoFile <<
"AMReX dir: " << amrex::buildInfoGetAMReXDir() <<
"\n";
73 for (
int n = 1; n <= amrex::buildInfoGetNumModules(); n++) {
74 jobInfoFile << amrex::buildInfoGetModuleName(n) <<
": "
75 << amrex::buildInfoGetModuleVal(n) <<
"\n";
89 const char*
buildgithash = amrex::buildInfoGetBuildGitHash();
90 const char*
buildgitname = amrex::buildInfoGetBuildGitName();
137 std::string
PrettyLine = std::string(78,
'=') +
"\n";
138 std::string
OtherLine = std::string(78,
'-') +
"\n";
139 std::string
SkipSpace = std::string(8,
' ');
143 os <<
" REMORA Build Information\n";
147 os <<
"build machine: " << amrex::buildInfoGetBuildMachine() <<
"\n";
148 os <<
"build dir: " << amrex::buildInfoGetBuildDir() <<
"\n";
149 os <<
"AMReX dir: " << amrex::buildInfoGetAMReXDir() <<
"\n";
156 os <<
"C++ compiler: " << amrex::buildInfoGetCXXName() <<
"\n";
157 os <<
"C++ flags: " << amrex::buildInfoGetCXXFlags() <<
"\n";
161 os <<
"Link flags: " << amrex::buildInfoGetLinkFlags() <<
"\n";
162 os <<
"Libraries: " << amrex::buildInfoGetLibraries() <<
"\n";
166 for (
int n = 1; n <= amrex::buildInfoGetNumModules(); n++) {
167 os << amrex::buildInfoGetModuleName(n) <<
": "
168 << amrex::buildInfoGetModuleVal(n) <<
"\n";
175 os <<
"REMORA git hash: " <<
githash1 <<
"\n";
181 const char*
buildgithash = amrex::buildInfoGetBuildGitHash();
182 const char*
buildgitname = amrex::buildInfoGetBuildGitName();
188 os <<
" REMORA Compile time variables: \n";
191 os <<
" REMORA Defines: \n";
193 os << std::setw(35) << std::left <<
"_OPENMP " << std::setw(6) <<
"ON"
196 os << std::setw(35) << std::left <<
"_OPENMP " << std::setw(6) <<
"OFF"
201 os << std::setw(35) << std::left <<
"MPI_VERSION " << std::setw(6)
204 os << std::setw(35) << std::left <<
"MPI_VERSION " << std::setw(6)
205 <<
"UNDEFINED" << std::endl;
209 os << std::setw(35) << std::left <<
"MPI_SUBVERSION " << std::setw(6)
212 os << std::setw(35) << std::left <<
"MPI_SUBVERSION " << std::setw(6)
213 <<
"UNDEFINED" << std::endl;