16 #ifndef __SLAVE_H_INCLUDED__
17 #define __SLAVE_H_INCLUDED__
69 MPI_Comm_size(MPI_COMM_WORLD, &this->
numprocs);
71 MPI_Comm_rank(MPI_COMM_WORLD,&this->
myid);
98 timer & process_timer);
int numfilesatatime_orig
the expected number of files per send
int numprocs
the number of processors in my MPI communicator.
char * input_file
the input file in a c-friendly format
std::vector< std::string > numdotout
num.out file.
unsigned int currentSeed
the current seed for random number generator.
void LoopBasic(timer &process_timer)
std::vector< std::string > config
config file.
void PurgeWorkingFolder()
void CleanupSwitch(timer &process_timer)
std::vector< std::string > funcinput
func_input file.
void SeedSwitch(timer &process_timer)
void MoveToWorkingFolder()
void slave_main(ProgSettings input_settings, runinfo input_p_info, timer &process_timer)
boost::filesystem::path called_dir
where was I instantiated?
bool have_dotout
flag indicating whether we have read the .out files into memory.
void LoopSearch(timer &process_timer)
std::vector< std::string > degdotout
degout file.
void ReceiveInput(timer &process_timer)
void CleanupBasic(timer &process_timer)
char * start_file
the start file in a c-friendly format
boost::filesystem::path workingfolder
where should I go to perform work?
void CleanupSearch(timer &process_timer)
runinfo paramotopy_info
the parsed paramotopy input file.
void SeedSearch(timer &process_timer)
void LoopSwitch(timer &process_timer)
bool in_working_folder
boolean indicating whether i think i am in the correct location to perform work.
std::vector< std::string > preproc_data
preproc_data file.
int linenumber
what line is currently being run
void ReceiveStart(timer &process_timer)
std::vector< std::string > namesdotout
names.out file.
boost::filesystem::path filename
the filename for the problem
Class for gathering data, from failed path analysis, and from completed runs.
int numparam
the number of parameters in the problem.
boost::filesystem::path homedir
where is /Users/ofloveandhate?
int myid
my id withing my MPI communicator
std::vector< std::string > arrdotout
arr.out file.
boost::filesystem::path tmpfolder
the basis for workingfolder
A class that stores the general program settings of Paramotopy.
ProgSettings paramotopy_settings
the ProgSettings for this process
int MPType
MPType for current run.
datagatherer slavegatherer
data member from datagatherer, which will gather bertini output files.
A class for the input file parser.
void WriteNumDotOut(double current_params[])
bool have_input
flag indicating whether we have received the INPUT file from master.
int standardstep2
flag for total degree or coefficient parameter homotopy.
int numfilesatatime
the expected number of files per send
void SeedBasic(timer &process_timer)
bool have_start
flag indicating whether we have received the START file from master.
slave process for basic searches and brute-force runs.
std::string stackoverflow_getcwd()
Capable of timing arbitrary categories of processes, using a map of timer_data's. ...