Re: [sage-devel] Can't compile 8.4.beta3

2018-09-06 Thread Andrew


On Thursday, 6 September 2018 22:40:37 UTC+10, Jeroen Demeyer wrote:
>
> On 2018-09-06 08:21, Andrew wrote: 
> > *package:pip-18.0 
> >log file:/usr/local/src/sage/logs/pkgs/pip-18.0.log 
>
> attach this log file please ^ 
>
> Here's the log (Australia sleeps when the rest of the world doesn't hence 
the delay:)

Found local metadata for pip-18.0
Using cached file /usr/local/src/sage/upstream/pip-18.0.tar.gz
pip-18.0

Setting up build directory for pip-18.0
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0
Finished extraction
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0/src
No patch files found in ../patches

Host system:
Darwin p718m.pc.maths.usyd.edu.au 17.7.0 Darwin Kernel Version 17.7.0: Thu 
Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

C compiler: gcc
C compiler version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

No record that 'pip' was ever installed; skipping uninstall
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0/src
/usr/local/src/sage/local/bin/python3: No module named pip

Error building / installing pip3


real 0.092user 0.042sys 0.025pcpu 73.17


Error installing package pip-18.0

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /usr/local/src/sage/logs/pkgs/pip-18.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0 and type 'make' or 
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0' && 
'/usr/local/src/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.

Found local metadata for pip-18.0
Using cached file /usr/local/src/sage/upstream/pip-18.0.tar.gz
pip-18.0

Setting up build directory for pip-18.0
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0
Finished extraction
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0/src
No patch files found in ../patches

Host system:
Darwin p718m.pc.maths.usyd.edu.au 17.7.0 Darwin Kernel Version 17.7.0: Thu 
Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

C compiler: gcc
C compiler version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

No record that 'pip' was ever installed; skipping uninstall
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0/src
/usr/local/src/sage/local/bin/python3: No module named pip

Error building / installing pip3


real 0.109user 0.045sys 0.025pcpu 63.94


Error installing package pip-18.0

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /usr/local/src/sage/logs/pkgs/pip-18.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0 and type 'make' or 
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/usr/local/src/sage/local/var/tmp/sage/build/pip-18.0' && 
'/usr/local/src/sage/sage' --sh)
When you are done debugging, you can type "exit" 

Re: [sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread Jori Mäntysalo

On Thu, 6 Sep 2018, John H Palmieri wrote:


Also not ideal, but you could first try u < v, and if that fails, catch the
error and use str(u) < str(v).


But we can have Graph({'1': [1]}) and so not total order for str() of 
vertices.


--
Jori Mäntysalo

[sage-devel] Re: Can't compile 8.4.beta3

2018-09-06 Thread Steven Trogdon
The log file would be good. Though not on a Mac I had a "similar" situation 
where, for some reasion, local/bin/pip was missing. 
See https://groups.google.com/d/msg/sage-release/XUYlh2DHP9E/qIZEf8qRAAAJ

On Thursday, September 6, 2018 at 1:21:42 AM UTC-5, Andrew wrote:
>
> I'm not able compile any of the 8.4 betas on both my laptop and a desktop 
> machine. I had no problem with 8.3 betas. 
>
> Quite possibly I am doing, or have done, something stupid but I don't 
> think that I have changed anything from 8.3. I am running
>
> ProductName:Mac OS X
> ProductVersion:10.13.6
> BuildVersion:17G65
> Xcode 9.4.1
> Build version 9F2000
>
> The full log file is too large to attach so I have put in on install.log 
> , but the last message 
> is
>
> ***
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> * package: pip-18.0
>   log file: /usr/local/src/sage/logs/pkgs/pip-18.0.log
>   build directory: /usr/local/src/sage/local/var/tmp/sage/build/pip-18.0
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
> Can anyone see what I am doing wrong?
>
> Andrew
>

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


[sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread John H Palmieri


On Thursday, September 6, 2018 at 6:23:26 AM UTC-7, David Coudert wrote:
>
> Le jeudi 6 septembre 2018 14:16:33 UTC+2, Martin R a écrit :
>>
>> Would it be hard to separate vertex labels and vertices? In other words, 
>> vertices would always be 0,...,n-1, and there would be an additional array 
>> containing the vertex labels.
>>
>
> Some graph backends do that, like `c_graph`. I'm not sure it's true for 
> all backends.
> But, there might be situation in which it is useful to compare vertex 
> labels.
>
>
>
Also not ideal, but you could first try u < v, and if that fails, catch the 
error and use str(u) < str(v).


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


[sage-devel] Re: Error testing package flint-2.5.2.p2 (Red Hat 6.10)

2018-09-06 Thread 'Bill Hart' via sage-devel
The log shows there's a linking error for NTL. I assume it's something to 
do with the C++ standard used when compiling NTL. Not sure how to fix that. 
Hopefully someone has seen this before and knows how to fix it.

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


[sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread David Coudert
Le jeudi 6 septembre 2018 14:16:33 UTC+2, Martin R a écrit :
>
> Would it be hard to separate vertex labels and vertices? In other words, 
> vertices would always be 0,...,n-1, and there would be an additional array 
> containing the vertex labels.
>

Some graph backends do that, like `c_graph`. I'm not sure it's true for all 
backends.
But, there might be situation in which it is useful to compare vertex 
labels.

 

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


Re: [sage-devel] Can't compile 8.4.beta3

2018-09-06 Thread Jeroen Demeyer

On 2018-09-06 08:21, Andrew wrote:

*package:pip-18.0
   log file:/usr/local/src/sage/logs/pkgs/pip-18.0.log


attach this log file please ^

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


[sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread 'Martin R' via sage-devel
Would it be hard to separate vertex labels and vertices? In other words, 
vertices would always be 0,...,n-1, and there would be an additional array 
containing the vertex labels.

(I would prefer to have this for many "labelled" combinatorial objects, 
such as set partitions, permutations, posets, etc., but I realise that it 
would be a lot of work.)

Martin

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


[sage-devel] Re: Can't compile 8.4.beta3

2018-09-06 Thread Eric Gourgoulhon
Hi, 

>From your install.log file, we can see a message that could provide some 
hint:

[pip-18.0] /usr/local/src/sage/local/bin/python3: No module named pip

As Samuel said, it would be helpful to look at 
/usr/local/src/sage/logs/pkgs/pip-18.0.log.

Eric.

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


[sage-devel] Re: Py3, sorting vertices of graph

2018-09-06 Thread David Coudert
Comparisons like u < v are used in many places in the code of graphs. 
We can try to use hash(u) < hash(v) instead, but this is certainly not the 
smartest solution.



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


Re: [sage-devel] Tools to compute Hilbert Poincaré series

2018-09-06 Thread Simon King
Done.

On 2018-09-06, Dima Pasechnik  wrote:
> On Tue, Sep 4, 2018 at 10:15 AM Simon King  wrote:
>> Hannes wrote in the Singular forum
>
> I had an account for the Singular forum, it was linked to my employer's email
> (back in 2005), long gone. I tried to create another account for
> myself few days ago, the process
> says it has to be enabled by their admin, and I'm still waiting.
> All I get is "The specified username is currently inactive. If you
> have problems activating your account, please contact a board
> administrator." No pointers to ways to contact admins, though...
>
> Perhaps you can post on your thread a link to this github issue.
>
> Cheers,
> Dima
>
>> that he finds it a bad idea to use 64
>> bit integers, because it would behave differently on 32bit machines. He
>> also argues that bigint vectors exist in Singular, since there are bigint
>> *matrices* in Singular; right, but the syntax is different and thus it
>> isn't a drop-in replacement. And he wrote that making hilb(id,1) use
>> bigint vectors would imply a complete rewrite of the function, and if
>> I volunteer to implement it; although I'd expect that it is mainly
>> "search-and-replace", I am not so sure if I volunteer.
>>
>> So, at the moment I am trying to implement something in Sage, using
>> sage.rings.polynomial.polydict.ETuple as data structure. I guess the
>> implementation will go to either sage.rings.polynomial.polydict or
>> better to a new module sage.rings.polynomial.hilbert.
>>
>> Best regards,
>> Simon
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+unsubscr...@googlegroups.com.
>> To post to this group, send email to sage-devel@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sage-devel.
>> For more options, visit https://groups.google.com/d/optout.
>

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


[sage-devel] Re: Can't compile 8.4.beta3

2018-09-06 Thread Samuel Lelievre
Thu 2018-09-06 08:21:42 UTC+2, Andrew:
>
> I'm not able compile any of the 8.4 betas on both my laptop
> and a desktop machine. I had no problem with 8.3 betas. 
>
> Quite possibly I am doing, or have done, something stupid but I
> don't think that I have changed anything from 8.3. I am running
>
> > ProductName: Mac OS X
> > ProductVersion: 10.13.6
> > BuildVersion: 17G65
> > Xcode 9.4.1
> > Build version 9F2000
>
> The full log file is too large to attach so I have put in on
> http://www.maths.usyd.edu.au/u/mathas/install.log
> but the last message is
>
> > Error building Sage.
> >
> > The following package(s) may have failed to build (not necessarily
> > during this run of 'make all-start'):
> >
> > * package: pip-18.0
> > log file: /usr/local/src/sage/logs/pkgs/pip-18.0.log
> > build directory: /usr/local/src/sage/local/var/tmp/sage/build/pip-18.0
> >
> > The build directory may contain configuration files and other 
potentially
> > helpful information. WARNING: if you now run 'make' again, the build
> > directory will, by default, be deleted. Set the environment variable
> > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
> Can anyone see what I am doing wrong?
>
> Andrew

Can you also upload the log file for building pip?
The path to that log file in your filesystem is
/usr/local/src/sage/logs/pkgs/pip-18.0.log 

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


Re: [sage-devel] Tools to compute Hilbert Poincaré series

2018-09-06 Thread Dima Pasechnik
On Tue, Sep 4, 2018 at 10:15 AM Simon King  wrote:
> Hannes wrote in the Singular forum

I had an account for the Singular forum, it was linked to my employer's email
(back in 2005), long gone. I tried to create another account for
myself few days ago, the process
says it has to be enabled by their admin, and I'm still waiting.
All I get is "The specified username is currently inactive. If you
have problems activating your account, please contact a board
administrator." No pointers to ways to contact admins, though...

Perhaps you can post on your thread a link to this github issue.

Cheers,
Dima

> that he finds it a bad idea to use 64
> bit integers, because it would behave differently on 32bit machines. He
> also argues that bigint vectors exist in Singular, since there are bigint
> *matrices* in Singular; right, but the syntax is different and thus it
> isn't a drop-in replacement. And he wrote that making hilb(id,1) use
> bigint vectors would imply a complete rewrite of the function, and if
> I volunteer to implement it; although I'd expect that it is mainly
> "search-and-replace", I am not so sure if I volunteer.
>
> So, at the moment I am trying to implement something in Sage, using
> sage.rings.polynomial.polydict.ETuple as data structure. I guess the
> implementation will go to either sage.rings.polynomial.polydict or
> better to a new module sage.rings.polynomial.hilbert.
>
> Best regards,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

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


[sage-devel] Can't compile 8.4.beta3

2018-09-06 Thread Andrew
I'm not able compile any of the 8.4 betas on both my laptop and a desktop 
machine. I had no problem with 8.3 betas. 

Quite possibly I am doing, or have done, something stupid but I don't think 
that I have changed anything from 8.3. I am running

ProductName:Mac OS X
ProductVersion:10.13.6
BuildVersion:17G65
Xcode 9.4.1
Build version 9F2000

The full log file is too large to attach so I have put in on install.log 
, but the last message is

***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package: pip-18.0
  log file: /usr/local/src/sage/logs/pkgs/pip-18.0.log
  build directory: /usr/local/src/sage/local/var/tmp/sage/build/pip-18.0

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Can anyone see what I am doing wrong?

Andrew

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