X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/863c9da2356ce3fc92d6a39550ac6c181252781a..66dd4bd348bacf6b43b59c2b349a913b722c6504:/o815/o815.cpp?ds=sidebyside diff --git a/o815/o815.cpp b/o815/o815.cpp index 708aceb..956ad2e 100644 --- a/o815/o815.cpp +++ b/o815/o815.cpp @@ -100,6 +100,14 @@ void o815::postParaInit() { 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; idestgetTotalJobs(); i++ ) { - if( paraQ->getTotalJobs()%i == 0 ) cout << paraQ->getTotalJobs()/i << "@" << i << " "; - } - cout << endl; - exit(0); - } - *out->log << "OBS: Starting main loop." << endl; for (vector::iterator obsit = observables.begin(); obsit != observables.end(); ++obsit)