From: Alex Schmidt Date: Tue, 16 Apr 2013 14:55:21 +0000 (+0200) Subject: removed debug messages. X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/40171a80594f79b137900fae122a2e33a3a88f95?ds=inline;hp=f2373be314dc298d602b1939cde3d5ae990dd07f removed debug messages. --- diff --git a/o815/o815.cpp b/o815/o815.cpp index a2b35e8..9fcae16 100644 --- a/o815/o815.cpp +++ b/o815/o815.cpp @@ -64,8 +64,6 @@ void o815::mainLoop() { for (vector::iterator obsit = observables.begin(); obsit != observables.end(); ++obsit) { (*obsit)->finish(); } - - //MPI_Finalize(); } void o815::parseArgs(int argc, char **argv) { @@ -145,9 +143,6 @@ o815::~o815() { if(rank==0) cout << "#end" << endl << flush; } - - cout << "bu:" << rank << endl; - delete out; MPI_Finalize(); } 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; } }