141 vcat.emplace_back(
"cat");
142 vcat.emplace_back(
"bzcat");
143 vcat.emplace_back(
"xzcat");
144 vcat.emplace_back(
"gzcat");
146 vext.emplace_back(
"");
147 vext.emplace_back(
".bz2");
148 vext.emplace_back(
".xz");
149 vext.emplace_back(
".gz");
151 vzip.emplace_back(
"");
152 vzip.emplace_back(
"bzip2");
153 vzip.emplace_back(
"xz");
154 vzip.emplace_back(
"gzip");
210 for (
size_t i = 0; i < b.
argv.size(); i++) {
240 for (
size_t i = 0; i < b.
vcmd.size(); i++) {
269 for (
size_t i = 0; i < b.
vvLIBS.size(); i++) {
280 for (
size_t i = 0; i < b.
vcat.size(); i++) {
284 for (
size_t i = 0; i < b.
vext.size(); i++) {
288 for (
size_t i = 0; i < b.
vzip.size(); i++) {
295 for (
size_t i = 0; i < b.
vaflowrc.size(); i++) {
360 vcat.emplace_back(
"cat");
361 vcat.emplace_back(
"bzcat");
362 vcat.emplace_back(
"xzcat");
363 vcat.emplace_back(
"gzcat");
365 vext.emplace_back(
"");
366 vext.emplace_back(
".bz2");
367 vext.emplace_back(
".xz");
368 vext.emplace_back(
".gz");
370 vzip.emplace_back(
"");
371 vzip.emplace_back(
"bzip2");
372 vzip.emplace_back(
"xz");
373 vzip.emplace_back(
"gzip");
393 if (
command ==
"beep")
return string(
"echo -ne '\007'");
397 return "./aflow_data";
399 for (
size_t i = 0; i <
vcmd.size(); i++) {
408 vcmd.push_back(_command);
415 vector<string> path_parts;
417 for (
size_t i = 0; i <
vcmd.size(); i++) {
419 if (!path_parts.empty()) {
420 basename = path_parts[path_parts.size() - 1];
434 return !path.empty();
pthread_mutex_t mutex_XAFLOW_XHOST
#define XHOST_LIBRARY_LIB2
#define XHOST_LIBRARY_LIB3
#define XHOST_LIBRARY_LIB0
#define XHOST_LIBRARY_LIB9
#define XHOST_LIBRARY_LIB1
#define XHOST_LIBRARY_ICSD
#define XHOST_vLibrary_ICSD
#define XHOST_LIBRARY_LIB8
#define XHOST_LIBRARY_LIB7
#define XHOST_LIBRARY_LIB5
#define XHOST_LIBRARY_LIB6
#define XHOST_LIBRARY_LIB4
#define XHOST_vGlobal_MAX
std::vector< uint > vGlobal_uint
std::vector< std::string > vaflowrc
std::vector< double > vTemperatureCore
std::vector< std::vector< std::string > > vvLIBS
std::string aflowrc_filename
std::string aflowrc_content
const _XHOST & operator=(const _XHOST &b)
bool READ_SPIN_FROM_ATOMLABEL
std::vector< std::string > LOGGER_WHITELIST
std::vector< std::vector< std::string > > vvGlobal_string
std::vector< std::string > argv
std::ostringstream ostrPID
std::string command(const std::string &command)
void copy(const _XHOST &b)
std::vector< std::string > vzip
aurostd::xoption adefault
aurostd::xoption vflag_aflow
bool is_command(const std::string &command)
bool PSEUDOPOTENTIAL_GENERATOR
aurostd::xoption vflag_outreach
bool GENERATE_AFLOWIN_ONLY
std::vector< std::string > LOGGER_BLACKLIST
std::ostringstream ostrTID
std::string AFLOW_MATERIALS_SERVER
std::string Find_Parameters
aurostd::xoption vschema_internal
aurostd::xoption vflag_control
long double Time_starting
std::string Copyright_Years
std::vector< std::string > vext
std::string AFLOW_WEB_SERVER
aurostd::xoption vflag_pflow
std::vector< std::string > vGlobal_string
std::vector< std::string > vcat
bool is_MACHINE_FULTON_MARYLOU
std::vector< std::string > vcmd
uint string2tokens(const string &str, vector< string > &tokens, const string &delimiters=" ", bool consecutive=false) __xprototype
bool IsCommandAvailableModify(string &command)
bool FileExist(const string &FileName)
check if file exists