AFLOW
 
Loading...
Searching...
No Matches
aflow_init.h File Reference
#include <iostream>
#include <string>
#include <vector>
#include "AUROSTD/aurostd.h"
#include "AUROSTD/aurostd_xoption.h"
#include "aflow_aflowrc.h"
#include "aflow_defs.h"
#include "flow/aflow_xclasses.h"

Go to the source code of this file.

Namespaces

namespace  init
 

Functions

int init::GetCPUCores ()
 
int init::InitMachine (bool INIT_VERBOSE, std::vector< std::string > &argv, std::vector< std::string > &cmds, std::ostream &outf)
 
std::string init::AFLOW_Projects_Directories (std::string string2load)
 
long init::GetRAM ()
 
uint init::GetTEMP ()
 
double init::WaitTEMP (double TRESHOLD=AFLOWRC_AFLOW_CORE_TEMPERATURE_HALT, std::ostream &oss=std::cout, bool LVERBOSE=false, std::vector< std::string > vmessage=std::vector< std::string >(0))
 
uint init::InitSchema (bool INIT_VERBOSE)
 
uint init::InitSchemaInternal (bool INIT_VERBOSE)
 
vector< string > init::getSchemaKeys (const aurostd::xoption &vschema)
 
vector< string > init::getSchemaNames (const aurostd::xoption &vschema)
 
vector< string > init::getSchemaTypes (const aurostd::xoption &vschema)
 
std::vector< std::string > init::getSchemaTypes (const aurostd::xoption &vschema, const std::vector< std::string > &keys)
 
uint AFLOW_getTEMP (const std::vector< std::string > &argv)
 
uint AFLOW_monitor (const std::vector< std::string > &argv)
 
double AFLOW_checkMEMORY (const std::string &progname="", double=102.0)
 
bool CheckMaterialServer (const std::string &message)
 
bool CheckMaterialServer ()
 
bool GetVASPBinaryFromLOCK (const std::string &directory, std::string &vasp_bin)
 
bool GetVASPBinaryFromLOCK (const std::string &directory, std::string &vasp_bin, int &ncpus)
 
void processFlagsFromLOCK (_xvasp &xvasp, _vflags &vflags, aurostd::xoption &xfixed)
 
bool AFLOW_VASP_instance_running ()
 
bool AFLOW_VASP_instance_running (const std::string &pgid)
 
bool AFLOW_MONITOR_instance_running (const _aflags &aflags)
 
bool VASP_instance_running (const std::string &vasp_bin)
 
bool VASP_instance_running (const std::string &vasp_bin, const std::string &pgid)
 
void AFLOW_monitor_VASP ()
 
void AFLOW_monitor_VASP (const std::string &directory)
 
std::string Message (const std::string &filename, const std::string &list2print=_AFLOW_MESSAGE_DEFAULTS_)
 
std::string Message (const std::string &filename, const _aflags &aflags, const std::string &list2print=_AFLOW_MESSAGE_DEFAULTS_)
 
bool AFLOW_BlackList (const std::string &h)
 
void init::MessageOption (const std::string &options, const std::string &routine, std::vector< std::string > vusage)
 
void init::MessageOption (const std::string &options, const std::string &routine, std::string vusage)
 
void init::ErrorOption (const std::string &options, const std::string &routine, std::vector< std::string > vusage)
 
void init::ErrorOption (const std::string &options, const std::string &routine, std::string vusage)
 

Function Documentation

◆ AFLOW_getTEMP()

uint AFLOW_getTEMP ( const std::vector< std::string > & argv)

◆ AFLOW_monitor()

uint AFLOW_monitor ( const std::vector< std::string > & argv)

◆ AFLOW_checkMEMORY()

double AFLOW_checkMEMORY ( const std::string & progname = "",
double = 102.0 )

◆ CheckMaterialServer() [1/2]

bool CheckMaterialServer ( const std::string & message)

◆ CheckMaterialServer() [2/2]

bool CheckMaterialServer ( )

Definition at line 2194 of file aflow_init.cpp.

◆ GetVASPBinaryFromLOCK() [1/2]

bool GetVASPBinaryFromLOCK ( const std::string & directory,
std::string & vasp_bin )

◆ GetVASPBinaryFromLOCK() [2/2]

bool GetVASPBinaryFromLOCK ( const std::string & directory,
std::string & vasp_bin,
int & ncpus )

◆ processFlagsFromLOCK()

void processFlagsFromLOCK ( _xvasp & xvasp,
_vflags & vflags,
aurostd::xoption & xfixed )

Definition at line 2317 of file aflow_init.cpp.

◆ AFLOW_VASP_instance_running() [1/2]

bool AFLOW_VASP_instance_running ( )

Definition at line 2413 of file aflow_init.cpp.

◆ AFLOW_VASP_instance_running() [2/2]

bool AFLOW_VASP_instance_running ( const std::string & pgid)

◆ AFLOW_MONITOR_instance_running()

bool AFLOW_MONITOR_instance_running ( const _aflags & aflags)

Definition at line 2425 of file aflow_init.cpp.

◆ VASP_instance_running() [1/2]

bool VASP_instance_running ( const std::string & vasp_bin)

◆ VASP_instance_running() [2/2]

bool VASP_instance_running ( const std::string & vasp_bin,
const std::string & pgid )

◆ AFLOW_monitor_VASP() [1/2]

void AFLOW_monitor_VASP ( )

Definition at line 2444 of file aflow_init.cpp.

◆ AFLOW_monitor_VASP() [2/2]

void AFLOW_monitor_VASP ( const std::string & directory)

◆ Message() [1/2]

std::string Message ( const std::string & filename,
const std::string & list2print = _AFLOW_MESSAGE_DEFAULTS_ )

◆ Message() [2/2]

std::string Message ( const std::string & filename,
const _aflags & aflags,
const std::string & list2print = _AFLOW_MESSAGE_DEFAULTS_ )

◆ AFLOW_BlackList()

bool AFLOW_BlackList ( const std::string & h)