Re: [sage-support] Re: Sage Crash Report. appears to have loaded, failed to run.

2017-03-07 Thread Vegard Lima
On Wed, Mar 8, 2017 at 6:56 AM, John H Palmieri  wrote:
> Just about the last line in your crash report says
>
>ImportError: libgfortran.so.3: cannot open shared object file: No such
> file or directory
>
> So you need to install gfortran, however that is done with Fedora. An
> internet search suggests something like "yum install gcc-gfortran".

On my Fedora 25 system:

$ rpm -qf /usr/lib64/libgfortran.so.3
libgfortran-6.3.1-1.fc25.x86_64

so you install by running

$ dnf install libgfortran

(yum is nowadays just a script that runs dnf.)

-- 
Vegard

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Sage Crash Report. appears to have loaded, failed to run.

2017-03-07 Thread John H Palmieri
Just about the last line in your crash report says

   ImportError: libgfortran.so.3: cannot open shared object file: No such file 
or directory


So you need to install gfortran, however that is done with Fedora. An 
internet search suggests something like "yum install gcc-gfortran".

-- 
John



On Tuesday, March 7, 2017 at 6:05:05 PM UTC-8, wem...@uccs.edu wrote:
>
>
>
> Team SageMath,
>
>  
>
> Thankyou for providing the email address
>
>  
>
> Sage will not load and run properly on my Fedora Linux System (used the 
> latest Linux build Sage-7.5.1-Fedora).  
>
>  
>
> Printed out readme file you provided, and executed it to the best of my 
> ability.  Sage crashed, not sure why.  No directory was specified regarding 
> installation, so I created a course directory cs5920 and installed it there.
>
>  
>
> However, I cannot get it to run.  I verified I had all the correct 
> programs gcc, make, m4, perl, rnalib, and tar.  I have 
> perl-ExtUtils-MakeMaker package as well allthough I did not know 
> (--vversion didn't work) until I tried to install the package, then Lenix 
> told me.
>
>  
>
> I am using Fedora 25 on an I5 core machine.
>
>  
>
> Any help getting it to run would be most appreciated.
>
>  
>
> Following are installed:
>
> $*gcc --version*
>
> gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
>
> Copyright (C) 2016 Free Software Foundation, Inc.
>
> This is free software; see the source for copying conditions. There is NO
>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>  
>
> $*make --version*
>
> GNU Make 4.1
>
> Built for x86_64-redhat-linux-gnu
>
> Copyright (C) 1988-2014 Free Software Foundation, Inc.
>
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
>
> This is free software: you are free to change and redistribute it.
>
> There is NO WARRANTY, to the extent permitted by law.
>
>  
>
> *$m4 --version*
>
> m4 (GNU M4) 1.4.17
>
> Copyright (C) 2013 Free Software Foundation, Inc.
>
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>.
>
> This is free software: you are free to change and redistribute it.
>
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Rene' Seindal.
>
>  
>
> $*perl --version*
>
>  
>
> This is perl 5, version 24, subversion 1 (v5.24.1) built for 
> x86_64-linux-thread-multi
>
> (with 63 registered patches, see perl -V for more detail)
>
> Copyright 1987-2017, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License or 
> the
>
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
>
> this system using "man perl" or "perldoc perl". If you have access to the
>
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>
>  
>
> *$ranlib --version*
>
> GNU ranlib version 2.26.1-1.fc25
>
> Copyright (C) 2015 Free Software Foundation, Inc.
>
> This program is free software; you may redistribute it under the terms of
>
> the GNU General Public License version 3 or (at your option) any later 
> version.
>
> This program has absolutely no warranty.
>
>  
>
> *$tar --version*
>
> tar (GNU tar) 1.29
>
> Copyright (C) 2015 Free Software Foundation, Inc.
>
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>.
>
> This is free software: you are free to change and redistribute it.
>
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
>
>  
>
> *$ dnf install perl-ExtUtils-MakeMaker*
>
> Last metadata expiration check: 0:55:22 ago on Sat Mar  4 14:07:46 2017.
>
> Package perl-ExtUtils-MakeMaker-7.24-1.fc25.noarch is already installed, 
> skipping.
>
> Dependencies resolved.
>
> Nothing to do.
>
> Complete!
>
>  
>
>  
>
>  
>
> V/r, Bill
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Calculations in group algebras and Finite groups as quotients of finitely presented groups

2017-03-07 Thread Bharathwaj Palvannan
Hi, 

I am trying to work with group rings of the form Q[G], where Q is the field 
of rational numbers and G is a finite (not necessarily abelian) group. To 
create the group G, I have tried to express the group G as a quotient of a 
free group, using some of the techniques mentioned here 
.
 
 To be concrete, I have created a public worksheet here 
,
 
where I have tried to work with Q[G], where G is a non-abelian group of 
order 125.  The group G is expressed as a quotient of the free group on e, 
f, where the relations are {e^5, f^25, efe^{-1}f^{-6}}. (I believe this 
works since the output of the command G.order() is 125). 

I am ultimately interested in doing computations over group rings:  for eg, 
let's say I am trying to compute xy + zwu, where x,y,z,w,u are elements of 
the group ring.  It would really be helpful to obtain these computations in 
their simplest forms. However, when I try to do some computations, even 
some simple ones involving the group elements, the expressions don't 
simplify and I cannot figure out a way to simplify them automatically. For 
eg the element e^5 does not get simplified to 1. I would like to work with 
complicated expressions and it will really help to obtain some workaround. 

Any help would be great.

Thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Sage Crash Report. appears to have loaded, failed to run.

2017-03-07 Thread wemmel


Team SageMath,

 

Thankyou for providing the email address

 

Sage will not load and run properly on my Fedora Linux System (used the 
latest Linux build Sage-7.5.1-Fedora).  

 

Printed out readme file you provided, and executed it to the best of my 
ability.  Sage crashed, not sure why.  No directory was specified regarding 
installation, so I created a course directory cs5920 and installed it there.

 

However, I cannot get it to run.  I verified I had all the correct programs 
gcc, make, m4, perl, rnalib, and tar.  I have perl-ExtUtils-MakeMaker 
package as well allthough I did not know (--vversion didn't work) until I 
tried to install the package, then Lenix told me.

 

I am using Fedora 25 on an I5 core machine.

 

Any help getting it to run would be most appreciated.

 

Following are installed:

$*gcc --version*

gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)

Copyright (C) 2016 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

$*make --version*

GNU Make 4.1

Built for x86_64-redhat-linux-gnu

Copyright (C) 1988-2014 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later 

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

*$m4 --version*

m4 (GNU M4) 1.4.17

Copyright (C) 2013 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later .

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.

 

$*perl --version*

 

This is perl 5, version 24, subversion 1 (v5.24.1) built for 
x86_64-linux-thread-multi

(with 63 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or 
the

GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on

this system using "man perl" or "perldoc perl". If you have access to the

Internet, point your browser at http://www.perl.org/, the Perl Home Page.

 

*$ranlib --version*

GNU ranlib version 2.26.1-1.fc25

Copyright (C) 2015 Free Software Foundation, Inc.

This program is free software; you may redistribute it under the terms of

the GNU General Public License version 3 or (at your option) any later 
version.

This program has absolutely no warranty.

 

*$tar --version*

tar (GNU tar) 1.29

Copyright (C) 2015 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later .

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

 

*$ dnf install perl-ExtUtils-MakeMaker*

Last metadata expiration check: 0:55:22 ago on Sat Mar  4 14:07:46 2017.

Package perl-ExtUtils-MakeMaker-7.24-1.fc25.noarch is already installed, 
skipping.

Dependencies resolved.

Nothing to do.

Complete!

 

 

 

V/r, Bill

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
***

IPython post-mortem report

{'commit_hash': u'5c9c918',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': 
'/home/wemmel/0-cs5920/SageMath/local/lib/python2.7/site-packages/IPython',
 'ipython_version': '5.1.0',
 'os_name': 'posix',
 'platform': 'Linux-4.9.13-200.fc25.x86_64-x86_64-with-fedora-25-Twenty_Five',
 'sys_executable': '/home/wemmel/0-cs5920/SageMath/local/bin/python',
 'sys_platform': 'linux2',
 'sys_version': '2.7.13 (default, Jan 16 2017, 00:54:30) \n[GCC 6.3.1 20161221 
(Red Hat 6.3.1-1)]'}

***



***

Crash traceback:

---
---
ImportError  Python 2.7.13: /home/wemmel/0-cs5920/SageMath/local/bin/python
   Sat Mar  4 14:21:44 2017
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/home/wemmel/0-cs5920/SageMath/src/bin/sage-ipython in ()
  1 #!/usr/bin/env py

Re: [sage-support] OS X 10.12

2017-03-07 Thread Justin C. Walker

On Mar 7, 2017, at 11:14 , crownea...@gmail.com wrote:

> Does SAGE work on OS X 10.12?  I moved SageMath to my applications 
> directory and then
> 
> ┐
> │ SageMath version 7.5.1, Release Date: 2017-01-15   │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘

From the look of this:
> 
> ERROR:  The Sage installation tree has moved
> 
> from 
> /Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
> to /Applications/SageMath
> 
> This is not supported, and Sage will not work. To install Sage from a
> binary package:

I'll guess that someone built the Sage system, and then you (?) moved it, as 
indicated.

As the message says, if you run Sage, and then move that tree somewhere else, 
it does what you saw: complain and stop.

When run for the first time, Sage tells you that it is "hardcoding paths", 
which is why you can't move it after running.

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income

When LuteFisk is outlawed,
Only outlaws will have LuteFisk




-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: OS X 10.12

2017-03-07 Thread Dima Pasechnik
Yes it does work on 10.12.
Could you provide the link to the binary package you tried to install?
(It might be broken...)

On Tuesday, March 7, 2017 at 7:14:01 PM UTC, crown...@gmail.com wrote:
>
> Does SAGE work on OS X 10.12?  I moved SageMath to my applications 
> directory and then
>
> ┐
> │ SageMath version 7.5.1, Release Date: 2017-01-15   │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "help()" for help.│
> └┘
>
> ERROR:  The Sage installation tree has moved
>
> from 
> /Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
>   to /Applications/SageMath
>
> This is not supported, and Sage will not work. To install Sage from a
> binary package:
>
> 1. Open the .tar.bz2 archive (or .dmg on OSX)
>
> 2. Move the SageMath folder/app to where you want it to be. You can
>also rename the directory now.
>
> 3. Start sage for the first time. This will then automatically patch
>paths in binaries.
>
> After starting Sage for the first time you cannot change the
> installation any more. To install Sage elsewhere, start over from the
> binary package. Or recompi
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] OS X 10.12

2017-03-07 Thread crownea...@gmail.com
Does SAGE work on OS X 10.12?  I moved SageMath to my applications 
directory and then

┐
│ SageMath version 7.5.1, Release Date: 2017-01-15   │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘

ERROR:  The Sage installation tree has moved

from 
/Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
  to /Applications/SageMath

This is not supported, and Sage will not work. To install Sage from a
binary package:

1. Open the .tar.bz2 archive (or .dmg on OSX)

2. Move the SageMath folder/app to where you want it to be. You can
   also rename the directory now.

3. Start sage for the first time. This will then automatically patch
   paths in binaries.

After starting Sage for the first time you cannot change the
installation any more. To install Sage elsewhere, start over from the
binary package. Or recompi

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Patterson Algorithm

2017-03-07 Thread Johan S . H . Rosenkilde
Hi Panos,

> I finally implement the decoder using lattice basis reduction (using LLL)

I presume you mean F[x]-lattice basis reduction, i.e. row reduction of
F[x] matrices (the LLL is for integer matrices). 

> The only thing left is to reduce the execution time of the decoder by 
> finding the most efficient way to locate the errors via the error locator 
> poynomial (something better than chien search).

Look up "multi-point evaluation" for asymptotically fast algorithms.

> If you are interesting in Goppa codes there is a module named codinglib at 
> bitbucket witch is very helpful and a really great base.

I know - I'm the author ;-) But thanks.

Best,
Johan


Panos Phronimos writes:

> Thanks Johan,
>
> I finally implement the decoder using lattice basis reduction (using LLL)
> The only thing left is to reduce the execution time of the decoder by 
> finding the most efficient way to locate the errors via the error locator 
> poynomial (something better than chien search) 
> If you are interesting in Goppa codes there is a module named codinglib at 
> bitbucket witch is very helpful and a really great base.


-- 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Patterson Algorithm

2017-03-07 Thread Panos Phronimos
Thanks Johan,

I finally implement the decoder using lattice basis reduction (using LLL)
The only thing left is to reduce the execution time of the decoder by 
finding the most efficient way to locate the errors via the error locator 
poynomial (something better than chien search) 
If you are interesting in Goppa codes there is a module named codinglib at 
bitbucket witch is very helpful and a really great base.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Running sage scripts noninteractively (possible bug)

2017-03-07 Thread Jeroen Demeyer

On 2017-03-07 10:19, Jeroen Demeyer wrote:

On 2017-03-06 23:58, Watson Ladd wrote:

Or should I just change to load instead of attach?


The problem is limited to load(), so that would work.


Sorry: I meant to say: the problem is limited to attach(), so load() 
should work.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Running sage scripts noninteractively (possible bug)

2017-03-07 Thread Jeroen Demeyer

On 2017-03-06 23:58, Watson Ladd wrote:

Or should I just change to load instead of attach?


The problem is limited to load(), so that would work.

Thinking about it, actually attach() only makes sense in interactive 
sessions. So I see no reason to use it in scripts.


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.