Author: bugman Date: Fri Mar 16 14:13:52 2012 New Revision: 15504 URL: http://svn.gna.org/viewcvs/relax?rev=15504&view=rev Log: The model-free constraint matrix A is now of numpy.int8 type. The values of this matrix should be negative, zero, or positive integers for model-free analyses, so the type has been changed. When using the example at https://mail.gna.org/public/relax-users/2012-03/msg00037.html (Message-id: <CAED9pY_Z1wGEg3gZo3WCkhvYTBdqs-Feex5Og4vJFovgJkUOyw@xxxxxxxxxxxxxx>), the virtual memory usage during Monte Carlo simulations drops from 648 to 641 Mb. This should also increase the scaling efficiency on clusters. Modified: 1.3/specific_fns/model_free/mf_minimise.py Modified: 1.3/specific_fns/model_free/mf_minimise.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/mf_minimise.py?rev=15504&r1=15503&r2=15504&view=diff ============================================================================== --- 1.3/specific_fns/model_free/mf_minimise.py (original) +++ 1.3/specific_fns/model_free/mf_minimise.py Fri Mar 16 14:13:52 2012 @@ -24,7 +24,7 @@ from copy import deepcopy from math import pi from minfx.grid import grid_split -from numpy import float64, array, dot, zeros +from numpy import array, dot, float64, int8, zeros from numpy.linalg import inv from re import match, search import sys @@ -971,7 +971,7 @@ i = i + 1 # Convert to numpy data structures. - A = array(A, float64) + A = array(A, int8) b = array(b, float64) return A, b