#include <string>
#include <vector>
-#include <mpi.h>
#include <stdlib.h>
#include <getopt.h>
vector<obs*> observables;
sim* Sim;
void mainLoop();
- string headMaster();
+ string headMaster( bool hashedrange=false );
void addPara(const string& paraid, const double& paraDefault);
void addComOption(const char* name, int has_arg, int *flag, int val, const char* optdesc, const char* argdesc);
vector< pair<int,char*> > parsedSpecOps;
private:
vector<comoption> comOptions;
- MPI_Status mpiStatus;
int numprocs, rank;
static void listArg(int *target, int tlen, char *listarg);
void parseArgs(int argc, char **argv, comoption specOps[]);
string programid;
int nextParas();
comoption* getOptionByVal(int val);
+ static void readCacheArgs(const string& arg, string& cachedir, int& cachemode);
+ unsigned long hash(const string& str);
};
#endif