36 #error your C++ compiler is too old. g++ version 4.0 or higher is required. 51 cout <<
"OpenMP: not supported by this binary" << endl;
53 int threads = openmp_max_threads();
55 cout <<
"OpenMP active: max. " << threads <<
" threads." << endl;
57 cout <<
"OpenMP active, but running with 1 thread only." << endl;
62 int sharp_veclen(
void);
66 cout <<
"Supported vector length: " << sharp_veclen() << endl;
74 #define VERSION "3.83" 76 string version =
"v" VERSION;
77 string name2 = name+
" "+version;
79 for (
tsize m=0; m<name2.length(); ++m) cout <<
"-";
81 cout <<
"| " << name2 <<
" |" << endl;
83 for (
tsize m=0; m<name2.length(); ++m) cout <<
"-";
84 cout <<
"-+" << endl << endl;
90 void module_startup (
const string &name,
bool argc_valid,
const string &usage,
94 if (argc_valid)
return;
95 if (verbose) cerr << usage << endl;
100 int argc_expected,
const string &argv_expected,
bool verbose)
103 string(
"Usage: ")+name+
" "+argv_expected, verbose);
110 string(
"Usage:\n ")+name+
" <parameter file / init object>\nor:\n " 111 +name+
" par1=val1 par2=val2 ...", verbose);
#define planck_fail_quietly(msg)
void module_startup(const std::string &name, bool argc_valid, const std::string &usage, bool verbose=true)
void announce(const std::string &name)