Ask Your Question

ec92's profile - activity

2020-12-22 22:20:49 +0200 received badge  Notable Question (source)
2018-12-22 00:21:07 +0200 received badge  Popular Question (source)
2017-01-13 04:58:42 +0200 received badge  Famous Question (source)
2016-07-03 18:47:53 +0200 received badge  Notable Question (source)
2016-07-03 18:47:53 +0200 received badge  Popular Question (source)
2016-06-02 20:57:49 +0200 asked a question Installing igraph

I'm trying to install the python_igraph package to Sage for use on my office computer, but the installation fails. I'm SSHing into a Mac machine.

I used./sage -i python_igraph. Everything looked fine until I get a lot of errors like

/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:35:suffix or operands invalid for `movq'.

(The rest of the log is at the end of the post. Sorry for the length -- I wasn't able to attach a text file.)

Since this failed, I tried to find the .spkg file online to download it and install directly, but it doesn't appear to be among the packages on the Sage website. Can someone advise me about how to get access to the igraph capabilities? Thanks.

Found local metadata for igraph-0.7.1
Using cached file /Users/username/SageMath/upstream/igraph-0.7.1.tar.gz
igraph-0.7.1
====================================================
Setting up build directory for igraph-0.7.1
Finished set up
****************************************************
Host system:
Darwin MacMal 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-   3248.50.21~8/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/Users/username/SageMath/local/libexec/gcc/x86_64-apple-darwin15.4.0/4.9.3/lto-wrapper
Target: x86_64-apple-darwin15.4.0
Configured with: ../src/configure --prefix=/Users/username/SageMath/local --with-local-  prefix=/Users/username/SageMath/local --with-gmp=/Users/username/SageMath/local --with- mpfr=/Users/username/SageMath/local --with-mpc=/Users/username/SageMath/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --with-build-config=bootstrap-debug --without-isl --without-cloog  
Thread model: posix
gcc version 4.9.3 (GCC) 
****************************************************
[...] 
GraphML format support -- yes
GMP library support    -- yes
GLPK library support   -- yes
Thread-local storage   -- yes
 Use internal ARPACK    -- yes
 Use internal LAPACK    -- yes
Use internal BLAS      -- yes
Use internal F2C       -- yes
Use internal GLPK      -- yes
Debug build            -- no
Profiling              -- no
make  all-recursive
Making all in src
gcc -g -O2 -I/opt/local/include/libxml2 -DNO_FPINIT f2c/arithchk.c -lm -o f2c/arith || \
gcc -DNO_LONG_LONG -g -O2 -I/opt/local/include/libxml2 -DNO_FPINIT f2c/arithchk.c \
    -Wall -lm -o f2c/arith
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:35:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:210:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:212:suffix or operands invalid for `movq'
    /var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:229:suffix or operands invalid for `movq'
    /var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccZdrX8V.s:231:suffix or operands invalid for `movq'
    f2c/arithchk.c: In function 'need_nancheck':
    f2c/arithchk.c:158:9: warning: variable 't' set but not used [-Wunused-but-set-variable]
      double t;
             ^
 /var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:35:suffix or operands invalid for `movq'  
 /var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:219:suffix or operands invalid for `movq'
 /var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:221:suffix or operands invalid for `movq'
/var/folders/6x/c0q_xypx7fgc3qtsv2n3__gx740ldt/T//ccSl8kbj.s:238:suffix or operands invalid for `movq'
/var/folders/6x ...
(more)
2016-06-01 13:42:43 +0200 received badge  Scholar (source)
2016-06-01 13:42:40 +0200 received badge  Supporter (source)
2016-06-01 01:07:50 +0200 asked a question Solving zeta function equation numerically

I'm trying to solve the equation $$ \zeta'(x)/\zeta(x) = - 3/4 $$ numerically. I'm expecting/hoping for an answer between 1 and 10.

I tried

$\texttt{ find_root(diff(zeta(x))/zeta(x) + 0.75, 2, 40)}$,

but this returns 0.0. I don't know what that ratio of zeta functions looks like, so it's possible there isn't a root, but I don't see why I'm getting an answer outside the specified interval.

Can anyone help find the true root? Thanks.

2015-08-14 04:48:12 +0200 received badge  Notable Question (source)
2013-05-02 07:45:43 +0200 received badge  Popular Question (source)
2013-03-26 23:12:19 +0200 received badge  Famous Question (source)
2012-12-18 07:30:22 +0200 received badge  Notable Question (source)
2012-10-29 12:09:43 +0200 received badge  Popular Question (source)
2012-07-02 16:50:15 +0200 commented answer Unable to Connect to localhost:8000

Thanks, but this doesn't seem to work for me. I use a SecureShellClient interface to log into my university's system, and then I have the Linux command lines. At that point, I'm already logged onto a remote server ( I think), and then SSH again into the specific machine I need. I don't think that the command lines are ever associated with my local machine.

2012-07-02 15:58:44 +0200 received badge  Student (source)
2012-07-02 15:53:38 +0200 received badge  Editor (source)
2012-07-02 15:20:16 +0200 asked a question Unable to Connect to localhost:8000

I am trying to use Sage by SSH into my university's computer system. I succeeded in getting into the computer which has Sage installed on it. I am running SecureShellClient on a windows machine. However, when I try to actually run the program, I run into problems. I type

$ sage -n

and get the following

----------------------------------------------------------------------
| Sage Version 4.5.3, Release Date: 2010-09-04                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Please wait while the Sage Notebook server starts...
...
The notebook files are stored in: sage_notebook.sagenb
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
2012-07-02 13:00:49-0500 [-] Log opened.

2012-07-02 13:00:49-0500 [-] twistd 9.0.0 (/usr/share/sage-4.5.3/local/bin/python 2.6.4) starting up.

2012-07-02 13:00:49-0500 [-] reactor class: 
twisted.internet.selectreactor.SelectReactor.

2012-07-02 13:00:49-0500 [-] twisted.web2.channel.http.HTTPFactory starting on 8000

2012-07-02 13:00:49-0500 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0xa6be8ec>

xprop:  unable to open display ''

usage:  xprop [-options ...] [[format [dformat]] atom] ...


where options include:

    -grammar                       print out full grammar for command line

    -display host:dpy              the X server to contact

    -id id                         resource id of window to examine

    -name name                     name of window to examine

    -font name                     name of font to examine

    -remove propname               remove a property

    -set propname value            set a property to a given value

    -root                          examine the root window

    -len n                         display at most n bytes of any property

    -notype                        do not display the type field

    -fs filename                   where to look for formats for properties

    -frame                         don't ignore window manager frames

    -f propname format [dformat]   formats to use for property of given name

    -spy                           examine window properties forever

When I try to open http://localhost:8000 in an in internet window, I get "Unable to Connect" from Firefox, and a similar message when I try to open it in Internet Explorer.

I'm very new to Sage and Linux, and have no idea what's going wrong here. I haven't been able to find any instructions on how to run Sage through ssh, so I'm wondering if I'm missing a step somewhere.

Thanks.

2012-06-21 22:02:42 +0200 asked a question How to get command line in VirtualBox?

I have just installed VirtualBox and Sage on my Windows machine. I want to install the sage-combinat queue. However, when I start Sage in the VirtualBox, it goes to a graphical notebook interface. How can I get to a command line to install the queue? Pardon if the question is unclear; I'm not very skilled with manipulating computers.