From: Alex Schmidt Date: Thu, 11 Jul 2013 14:20:21 +0000 (+0200) Subject: ... X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/91d6de08138eacd2098cc662a4ebceea4a07b280?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)