]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.cpp
another pds fix to sffinfo
[mothur.git] / engine.cpp
index 2ed819f9661fe728526c5e9ba59ba661f58027e9..7bcb4e41185bfa2104b3ef29432db0af7cbe58a2 100644 (file)
@@ -51,11 +51,12 @@ bool InteractEngine::getInput(){
                
                while(quitCommandCalled != 1){
 
+
                        mout->mothurOutEndLine();
                        
                        input = getCommand();   
                        mout->mothurOutEndLine();       
-                       
+               
                        if (mout->control_pressed) { input = "quit()"; }
                        
                        //allow user to omit the () on the quit command
@@ -72,7 +73,7 @@ bool InteractEngine::getInput(){
                                                int pid;
                                                MPI_Comm_rank(MPI_COMM_WORLD, &pid); 
  
-cout << pid << " is here " << commandName << endl;
+//cout << pid << " is here " << commandName << endl;
                                                if ((cFactory->MPIEnabled(commandName)) || (pid == 0)) {
                                        #endif
                                        //executes valid command
@@ -205,7 +206,7 @@ bool BatchEngine::getInput(){
                                                int pid;
                                                MPI_Comm_rank(MPI_COMM_WORLD, &pid); 
                                                
-cout << pid << " is here " << commandName << '\t' << count << endl;
+//cout << pid << " is here " << commandName << '\t' << count << endl;
                                                if ((cFactory->MPIEnabled(commandName)) || (pid == 0)) {
                                        #endif
                                        //executes valid command
@@ -320,9 +321,9 @@ bool ScriptEngine::getInput(){
                                                MPI_Comm_rank(MPI_COMM_WORLD, &pid); 
                                                MPI_Comm_size(MPI_COMM_WORLD, &numProcesses); 
                                        
-cout << pid << " is here " << commandName  << endl;
+//cout << pid << " is here " << commandName  << endl;
                                                if ((cFactory->MPIEnabled(commandName)) || (pid == 0)) {
-                                                       cout << pid << " is in execute" << endl;        
+                                                       //cout << pid << " is in execute" << endl;      
                                        #endif
                                        //executes valid command
                                        Command* command = cFactory->getCommand(commandName, options);
@@ -331,7 +332,7 @@ cout << pid << " is here " << commandName  << endl;
                                        mout->executing = false;
                                                                        
                                        #ifdef USE_MPI
-                                       cout << pid << " is done in execute" << endl;
+                                       //cout << pid << " is done in execute" << endl;
                                                }
                                        #endif
                                }else {