On Thu, Dec 29, 2011 at 11:27 AM, Shaun Ault <[email protected]> wrote: > > Dear Sage Support, > > I've downloaded the 64-bit binary, > > sage-4.7.2-linux-64bit-red_hat_enterprise_linux_server_release_5.6_tikanga-x86_64-Linux.tar.gz > > onto a server that is running rhel 5.5 tikanga.
You can either try building all of Sage from source or rebuilding just the numpy package. I would try first just rebuilding numpy from source, by typing ./sage -f numpy -- William > > [sageadm@acad-math01 ~]$ uname -a > Linux acad-math01 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 > x86_64 x86_64 x86_64 GNU/Linux > [sageadm@acad-math01 ~]$ tail /etc/redhat-release > Red Hat Enterprise Linux Server release 5.5 (Tikanga) > [sageadm@acad-math01 ~]$ > > > The most basic functions of sage work fine, however I get errors when > running certain commands. For example, when trying to create a matrix, > there is a huge traceback. The last line seems to indicate a 32-bit > version of libgfortran.so, rather than the expected 64-bit version. > > sage: matrix([[1,2],[3,4]]) > --------------------------------------------------------------------------- > ImportError Traceback (most recent call last) > > /app/sage/sage/<ipython console> in <module>() > > /app/sage/sage/local/lib/python2.6/site-packages/sage/matrix/constructor.pyc > in matrix(*args, **kwds) > 495 # check to see if the number of rows is specified > 496 try: > --> 497 import numpy > 498 if isinstance(args[0], numpy.ndarray): > 499 raise TypeError > > ..............lines deleted.......................... > > /app/sage/sage/local/lib/python2.6/site-packages/numpy/linalg/linalg.py > in <module>() > 21 isfinite, size, finfo, absolute, log, exp > 22 from numpy.lib import triu > ---> 23 from numpy.linalg import lapack_lite > 24 from numpy.matrixlib.defmatrix import matrix_power > 25 from numpy.compat import asbytes > > ImportError: libgfortran.so.1: wrong ELF class: ELFCLASS32 > > > > Please advise!! > > Thanks, > -Shaun Ault > > > > > > > -- > "The doctors treated him, bled him, and made him swallow drugs; nevertheless > he recovered" --Tolstoy, in War and Peace > > "It should be presupposed that every good Christian ought to be more eager > to put a good interpretation on a neighbor's statement than to condemn it." > --St. Ignatius > > > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
