[sage-support] fortran error on fedora

2007-02-09 Thread carlM

Latest update fails to build on fedora6, fortran compiler internal
error. tail of make output:

Making install in fortran
make[2]: Entering directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/
build/quaddouble-2.2/src/fortran'
f95  -O2 -ffree-form  -c -o ddmod.o ddmod.f
ddmod.f:0: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://bugzilla.redhat.com/bugzilla for instructions.
make[2]: *** [ddmod.o] Error 1
make[2]: Leaving directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/
build/quaddouble-2.2/src/fortran'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/
build/quaddouble-2.2/src'

real1m31.969s
user1m14.725s
sys 0m11.162s
sage: An error occured while installing quaddouble-2.2
Please email William Stein [EMAIL PROTECTED] explaining the
problem and send him the relevant part of
of /mnt/extra/hcmeyer/sage/sage-1.5/install.log.  Don't send the whole
thing.
If you want to try to fix the problem, yourself *don't* just cd to
/mnt/extra/hcmeyer/sage/sage-1.5/spkg/build/quaddouble-2.2 and type
'make'.
Instead (using bash) type source local/bin/sage-env from the
directory
/mnt/extra/hcmeyer/sage/sage-1.5
in order to set all environment variables correctly, then cd to
/mnt/extra/hcmeyer/sage/sage-1.5/spkg/build/quaddouble-2.2
make: *** [installed/quaddouble-2.2] Error 1

real1m33.051s
user1m15.436s
sys 0m11.388s
[EMAIL PROTECTED] ~]$

redHat bugzilla lists bug#222371 against f95, similar failure.

I will research later, I have a class to teach in Harrodsburg.


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] notebook: sidebar hidden by default

2007-02-09 Thread Timothy Clemans

The notebook now hides the nav sidebar by default. It would be nice to
have the directory show up on the main page if there are multiple
worksheets.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: fortran error on fedora

2007-02-09 Thread William Stein

Several people are having trouble building quaddouble, so I'm going to
release a sage-2.1.1 that has it removed (it'll be optional).  It's really
not crucially important to include it in SAGE.

  -- William

On Fri, 09 Feb 2007 06:21:37 -0700, carlM [EMAIL PROTECTED] wrote:


 Latest update fails to build on fedora6, fortran compiler internal
 error. tail of make output:

 Making install in fortran
 make[2]: Entering directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/
 build/quaddouble-2.2/src/fortran'
 f95  -O2 -ffree-form  -c -o ddmod.o ddmod.f
 ddmod.f:0: internal compiler error: Illegal instruction
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://bugzilla.redhat.com/bugzilla for instructions.
 make[2]: *** [ddmod.o] Error 1
 make[2]: Leaving directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/
 build/quaddouble-2.2/src/fortran'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/
 build/quaddouble-2.2/src'

 real1m31.969s
 user1m14.725s
 sys 0m11.162s
 sage: An error occured while installing quaddouble-2.2
 Please email William Stein [EMAIL PROTECTED] explaining the
 problem and send him the relevant part of
 of /mnt/extra/hcmeyer/sage/sage-1.5/install.log.  Don't send the whole
 thing.
 If you want to try to fix the problem, yourself *don't* just cd to
 /mnt/extra/hcmeyer/sage/sage-1.5/spkg/build/quaddouble-2.2 and type
 'make'.
 Instead (using bash) type source local/bin/sage-env from the
 directory
 /mnt/extra/hcmeyer/sage/sage-1.5
 in order to set all environment variables correctly, then cd to
 /mnt/extra/hcmeyer/sage/sage-1.5/spkg/build/quaddouble-2.2
 make: *** [installed/quaddouble-2.2] Error 1

 real1m33.051s
 user1m15.436s
 sys 0m11.388s
 [EMAIL PROTECTED] ~]$

 redHat bugzilla lists bug#222371 against f95, similar failure.

 I will research later, I have a class to teach in Harrodsburg.


 




--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Search and info include non-SAGE functions

2007-02-09 Thread Timothy Clemans

I had a question about nth roots. I did not know about nth_root. I
tried searching for root, nth, and n using tab but did not find
nth_root. Also nth_root? gives me nothing. It is kind of confusing for
me.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: Search and info include non-SAGE functions

2007-02-09 Thread didier deshommes

On 2/9/07, Timothy Clemans [EMAIL PROTECTED] wrote:

 I had a question about nth roots. I did not know about nth_root. I
 tried searching for root, nth, and n using tab but did not find
 nth_root. Also nth_root? gives me nothing. It is kind of confusing for
 me.

It's a function of associated with an object, so you have to have your
obejct first. For example, if you want to find the cubic root root of
512, you do something like this:
{{{
sage: e=512
sage: e.nth_root(3)
 8
}}}

Hope that made sense,
didier


 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: nth root

2007-02-09 Thread Alec Mihailovs

- Original Message - 
From: Dirk Laurie [EMAIL PROTECTED]
 
 David Joyner skryf:
 
 Timothy Clemans wrote:
  Does SAGE support finding the nth root of something?
  The cube root of 27 is 3, 8 is 2, 64 is 4

 
 One way is
 ZZ(gap.eval(RootInt( 64, 3 )))
 
 Or:
  (x^n-a).roots()[0][0]

Or 
{{{
sage: exp(log(64)/3)
4.0
}}}

Alec


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: sage-2.1 execute problem on x86_64-Linux

2007-02-09 Thread William Stein

On Fri, 09 Feb 2007 13:04:11 -0700, Kate Minola [EMAIL PROTECTED] wrote:


 On my x86_64-Linux machine, I am able to build sage-2.1.
 However when I do ./sage, I get

 [stuff deleted]
 34
 --- 35 import matrix_modn_dense
 36 import matrix_modn_sparse
 37

 type 'exceptions.ImportError': /home/kate/sage/sage-2.1-x86_64-Linux/loca
 l/lib/python2.5/site-packages/sage/matrix/matrix_modn_dense.so:
 undefined symbol: da
 sum_

 I did not have this problem with sage-2.0.

This is because we are now using the amazing linbox linear algebra,
and it makes some sort of assumption about the BLAS you're using,
which isn't satisfied.   Are you using RHEL or Fedora Core?  Somebody
else using Fedora Core had the same problem as you.  My current plan
is to install FC on a machine and see if I can replicate the problem,
so I can fix it (possibly by changing linbox to not use that blas function).

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: background processes in SAGE

2007-02-09 Thread Iftikhar Burhanuddin

On Fri, 9 Feb 2007, Timothy Clemans wrote:
 For me it is kind of annoying to have to run different servers in
 multiple terminals. Many UNIX shells support running a process in the
 background.

 $ command 
 $ %

 Would something like this be a practical to implement in SAGE?

To run long/background computations I use nohup

$nohup sage file.py output.txt 

I also write to a file rather than print as
what-you-print-is-not-what-you-get (in output.txt)

Regards,
Ifti
===
http://sage.math.washington.edu/home/macaulay2/sage/doc/const/node18.html
17. Interface issues


17.1 Background jobs
Yes, a SAGE job can be run in the background on a UNIX system. The
canonical thing to do is type

nohup sage  command_file   output_file 

The advantage of nohup is that SAGE will continue running after you log
out.

Currently SAGE will appears as ``ipython or ``python in the output of
the (unix) ``top command, but in future versions of SAGE it will appears
as ``sage.


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: background processes in SAGE

2007-02-09 Thread Timothy Clemans

This is about background processes in SAGE.

On 2/9/07, Iftikhar Burhanuddin [EMAIL PROTECTED] wrote:

 On Fri, 9 Feb 2007, Timothy Clemans wrote:
  For me it is kind of annoying to have to run different servers in
  multiple terminals. Many UNIX shells support running a process in the
  background.
 
  $ command 
  $ %
 
  Would something like this be a practical to implement in SAGE?

 To run long/background computations I use nohup

 $nohup sage file.py output.txt 

 I also write to a file rather than print as
 what-you-print-is-not-what-you-get (in output.txt)

 Regards,
 Ifti
 ===
 http://sage.math.washington.edu/home/macaulay2/sage/doc/const/node18.html
 17. Interface issues


 17.1 Background jobs
 Yes, a SAGE job can be run in the background on a UNIX system. The
 canonical thing to do is type

 nohup sage  command_file   output_file 

 The advantage of nohup is that SAGE will continue running after you log
 out.

 Currently SAGE will appears as ``ipython or ``python in the output of
 the (unix) ``top command, but in future versions of SAGE it will appears
 as ``sage.


 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: loading code from urls

2007-02-09 Thread Timothy Clemans

When will this feature be released?

On 1/27/07, William Stein [EMAIL PROTECTED] wrote:

 On Sat, 27 Jan 2007 21:02:14 -0800, Timothy Clemans [EMAIL PROTECTED] wrote:

 
  Could a system be added for loading code from a url

 Yes.

  and uploading
  worksheets from urls?

 Yes.

 In fact -- Great idea!  It wouldn't be hard either, since I just
 added (for sage-1.9.1) a file remote_file.py with this
 function, which would make adding what you suggest
 quite easy.   This will have to wait until  sage-2.0 though.
 So this is now trac #225

 def get_remote_file(filename, verbose=True):
  
  INPUT:
  filename -- the URL of a file on the web, e.g.,
   http://modular.math.washington.edu/myfile.txt;
  verbose -- whether to display download status
  OUTPUT:
  creates a file in the temp directory and returns the
  absolute path to that file.
  

 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---