Hi Troels, I'm not sure what this means yet, but I think this would be better stored in the status object. It could be a run time command line option --mp_verbosity which can be true or false, or set in a different way. The reason is because the multi-processor framework is not only for minimisation. It could be used for anything that can be run on a cluster. Think of dx.map, dasha.execute, palmer.execute, structure.sequence_alignment, structure.superimpose, a grid search, or a new analysis parallised at a much higher level. I think it would be good to discuss this.
Cheers, Edward On 27 May 2015 at 03:09, <tlin...@nmr-relax.com> wrote: > Author: tlinnet > Date: Wed May 27 03:09:48 2015 > New Revision: 27840 > > URL: http://svn.gna.org/viewcvs/relax?rev=27840&view=rev > Log: > Adding keyword for verbosity for multi processor mode. > > Task #7826 (https://gna.org/task/?7826): Write an python class for the > repeated analysis of dispersion data. > > Modified: > trunk/auto_analyses/relax_disp_repeat_cpmg.py > > Modified: trunk/auto_analyses/relax_disp_repeat_cpmg.py > URL: > http://svn.gna.org/viewcvs/relax/trunk/auto_analyses/relax_disp_repeat_cpmg.py?rev=27840&r1=27839&r2=27840&view=diff > ============================================================================== > --- trunk/auto_analyses/relax_disp_repeat_cpmg.py (original) > +++ trunk/auto_analyses/relax_disp_repeat_cpmg.py Wed May 27 03:09:48 > 2015 > @@ -781,7 +781,7 @@ > print("Clustered spins are:", cdp.clustering) > > > - def minimise_execute(self, verbosity=1, methods=None, model=None, > model_from=None, analysis=None, analysis_from=None, list_glob_ini=None, > force=False, mc_err_analysis=False): > + def minimise_execute(self, verbosity=1, methods=None, model=None, > model_from=None, analysis=None, analysis_from=None, list_glob_ini=None, > force=False, mc_err_analysis=False, mp_verbosity=0): > """Use value.set on all pipes.""" > > # Set default > @@ -826,7 +826,7 @@ > subsection(file=sys.stdout, text="Performing Monte-Carlo > minimisations on %i simulations"%(getattr(cdp, "sim_number")), prespace=0) > > # Do the minimisation. > - self.interpreter.minimise.execute(min_algor=self.min_algor, > func_tol=self.opt_func_tol, max_iter=self.opt_max_iterations, > constraints=self.constraints, scaling=True, verbosity=verbosity) > + self.interpreter.minimise.execute(min_algor=self.min_algor, > func_tol=self.opt_func_tol, max_iter=self.opt_max_iterations, > constraints=self.constraints, scaling=True, verbosity=verbosity, > mp_verbosity=mp_verbosity) > > # Do Monte-Carlo error analysis > if mc_err_analysis: > > > _______________________________________________ > relax (http://www.nmr-relax.com) > > This is the relax-commits mailing list > relax-comm...@gna.org > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-commits _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel