5#include "AMReX_Vector.H"
7#ifdef REMORA_USE_NETCDF
21const std::string
dbl_line = std::string(78,
'=') +
"\n";
22const std::string
dash_line =
"\n" + std::string(78,
'-') +
"\n";
35 if (
irank != 0)
return;
37 amrex::ignore_unused(
comm);
41 REMORA3d.*.ex <input_file> [param=value] [param=value] ...
44 input_file : Input file with simulation settings
47 param=value : Overrides for parameters during runtime
62 amrex::ignore_unused(
comm);
65 std::cout <<
"ERROR: " <<
msg << std::endl;
77 if (
irank != 0)
return;
79 amrex::ignore_unused(
comm);
82 auto etime = std::chrono::system_clock::now();
83 auto etimet = std::chrono::system_clock::to_time_t(
etime);
99 <<
" REMORA (https://github.com/seahorce-scidac/REMORA)"
100 << std::endl << std::endl
101 <<
" REMORA Git SHA :: " <<
githash1 << std::endl
102 <<
" AMReX Git SHA :: " <<
githash2 << std::endl
103 <<
" AMReX version :: " << amrex::Version() << std::endl << std::endl
104 <<
" Exec. time :: " <<
tstamp
110 <<
"ON (Num. ranks = " <<
num_ranks <<
")" << std::endl
112 <<
"OFF " << std::endl
117#if defined(AMREX_USE_CUDA)
119#elif defined(AMREX_USE_HIP)
121#elif defined(AMREX_USE_SYCL)
126 <<
"OFF" << std::endl
132 <<
"OFF" << std::endl
138 out <<
" This software is released under the BSD 3-clause license. "
140 <<
" See https://github.com/seahorce-scidac/REMORA/blob/development/LICENSE.md for details. "
147 amrex::Vector<std::string>
tpls;
149#ifdef REMORA_USE_NETCDF
154 out <<
" Enabled third-party libraries: ";
158 out << std::endl << std::endl;
160 out <<
" No additional third-party libraries enabled" << std::endl
mf_h setVal(geomdata.ProbHi(2))
static void print_error(MPI_Comm, const std::string &msg)
static void print_usage(MPI_Comm, std::ostream &)
static void print_banner(MPI_Comm, std::ostream &)
static void print_tpls(std::ostream &)
const char * buildInfoGetGitHash(int i)
const char * buildInfoGetBuildDate()
const char * buildInfoGetCompVersion()
const char * buildInfoGetComp()