exit(0);
}
- if( comargs.showjobnum ) {
- for( int i=1; i<=paraQ->getTotalJobs(); i++ ) {
- if( paraQ->getTotalJobs()%i == 0 ) cout << paraQ->getTotalJobs()/i << "@" << i << " ";
- }
- cout << endl;
- exit(0);
- }
-
if(rank==0) {
timestamp = time(NULL);
for(int idest=1; idest<numprocs; idest++)
}
void o815::mainLoop() {
+ if( comargs.showjobnum ) {
+ for( int i=1; i<=paraQ->getTotalJobs(); i++ ) {
+ if( paraQ->getTotalJobs()%i == 0 ) cout << paraQ->getTotalJobs()/i << "@" << i << " ";
+ }
+ cout << endl;
+ exit(0);
+ }
+
*out->log << "OBS: Starting main loop." << endl;
for (vector<obs*>::iterator obsit = observables.begin(); obsit != observables.end(); ++obsit)
progress measProg(comargs.nmeas);
- *out->log << "OBS: Starting measurements." << endl << flush;
+ *out->log << "OBS: Starting measurement of observables:";
+ for (vector<obs*>::iterator obsit = observables.begin(); obsit != observables.end(); ++obsit)
+ *out->log << " " << (*obsit)->obsid;
+ *out->log << endl << flush;
for( int imeas=0; imeas<comargs.nmeas; imeas++ ) {
bool nextAlready = false;