X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/f2373be314dc298d602b1939cde3d5ae990dd07f..e46233799c25067188549528947ae980579a5e8c:/writeout.cpp diff --git a/writeout.cpp b/writeout.cpp index 966559d..03423c5 100644 --- a/writeout.cpp +++ b/writeout.cpp @@ -85,12 +85,9 @@ writeout::~writeout() { if(fulldir != "") { for (map::iterator ofit = of.begin(); ofit != of.end(); ++ofit) { - cout << ofit->first << endl; if( cRank[0] == '0' ) { int jobsdone=0; while(jobsdonefirst << endl; - cout << "here" << endl; string nextfile; if( (nextfile = getdatfile(ofit->first)) == "" ) sleep(1); @@ -131,11 +128,8 @@ string writeout::getdatfile(string subname) DIR *dp; struct dirent *dirp; - cout << "getting:" << subname << endl; - if((dp = opendir(fulldir.c_str())) == NULL) { logf << "Error(" << errno << ") opening " << fulldir << endl; - cout << "blub" << endl; return ""; } @@ -143,11 +137,8 @@ string writeout::getdatfile(string subname) { myfile = string(dirp->d_name); - cout << myfile << endl; - if(myfile.length() > 3 && myfile.substr(myfile.length()-4) == "part" && subname == myfile.substr( myfile.find("-")+1, myfile.rfind(".")-myfile.find("-")-1 ) ) { - cout << myfile << endl; return myfile; } }