Author: bugman Date: Fri Jun 27 18:13:27 2014 New Revision: 24354 URL: http://svn.gna.org/viewcvs/relax?rev=24354&view=rev Log: Numpy version 1.6 or higher is now required to be able to run relax. This follows from the series of messages: - http://www.mail-archive.com/relax-devel@xxxxxxx/msg06288.html, - http://www.mail-archive.com/relax-devel@xxxxxxx/msg06289.html, - http://www.mail-archive.com/relax-devel@xxxxxxx/msg06327.html, - http://www.mail-archive.com/relax-devel@xxxxxxx/msg06335.html. If too many users complain, maybe this change can be reverted later. This minimal numpy version is needed for many of the speed ups going in the relaxation dispersion and frame order analyses. It is required for the numpy ufunc out arguments and for the numpy.eigsum() function. These will likely be used in other analyses in the future for improving the speed of relax, so it might affect users of other analyses later on. Modified: trunk/dep_check.py Modified: trunk/dep_check.py URL: http://svn.gna.org/viewcvs/relax/trunk/dep_check.py?rev=24354&r1=24353&r2=24354&view=diff ============================================================================== --- trunk/dep_check.py (original) +++ trunk/dep_check.py Fri Jun 27 18:13:27 2014 @@ -37,6 +37,9 @@ # numpy. try: import numpy + if float(numpy.version.version[:3]) < 1.6: + sys.stderr.write("Version %s of the 'numpy' dependency is not supported, numpy >= 1.6 is required.\n" % numpy.version.version) + sys.exit() except ImportError: sys.stderr.write("The dependency 'numpy' has not been installed.\n") sys.exit()