Re: [sage-support] Sage Crash Report

2021-03-24 Thread Mike Lee
Thank you Dima and Isuru, creating a new conda environment worked! (I'm
guessing you updated the givaro dependency for the conda install)

And it looks like manually specifying an older version of givaro will also
work, based on Mariusz's report.

On Wed, Mar 24, 2021 at 3:21 PM Mariusz Sokolowski 
wrote:

> hey,
>
> I had similar/same(?) problem as Mike and installing older version of
> givaro (conda install "givaro=4.1.1=h192cbe9_1") fixed it.
>
> -M
>
> On Wednesday, March 24, 2021 at 12:55:05 PM UTC-4 isu...@gmail.com wrote:
>
>> Mike,
>>
>> Can you try creating a new conda environment? This is an issue with the
>> latest givaro build we had and we marked it as broken.
>> Details at https://github.com/conda-forge/givaro-feedstock/issues/13
>>
>> (You could also try doing `conda install "givaro=4.1.1=h192cbe9_1"` to
>> get the older link.)
>>
>> Isuru
>>
>> On Wed, Mar 24, 2021 at 9:07 AM Mike Lee  wrote:
>>
>>> Not sure if this is relevant, but I get the following messages when I
>>> try running 'conda update givaro' in my sage conda environment (attached).
>>> I apologize for multiple messages!
>>>
>>> On Wed, Mar 24, 2021 at 8:42 AM Mike Lee  wrote:
>>>
 I believe the following line in the output of the nm command you
 suggested is the corresponding symbol?

 00017da0 T Givaro::Integer::operator
 std::__cxx11::basic_string,
 std::allocator >() const

 I've also attached the full output of the nm command as a txt file
 below in case it's helpful!

 On Wed, Mar 24, 2021 at 5:41 AM Dima Pasechnik 
 wrote:

> On Tue, Mar 23, 2021 at 10:27 PM Mike Lee  wrote:
> >
> > Hi,
> >
> > I'm facing a similar issue when I tried to install Sage through
> conda (I followed the 'Setting Up' directions in
> https://wiki.sagemath.org/Conda). I get the following error in my
> Sage_crash_report.txt (attached)
> >
> > 'ImportError:
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so: undefined symbol:
> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'
>
> this is, demangled:
>
> $ c++filt
> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
> Givaro::Integer::operator std::__cxx11::basic_string std::char_traits, std::allocator >[abi:cxx11]() const
>
> Can you find this in the output of
>
> $ nm -D --demangle
> /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9
>
> Perhaps, wrong C++ standard version chosen somewhere?
>
> Maybe Isuru knows what's wrong there.
>
> >
> > What could I do to fix this issue? Thank you in advance for the help!
> >
> > By the way, when I run 'ldd
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so ' I get the
> following output:
> >
> > linux-vdso.so.1 (0x7ffde17a7000)
> > liblinbox.so.0 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0
> (0x7fa325ba)
> > libfflas.so.1 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1
> (0x7fa325ad4000)
> > libblas.so.3 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3
> (0x7fa323ae3000)
> > libgivaro.so.9 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9
> (0x7fa323a88000)
> > libflint.so.14 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14
> (0x7fa32320d000)
> > libntl.so.43 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43
> (0x7fa322fca000)
> > libgmp.so.10 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10
> (0x7fa322f24000)
> > libstdc++.so.6 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6
> (0x7fa322daf000)
> > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fa3229fb000)
> > libgcc_s.so.1 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1
> (0x7fa3229e7000)
> > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3225f6000)
> > libffpack.so.1 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1
> (0x7fa3224e3000)
> > libgmpxx.so.4 =>
> 

Re: [sage-support] Sage Crash Report

2021-03-24 Thread Mariusz Sokolowski
hey, 

I had similar/same(?) problem as Mike and installing older version of 
givaro (conda install "givaro=4.1.1=h192cbe9_1") fixed it. 

-M

On Wednesday, March 24, 2021 at 12:55:05 PM UTC-4 isu...@gmail.com wrote:

> Mike,
>
> Can you try creating a new conda environment? This is an issue with the 
> latest givaro build we had and we marked it as broken.
> Details at https://github.com/conda-forge/givaro-feedstock/issues/13
>
> (You could also try doing `conda install "givaro=4.1.1=h192cbe9_1"` to get 
> the older link.)
>
> Isuru
>
> On Wed, Mar 24, 2021 at 9:07 AM Mike Lee  wrote:
>
>> Not sure if this is relevant, but I get the following messages when I try 
>> running 'conda update givaro' in my sage conda environment (attached). I 
>> apologize for multiple messages!
>>
>> On Wed, Mar 24, 2021 at 8:42 AM Mike Lee  wrote:
>>
>>> I believe the following line in the output of the nm command you 
>>> suggested is the corresponding symbol?
>>>
>>> 00017da0 T Givaro::Integer::operator 
>>> std::__cxx11::basic_string, 
>>> std::allocator >() const
>>>
>>> I've also attached the full output of the nm command as a txt file below 
>>> in case it's helpful!
>>>
>>> On Wed, Mar 24, 2021 at 5:41 AM Dima Pasechnik  wrote:
>>>
 On Tue, Mar 23, 2021 at 10:27 PM Mike Lee  wrote:
 >
 > Hi,
 >
 > I'm facing a similar issue when I tried to install Sage through conda 
 (I followed the 'Setting Up' directions in 
 https://wiki.sagemath.org/Conda). I get the following error in my 
 Sage_crash_report.txt (attached)
 >
 > 'ImportError: 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
 matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so: undefined symbol: 
 _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'

 this is, demangled:

 $ c++filt 
 _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
 Givaro::Integer::operator std::__cxx11::basic_string>>> std::char_traits, std::allocator >[abi:cxx11]() const

 Can you find this in the output of

 $ nm -D --demangle 
 /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9

 Perhaps, wrong C++ standard version chosen somewhere?

 Maybe Isuru knows what's wrong there.

 >
 > What could I do to fix this issue? Thank you in advance for the help!
 >
 > By the way, when I run 'ldd 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
 matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so ' I get the 
 following output:
 >
 > linux-vdso.so.1 (0x7ffde17a7000)
 > liblinbox.so.0 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0
  
 (0x7fa325ba)
 > libfflas.so.1 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1
  
 (0x7fa325ad4000)
 > libblas.so.3 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3
  
 (0x7fa323ae3000)
 > libgivaro.so.9 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9
  
 (0x7fa323a88000)
 > libflint.so.14 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14
  
 (0x7fa32320d000)
 > libntl.so.43 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43
  
 (0x7fa322fca000)
 > libgmp.so.10 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10
  
 (0x7fa322f24000)
 > libstdc++.so.6 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6
  
 (0x7fa322daf000)
 > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fa3229fb000)
 > libgcc_s.so.1 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1
  
 (0x7fa3229e7000)
 > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3225f6000)
 > libffpack.so.1 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1
  
 (0x7fa3224e3000)
 > libgmpxx.so.4 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgmpxx.so.4
  
 (0x7fa3224da000)
 > libmpfr.so.6 => 
 /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libmpfr.so.6
  
 (0x7fa32245b000)
 > libiml.so.0 => 
 

Re: [sage-support] Re: direct product and direct sum of groups

2021-03-24 Thread Dima Pasechnik
On Wed, Mar 24, 2021 at 3:59 PM slelievre  wrote:
>
> 2021-03-24 14:53:06 UTC, Matt:
>>
>> How can I calculate the direct product of two groups and/or the direct sum?
>> For example given:
>>
>> G.=FreeGroup()
>> H=G.quotient([x*y])
>>
>> how do I calculate H+H and HxH?
>
>
> Having defined `H`, you can type
>
> H.
>
> then hit the TAB key to see what methods are available.
>
> This reveals the methods `cartesian_product`
> and `direct_product`, are they what you need?
>
> ```
> sage: G. = FreeGroup()
> sage: H = G.quotient([x*y])
>
> sage: H.cartesian_product(H)
> The Cartesian product of
> (Finitely presented group < x, y | x*y >,
>  Finitely presented group < x, y | x*y >)
>
> sage: H.direct_product(H)
> Finitely presented group < a, b, c, d |
> a*b, c*d, a^-1*c^-1*a*c, a^-1*d^-1*a*d,
> b^-1*c^-1*b*c, b^-1*d^-1*b*d >
> ```

careful here, FreeGroup is not Abelian, you'll want to add commuting relations
for all its generators.

You might prefer AbelianGroup() to begin with.


>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/ec06a1f8-624a-4352-b968-ac451fa3847bn%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq1Ey5ujUz5ygbXNHuJYpvN_8JGEyxKunJdVTAb2fhr38g%40mail.gmail.com.


Re: [sage-support] Sage Crash Report

2021-03-24 Thread Isuru Fernando
Mike,

Can you try creating a new conda environment? This is an issue with the
latest givaro build we had and we marked it as broken.
Details at https://github.com/conda-forge/givaro-feedstock/issues/13

(You could also try doing `conda install "givaro=4.1.1=h192cbe9_1"` to get
the older link.)

Isuru

On Wed, Mar 24, 2021 at 9:07 AM Mike Lee  wrote:

> Not sure if this is relevant, but I get the following messages when I try
> running 'conda update givaro' in my sage conda environment (attached). I
> apologize for multiple messages!
>
> On Wed, Mar 24, 2021 at 8:42 AM Mike Lee  wrote:
>
>> I believe the following line in the output of the nm command you
>> suggested is the corresponding symbol?
>>
>> 00017da0 T Givaro::Integer::operator
>> std::__cxx11::basic_string,
>> std::allocator >() const
>>
>> I've also attached the full output of the nm command as a txt file below
>> in case it's helpful!
>>
>> On Wed, Mar 24, 2021 at 5:41 AM Dima Pasechnik  wrote:
>>
>>> On Tue, Mar 23, 2021 at 10:27 PM Mike Lee  wrote:
>>> >
>>> > Hi,
>>> >
>>> > I'm facing a similar issue when I tried to install Sage through conda
>>> (I followed the 'Setting Up' directions in
>>> https://wiki.sagemath.org/Conda). I get the following error in my
>>> Sage_crash_report.txt (attached)
>>> >
>>> > 'ImportError:
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
>>> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so: undefined symbol:
>>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'
>>>
>>> this is, demangled:
>>>
>>> $ c++filt
>>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
>>> Givaro::Integer::operator std::__cxx11::basic_string>> std::char_traits, std::allocator >[abi:cxx11]() const
>>>
>>> Can you find this in the output of
>>>
>>> $ nm -D --demangle
>>> /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9
>>>
>>> Perhaps, wrong C++ standard version chosen somewhere?
>>>
>>> Maybe Isuru knows what's wrong there.
>>>
>>> >
>>> > What could I do to fix this issue? Thank you in advance for the help!
>>> >
>>> > By the way, when I run 'ldd
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
>>> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so ' I get the following
>>> output:
>>> >
>>> > linux-vdso.so.1 (0x7ffde17a7000)
>>> > liblinbox.so.0 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0
>>> (0x7fa325ba)
>>> > libfflas.so.1 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1
>>> (0x7fa325ad4000)
>>> > libblas.so.3 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3
>>> (0x7fa323ae3000)
>>> > libgivaro.so.9 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9
>>> (0x7fa323a88000)
>>> > libflint.so.14 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14
>>> (0x7fa32320d000)
>>> > libntl.so.43 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43
>>> (0x7fa322fca000)
>>> > libgmp.so.10 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10
>>> (0x7fa322f24000)
>>> > libstdc++.so.6 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6
>>> (0x7fa322daf000)
>>> > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fa3229fb000)
>>> > libgcc_s.so.1 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1
>>> (0x7fa3229e7000)
>>> > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3225f6000)
>>> > libffpack.so.1 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1
>>> (0x7fa3224e3000)
>>> > libgmpxx.so.4 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgmpxx.so.4
>>> (0x7fa3224da000)
>>> > libmpfr.so.6 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libmpfr.so.6
>>> (0x7fa32245b000)
>>> > libiml.so.0 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libiml.so.0
>>> (0x7fa322436000)
>>> > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>>> (0x7fa322217000)
>>> > libgfortran.so.5 =>
>>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgfortran.so.5
>>> (0x7fa322075000)
>>> > /lib64/ld-linux-x86-64.so.2 (0x7fa325aa8000)
>>> > libgf2x.so.3 =>
>>> 

[sage-support] Re: direct product and direct sum of groups

2021-03-24 Thread slelievre
2021-03-24 14:53:06 UTC, Matt:

> How can I calculate the direct product of two groups and/or the direct sum?
> For example given:
>
> G.=FreeGroup()
> H=G.quotient([x*y])
>
> how do I calculate H+H and HxH?
>

Having defined `H`, you can type

H.

then hit the TAB key to see what methods are available.

This reveals the methods `cartesian_product`
and `direct_product`, are they what you need?

```
sage: G. = FreeGroup()
sage: H = G.quotient([x*y])

sage: H.cartesian_product(H)
The Cartesian product of
(Finitely presented group < x, y | x*y >,
 Finitely presented group < x, y | x*y >)

sage: H.direct_product(H)
Finitely presented group < a, b, c, d |
a*b, c*d, a^-1*c^-1*a*c, a^-1*d^-1*a*d,
b^-1*c^-1*b*c, b^-1*d^-1*b*d >
```

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ec06a1f8-624a-4352-b968-ac451fa3847bn%40googlegroups.com.


[sage-support] direct product and direct sum of groups

2021-03-24 Thread Mattia Villani
How can I calculate the direct product of two groups and/or the direct sum?
For example given:

G.=FreeGroup()
H=G.quotient([x*y])

how do I calculate H+H and HxH?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/64dcc367-d44c-4681-b0db-1fddeab2ad1dn%40googlegroups.com.


Re: [sage-support] Sage Crash Report

2021-03-24 Thread Mike Lee
Not sure if this is relevant, but I get the following messages when I try
running 'conda update givaro' in my sage conda environment (attached). I
apologize for multiple messages!

On Wed, Mar 24, 2021 at 8:42 AM Mike Lee  wrote:

> I believe the following line in the output of the nm command you
> suggested is the corresponding symbol?
>
> 00017da0 T Givaro::Integer::operator
> std::__cxx11::basic_string,
> std::allocator >() const
>
> I've also attached the full output of the nm command as a txt file below
> in case it's helpful!
>
> On Wed, Mar 24, 2021 at 5:41 AM Dima Pasechnik  wrote:
>
>> On Tue, Mar 23, 2021 at 10:27 PM Mike Lee  wrote:
>> >
>> > Hi,
>> >
>> > I'm facing a similar issue when I tried to install Sage through conda
>> (I followed the 'Setting Up' directions in
>> https://wiki.sagemath.org/Conda). I get the following error in my
>> Sage_crash_report.txt (attached)
>> >
>> > 'ImportError:
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
>> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so: undefined symbol:
>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'
>>
>> this is, demangled:
>>
>> $ c++filt
>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
>> Givaro::Integer::operator std::__cxx11::basic_string> std::char_traits, std::allocator >[abi:cxx11]() const
>>
>> Can you find this in the output of
>>
>> $ nm -D --demangle
>> /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9
>>
>> Perhaps, wrong C++ standard version chosen somewhere?
>>
>> Maybe Isuru knows what's wrong there.
>>
>> >
>> > What could I do to fix this issue? Thank you in advance for the help!
>> >
>> > By the way, when I run 'ldd
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
>> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so ' I get the following
>> output:
>> >
>> > linux-vdso.so.1 (0x7ffde17a7000)
>> > liblinbox.so.0 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0
>> (0x7fa325ba)
>> > libfflas.so.1 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1
>> (0x7fa325ad4000)
>> > libblas.so.3 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3
>> (0x7fa323ae3000)
>> > libgivaro.so.9 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9
>> (0x7fa323a88000)
>> > libflint.so.14 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14
>> (0x7fa32320d000)
>> > libntl.so.43 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43
>> (0x7fa322fca000)
>> > libgmp.so.10 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10
>> (0x7fa322f24000)
>> > libstdc++.so.6 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6
>> (0x7fa322daf000)
>> > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fa3229fb000)
>> > libgcc_s.so.1 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1
>> (0x7fa3229e7000)
>> > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3225f6000)
>> > libffpack.so.1 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1
>> (0x7fa3224e3000)
>> > libgmpxx.so.4 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgmpxx.so.4
>> (0x7fa3224da000)
>> > libmpfr.so.6 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libmpfr.so.6
>> (0x7fa32245b000)
>> > libiml.so.0 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libiml.so.0
>> (0x7fa322436000)
>> > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>> (0x7fa322217000)
>> > libgfortran.so.5 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgfortran.so.5
>> (0x7fa322075000)
>> > /lib64/ld-linux-x86-64.so.2 (0x7fa325aa8000)
>> > libgf2x.so.3 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgf2x.so.3
>> (0x7fa322062000)
>> > libquadmath.so.0 =>
>> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libquadmath.so.0
>> (0x7fa322028000)
>> >
>> > Mike
>> >
>> > On Sunday, January 24, 2021 at 1:16:24 PM UTC-5 dim...@gmail.com wrote:
>> >>
>> >> at the bottom of the log you see
>> >>
>> >> ImportError:
>> 

Re: [sage-support] Sage Crash Report

2021-03-24 Thread Mike Lee
I believe the following line in the output of the nm command you
suggested is the corresponding symbol?

00017da0 T Givaro::Integer::operator
std::__cxx11::basic_string,
std::allocator >() const

I've also attached the full output of the nm command as a txt file below in
case it's helpful!

On Wed, Mar 24, 2021 at 5:41 AM Dima Pasechnik  wrote:

> On Tue, Mar 23, 2021 at 10:27 PM Mike Lee  wrote:
> >
> > Hi,
> >
> > I'm facing a similar issue when I tried to install Sage through conda (I
> followed the 'Setting Up' directions in https://wiki.sagemath.org/Conda).
> I get the following error in my Sage_crash_report.txt (attached)
> >
> > 'ImportError:
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so: undefined symbol:
> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'
>
> this is, demangled:
>
> $ c++filt
> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
> Givaro::Integer::operator std::__cxx11::basic_string std::char_traits, std::allocator >[abi:cxx11]() const
>
> Can you find this in the output of
>
> $ nm -D --demangle
> /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9
>
> Perhaps, wrong C++ standard version chosen somewhere?
>
> Maybe Isuru knows what's wrong there.
>
> >
> > What could I do to fix this issue? Thank you in advance for the help!
> >
> > By the way, when I run 'ldd
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/
> matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so ' I get the following
> output:
> >
> > linux-vdso.so.1 (0x7ffde17a7000)
> > liblinbox.so.0 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0
> (0x7fa325ba)
> > libfflas.so.1 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1
> (0x7fa325ad4000)
> > libblas.so.3 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3
> (0x7fa323ae3000)
> > libgivaro.so.9 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9
> (0x7fa323a88000)
> > libflint.so.14 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14
> (0x7fa32320d000)
> > libntl.so.43 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43
> (0x7fa322fca000)
> > libgmp.so.10 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10
> (0x7fa322f24000)
> > libstdc++.so.6 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6
> (0x7fa322daf000)
> > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fa3229fb000)
> > libgcc_s.so.1 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1
> (0x7fa3229e7000)
> > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3225f6000)
> > libffpack.so.1 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1
> (0x7fa3224e3000)
> > libgmpxx.so.4 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgmpxx.so.4
> (0x7fa3224da000)
> > libmpfr.so.6 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libmpfr.so.6
> (0x7fa32245b000)
> > libiml.so.0 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libiml.so.0
> (0x7fa322436000)
> > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x7fa322217000)
> > libgfortran.so.5 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgfortran.so.5
> (0x7fa322075000)
> > /lib64/ld-linux-x86-64.so.2 (0x7fa325aa8000)
> > libgf2x.so.3 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgf2x.so.3
> (0x7fa322062000)
> > libquadmath.so.0 =>
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libquadmath.so.0
> (0x7fa322028000)
> >
> > Mike
> >
> > On Sunday, January 24, 2021 at 1:16:24 PM UTC-5 dim...@gmail.com wrote:
> >>
> >> at the bottom of the log you see
> >>
> >> ImportError:
> /home/mathieu/opt/SageMath/local/lib/python3.8/site-packages/sage/matrix/
> matrix_modn_sparse.cpython-38-x86_64-linux-gnu.so:
> >> undefined symbol:
> >>
> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
> >>
> >>
> >> which is an indication that something went wrong with linking givaro.
> >> E.g. you might be linking to a system-wide
> >> installed givaro, but it's expected to 

Re: [sage-support] http://aleph.sagemath.org/

2021-03-24 Thread William Stein
Minor point: it was very aggressive cryptocurrency miners, not spammers...

On Wed, Mar 24, 2021 at 3:45 AM Dima Pasechnik  wrote:

> On Wed, Mar 24, 2021 at 10:28 AM 'Martin R. Albrecht' via sage-support
>  wrote:
> >
> > Hi there,
> >
> > The trusted Sage Cell server stopped loading external resources, e.g. for
> >
> > load("https://bitbucket.org/malb/lwe-estimator/raw/HEAD/estimator.py;)
> > n, alpha, q = 256, 0.0009765625, 65537
> > set_verbose(1)
> > _ = estimate_lwe(n, alpha, q)
> >
> >
> http://aleph.sagemath.org/?z=eJxNjcEKwjAQBe-F_kPoqYXYjZWkKHgQFPyLkOhii6mJyWrx782hiO84MPOcN9e6GohC2gHYkezrckdqfbzBZJwFN-MKE42TIR8hmhnOp8MRfqgNn6opiwdnxoXBcPZke9ZJxZlohRDbXknVSbGMMyXlpi-LhKTfGK1PWK-zr7O1NFHnz_ov2HwBPwsyhw===sage
> >
> > I’m getting
> >
> > gaierror: [Errno -3] Temporary failure in name resolution
> >
> > During handling of the above exception, another exception occurred:
> >
> > Is that a bug or by design (i.e. tightened security)?
> >
> by design. They were hit by spammers and had to disable this.
> See https://groups.google.com/g/sage-cell/c/ETeONQMYbQM
>
>
> > Cheers,
> > Martin
> > --
> >
> > _pgp: https://keybase.io/martinralbrecht
> > _www: https://malb.io
> >
> > --
> > 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/87k0pwc0cs.fsf%40googlemail.com
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq2DPfVefnOf-3N1SsroXieiHJOwuXG_N3q%2BiqeisuhdAg%40mail.gmail.com
> .
>
-- 
-- William Stein

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CACLE5GA4cTzXa%2Bt1xXMFWxpogO%3D7QG2%3Db47e%3DknxgwmkLua76g%40mail.gmail.com.


[sage-support] Re: Is load() suddenly not working for loading files from repositories?

2021-03-24 Thread Carlos Antunes
Thanks a lot, I hadn't seen that discussion. It is a shame, but it seems 
that github repositories are planned to be allowed, which would work fine 
for my purposes.

Best regards,
Carlos
El martes, 23 de marzo de 2021 a las 22:33:46 UTC-3, slelievre escribió:

> Sadly network access from SageCell had to be removed following abuse.
>
> See the discussion on the sage-cell mailing list:
>
>   https://groups.google.com/g/sage-cell/c/ETeONQMYbQM
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/52d7e747-fa4b-426b-8a79-a2510ac98b33n%40googlegroups.com.


[sage-support] Help requests for SageMath on Windows

2021-03-24 Thread slelievre
Two recent help requests for SageMath on Windows:

- It seems that the kernel has crashed
  https://ask.sagemath.org/question/56353

- How to load .sobj files into Jupyter Notebook
  https://ask.sagemath.org/question/56331

See also

https://ask.sagemath.org/questions/scope:all/sort:activity-desc/tags:windows/
https://ask.sagemath.org/questions/scope:all/sort:activity-desc/tags:windows7/
https://ask.sagemath.org/questions/scope:all/sort:activity-desc/tags:windows10/
https://ask.sagemath.org/questions/scope:all/sort:activity-desc/tags:sage-windows/

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/6fb6b2dd-f693-453d-8ad6-ce49d5b458bfn%40googlegroups.com.


Re: [sage-support] http://aleph.sagemath.org/

2021-03-24 Thread Dima Pasechnik
On Wed, Mar 24, 2021 at 10:28 AM 'Martin R. Albrecht' via sage-support
 wrote:
>
> Hi there,
>
> The trusted Sage Cell server stopped loading external resources, e.g. for
>
> load("https://bitbucket.org/malb/lwe-estimator/raw/HEAD/estimator.py;)
> n, alpha, q = 256, 0.0009765625, 65537
> set_verbose(1)
> _ = estimate_lwe(n, alpha, q)
>
> http://aleph.sagemath.org/?z=eJxNjcEKwjAQBe-F_kPoqYXYjZWkKHgQFPyLkOhii6mJyWrx782hiO84MPOcN9e6GohC2gHYkezrckdqfbzBZJwFN-MKE42TIR8hmhnOp8MRfqgNn6opiwdnxoXBcPZke9ZJxZlohRDbXknVSbGMMyXlpi-LhKTfGK1PWK-zr7O1NFHnz_ov2HwBPwsyhw===sage
>
> I’m getting
>
> gaierror: [Errno -3] Temporary failure in name resolution
>
> During handling of the above exception, another exception occurred:
>
> Is that a bug or by design (i.e. tightened security)?
>
by design. They were hit by spammers and had to disable this.
See https://groups.google.com/g/sage-cell/c/ETeONQMYbQM


> Cheers,
> Martin
> --
>
> _pgp: https://keybase.io/martinralbrecht
> _www: https://malb.io
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/87k0pwc0cs.fsf%40googlemail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq2DPfVefnOf-3N1SsroXieiHJOwuXG_N3q%2BiqeisuhdAg%40mail.gmail.com.


[sage-support] http://aleph.sagemath.org/

2021-03-24 Thread 'Martin R. Albrecht' via sage-support
Hi there,

The trusted Sage Cell server stopped loading external resources, e.g. for

load("https://bitbucket.org/malb/lwe-estimator/raw/HEAD/estimator.py;)
n, alpha, q = 256, 0.0009765625, 65537
set_verbose(1)
_ = estimate_lwe(n, alpha, q)

http://aleph.sagemath.org/?z=eJxNjcEKwjAQBe-F_kPoqYXYjZWkKHgQFPyLkOhii6mJyWrx782hiO84MPOcN9e6GohC2gHYkezrckdqfbzBZJwFN-MKE42TIR8hmhnOp8MRfqgNn6opiwdnxoXBcPZke9ZJxZlohRDbXknVSbGMMyXlpi-LhKTfGK1PWK-zr7O1NFHnz_ov2HwBPwsyhw===sage

I’m getting

gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Is that a bug or by design (i.e. tightened security)?

Cheers,
Martin
-- 

_pgp: https://keybase.io/martinralbrecht
_www: https://malb.io

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/87k0pwc0cs.fsf%40googlemail.com.


Re: [sage-support] Sage Crash Report

2021-03-24 Thread Dima Pasechnik
On Tue, Mar 23, 2021 at 10:27 PM Mike Lee  wrote:
>
> Hi,
>
> I'm facing a similar issue when I tried to install Sage through conda (I 
> followed the 'Setting Up' directions in https://wiki.sagemath.org/Conda). I 
> get the following error in my Sage_crash_report.txt (attached)
>
> 'ImportError: 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so:
>  undefined symbol: 
> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev'

this is, demangled:

$ c++filt 
_ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
Givaro::Integer::operator std::__cxx11::basic_string, std::allocator >[abi:cxx11]() const

Can you find this in the output of

$ nm -D --demangle /home/msl/software/miniconda3/envs/sage/lib/libgivaro.so.9

Perhaps, wrong C++ standard version chosen somewhere?

Maybe Isuru knows what's wrong there.

>
> What could I do to fix this issue? Thank you in advance for the help!
>
> By the way, when I run 'ldd 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/matrix_modn_sparse.cpython-39-x86_64-linux-gnu.so
>  ' I get the following output:
>
> linux-vdso.so.1 (0x7ffde17a7000)
> liblinbox.so.0 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../liblinbox.so.0
>  (0x7fa325ba)
> libfflas.so.1 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libfflas.so.1
>  (0x7fa325ad4000)
> libblas.so.3 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libblas.so.3
>  (0x7fa323ae3000)
> libgivaro.so.9 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgivaro.so.9
>  (0x7fa323a88000)
> libflint.so.14 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libflint.so.14
>  (0x7fa32320d000)
> libntl.so.43 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libntl.so.43
>  (0x7fa322fca000)
> libgmp.so.10 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgmp.so.10
>  (0x7fa322f24000)
> libstdc++.so.6 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libstdc++.so.6
>  (0x7fa322daf000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fa3229fb000)
> libgcc_s.so.1 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../../libgcc_s.so.1
>  (0x7fa3229e7000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3225f6000)
> libffpack.so.1 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libffpack.so.1
>  (0x7fa3224e3000)
> libgmpxx.so.4 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgmpxx.so.4
>  (0x7fa3224da000)
> libmpfr.so.6 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libmpfr.so.6
>  (0x7fa32245b000)
> libiml.so.0 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libiml.so.0
>  (0x7fa322436000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fa322217000)
> libgfortran.so.5 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgfortran.so.5
>  (0x7fa322075000)
> /lib64/ld-linux-x86-64.so.2 (0x7fa325aa8000)
> libgf2x.so.3 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libgf2x.so.3
>  (0x7fa322062000)
> libquadmath.so.0 => 
> /home/msl/software/miniconda3/envs/sage/lib/python3.9/site-packages/sage/matrix/../../../.././libquadmath.so.0
>  (0x7fa322028000)
>
> Mike
>
> On Sunday, January 24, 2021 at 1:16:24 PM UTC-5 dim...@gmail.com wrote:
>>
>> at the bottom of the log you see
>>
>> ImportError: 
>> /home/mathieu/opt/SageMath/local/lib/python3.8/site-packages/sage/matrix/matrix_modn_sparse.cpython-38-x86_64-linux-gnu.so:
>> undefined symbol:
>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
>>
>>
>> which is an indication that something went wrong with linking givaro.
>> E.g. you might be linking to a system-wide
>> installed givaro, but it's expected to be the one built by Sage -
>> whether the latter is the case can be found out in the top-level
>> config.log.
>>
>> What is the output of
>>
>> ldd 
>> /home/mathieu/opt/SageMath/local/lib/python3.8/site-packages/sage/matrix/matrix_modn_sparse.cpython-38-x86_64-linux-gnu.so
>>
>> ?
>>
>>
>> On Sun, Jan 24, 2021 at 4:22 PM Mathieu Dutour  wrote:
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > 

Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread Dima Pasechnik
On Wed, Mar 24, 2021 at 9:11 AM nqn...@gmail.com  wrote:
>
> El miércoles, 24 de marzo de 2021 a las 10:01:43 UTC+1, matt...@gmail.com 
> escribió:
>>
>> I think the author uses "present" to say "generate"
>>>
>>>
>
> I suppose you mean the finitely generated Z-module (abelian group) presented 
> by the matrix, ie. its cokernel. In that case, you can do:
>
> sage: A=matrix([[1,-3],[-3,4]])
> sage: ZZ^2/A.column_space()
> Finitely generated module V/W over Integer Ring with invariants (5)

Or just

sage: A.smith_form()
(
[1 0]  [ 0  1]  [-3 -4]
[0 5], [ 1 -3], [-2 -3]
)

here the 1st entry is the Smith Normal Form of A, and the 2nd and 3rd
ones are what
one uses to conjugate A to get it.

(Yes, in English "present a group" means generators and relations, as
opposed to "represent", which
means a linear representation. Non-native Englsh speakers sometimes
flip the meaning of these, e.g. in Russian
the "представление" means "represenation", and ''копредставление''
means "presentation'')


>
>
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/47dcb142-e6af-49e6-81bc-ad8093d00362n%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq00zM0eQD%2B%2BUxRQ2oMRJEGGyEiO3cFKEVjkdF4gnXhhMg%40mail.gmail.com.


Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread nqn...@gmail.com
El miércoles, 24 de marzo de 2021 a las 10:01:43 UTC+1, matt...@gmail.com 
escribió:

> I think the author uses "present" to say "generate"
>
>>
>>
I suppose you mean the finitely generated Z-module (abelian group) 
presented by the matrix, ie. its cokernel. In that case, you can do:

sage: A=matrix([[1,-3],[-3,4]]) 
sage: ZZ^2/A.column_space() 
Finitely generated module V/W over Integer Ring with invariants (5)

 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/47dcb142-e6af-49e6-81bc-ad8093d00362n%40googlegroups.com.


Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread Mattia Villani
I think the author uses "present" to say "generate"

Il giorno mercoledì 24 marzo 2021 alle 09:35:05 UTC+1 vdelecroix ha scritto:

> What does it mean "it presents Z5"?
>
> Le 24/03/2021 à 09:28, Mattia Villani a écrit :
> > That matrix comes from the paper by J.Hempel: "Homology of covering" Pac.
> > J. Math. vol 112 (1984) 83, example 5.2.
> > The author says that it presents Z5
> > 
> > Il giorno mercoledì 24 marzo 2021 alle 08:50:18 UTC+1 vdelecroix ha 
> scritto:
> > 
> >> Your matrix has determinant 4 - 9 = -5. Hence, the group it generates
> >> in GL(2,QQ) is necessarily infinite.
> >>
> >> Le 24/03/2021 à 08:47, Mattia Villani a écrit :
> >>> I do not have real code, only a matrix:
> >>>
> >>> matrix([[1,-3],[-3,4]])
> >>>
> >>> which should be a representation of the group Z5: I want to verify it
> >> with
> >>> Sage
> >>>
> >>> Il giorno martedì 23 marzo 2021 alle 17:18:12 UTC+1 dim...@gmail.com 
> ha
> >>> scritto:
> >>>
>  On Tue, Mar 23, 2021 at 2:00 PM Mattia Villani 
> >> wrote:
> >
> > Is is possible to find the group given the matrix presentation?
> 
>  Please be more specific. Post some Sage commands you're trying.
> 
> >
> > --
> > 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...@googlegroups.com.
> > To view this discussion on the web visit
> 
> >> 
> https://groups.google.com/d/msgid/sage-support/348e69d5-b3a5-45c4-a7ec-baed9213f6dcn%40googlegroups.com
>  .
> 
> >>>
> >>
> > 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/38ad34e7-d9bc-4541-8729-fd665a9ee0b4n%40googlegroups.com.


Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread Vincent Delecroix

What does it mean "it presents Z5"?

Le 24/03/2021 à 09:28, Mattia Villani a écrit :

That matrix comes from the paper by J.Hempel: "Homology of covering" Pac.
J. Math. vol 112 (1984) 83, example 5.2.
The author says that it presents Z5

Il giorno mercoledì 24 marzo 2021 alle 08:50:18 UTC+1 vdelecroix ha scritto:


Your matrix has determinant 4 - 9 = -5. Hence, the group it generates
in GL(2,QQ) is necessarily infinite.

Le 24/03/2021 à 08:47, Mattia Villani a écrit :

I do not have real code, only a matrix:

matrix([[1,-3],[-3,4]])

which should be a representation of the group Z5: I want to verify it

with

Sage

Il giorno martedì 23 marzo 2021 alle 17:18:12 UTC+1 dim...@gmail.com ha
scritto:


On Tue, Mar 23, 2021 at 2:00 PM Mattia Villani 

wrote:


Is is possible to find the group given the matrix presentation?


Please be more specific. Post some Sage commands you're trying.



--
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...@googlegroups.com.

To view this discussion on the web visit



https://groups.google.com/d/msgid/sage-support/348e69d5-b3a5-45c4-a7ec-baed9213f6dcn%40googlegroups.com

.









--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/0727a2a9-0510-d164-00c6-450b641be317%40gmail.com.


Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread Mattia Villani
That matrix comes from the paper by J.Hempel: "Homology of covering" Pac. 
J. Math. vol 112 (1984) 83, example 5.2.
The author says that it presents Z5

Il giorno mercoledì 24 marzo 2021 alle 08:50:18 UTC+1 vdelecroix ha scritto:

> Your matrix has determinant 4 - 9 = -5. Hence, the group it generates
> in GL(2,QQ) is necessarily infinite.
>
> Le 24/03/2021 à 08:47, Mattia Villani a écrit :
> > I do not have real code, only a matrix:
> > 
> > matrix([[1,-3],[-3,4]])
> > 
> > which should be a representation of the group Z5: I want to verify it 
> with
> > Sage
> > 
> > Il giorno martedì 23 marzo 2021 alle 17:18:12 UTC+1 dim...@gmail.com ha
> > scritto:
> > 
> >> On Tue, Mar 23, 2021 at 2:00 PM Mattia Villani  
> wrote:
> >>>
> >>> Is is possible to find the group given the matrix presentation?
> >>
> >> Please be more specific. Post some Sage commands you're trying.
> >>
> >>>
> >>> --
> >>> 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...@googlegroups.com.
> >>> To view this discussion on the web visit
> >> 
> https://groups.google.com/d/msgid/sage-support/348e69d5-b3a5-45c4-a7ec-baed9213f6dcn%40googlegroups.com
> >> .
> >>
> > 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/9f462156-fa0d-496c-a97a-0fb926d51d6bn%40googlegroups.com.


Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread Vincent Delecroix

Your matrix has determinant 4 - 9 = -5. Hence, the group it generates
in GL(2,QQ) is necessarily infinite.

Le 24/03/2021 à 08:47, Mattia Villani a écrit :

I do not have real code, only a matrix:

matrix([[1,-3],[-3,4]])

which should be a representation of the group Z5: I want to verify it with
Sage

Il giorno martedì 23 marzo 2021 alle 17:18:12 UTC+1 dim...@gmail.com ha
scritto:


On Tue, Mar 23, 2021 at 2:00 PM Mattia Villani  wrote:


Is is possible to find the group given the matrix presentation?


Please be more specific. Post some Sage commands you're trying.



--
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...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/348e69d5-b3a5-45c4-a7ec-baed9213f6dcn%40googlegroups.com
.





--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/882bc439-007c-3900-6fe1-9e7feeba9ecf%40gmail.com.


Re: [sage-support] Find group from matrix presentation

2021-03-24 Thread Mattia Villani
I do not have real code, only a matrix:

matrix([[1,-3],[-3,4]])

which should be a representation of the group Z5: I want to verify it with 
Sage

Il giorno martedì 23 marzo 2021 alle 17:18:12 UTC+1 dim...@gmail.com ha 
scritto:

> On Tue, Mar 23, 2021 at 2:00 PM Mattia Villani  wrote:
> >
> > Is is possible to find the group given the matrix presentation?
>
> Please be more specific. Post some Sage commands you're trying.
>
> >
> > --
> > 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/348e69d5-b3a5-45c4-a7ec-baed9213f6dcn%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/7ca3fa5d-c8a3-43f7-99a9-092664ef0429n%40googlegroups.com.