mailr27841 - /trunk/user_functions/minimisation.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on May 27, 2015 - 03:09:
Author: tlinnet
Date: Wed May 27 03:09:50 2015
New Revision: 27841

URL: http://svn.gna.org/viewcvs/relax?rev=27841&view=rev
Log:
Adding to user function minimise.execute() the keyword "mp_verbosity", to 
control the amount
of information to print when running multi processors.

Modified:
    trunk/user_functions/minimisation.py

Modified: trunk/user_functions/minimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/minimisation.py?rev=27841&r1=27840&r2=27841&view=diff
==============================================================================
--- trunk/user_functions/minimisation.py        (original)
+++ trunk/user_functions/minimisation.py        Wed May 27 03:09:50 2015
@@ -217,6 +217,13 @@
     desc_short = "verbosity level",
     desc = "The amount of information to print to screen.  Zero corresponds 
to minimal output while higher values increase the amount of output.  The 
default value is 1."
 )
+uf.add_keyarg(
+    name = "mp_verbosity",
+    default = 0,
+    py_type = "int",
+    desc_short = "multi processor verbosity level",
+    desc = "The amount of information to print to screen when running multi 
processors.  Zero corresponds to minimal output while higher values increase 
the amount of output.  The default value is 0."
+)
 # Description.
 uf.desc.append(Desc_container())
 uf.desc[-1].add_paragraph("This will perform an optimisation starting from 
the current parameter values.  This is only suitable for data pipe types 
which have target functions and hence support optimisation.")




Related Messages


Powered by MHonArc, Updated Wed May 27 03:20:02 2015