[sage-devel] Re: Something is wrong with my installed sage

2019-03-12 Thread Ai Bo
I also tried with the example in the document but I got different result.
sage: for i in range(7):
: print(len(list(graphs(i
: 
1
0
0
0
0
0
0


In the 
document: 
http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html

sage: for i in range(7):: print(len(list(graphs(i11241134156


On Tuesday, March 12, 2019 at 8:40:19 PM UTC-7, Ai Bo wrote:
>
> Just compiled sage from source code on Linux.
> When I launched ./sage, I can do simple math like 2+2 which give correct 
> But when I type:
> sage: import sage.graphs
>
> sage: print("%d" % len(list(graphs.nauty_geng("8"
>
> sage: print("%d" % len(list(graphs(8
>
> I got 0 for both which are not as expected. Something is wrong. Please 
> help.
>

-- 
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] Something is wrong with my installed sage

2019-03-12 Thread Ai Bo
Just compiled sage from source code on Linux.
When I launched ./sage, I can do simple math like 2+2 which give correct 
But when I type:
sage: import sage.graphs

sage: print("%d" % len(list(graphs.nauty_geng("8"

sage: print("%d" % len(list(graphs(8

I got 0 for both which are not as expected. Something is wrong. Please help.

-- 
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: Right idiom to define a map

2019-03-12 Thread Travis Scrimshaw


On Wednesday, March 13, 2019 at 10:32:19 AM UTC+10, Kwankyu Lee wrote:
>
>  The _test_category issue is something that shows up with every map (and I 
>> think homset). This is because the parent (i.e., the homset) does not 
>> (usually) have a single Element class, but the _test_category is checking 
>> that the map is a subclass of the element_class that is dynamically created 
>> by the category framework. The standard idiom is just to skip these tests 
>> in the TestSuite() call.
>>
>
> If the issue is with every map, then a proper cure would be to fix the 
> category framework itself not to test _test_category or possibly by 
> dynamically creating a parent class whose element_class is the class of the 
> map. The standard idiom seems a bandage...
>
> I agree, but it is a complicated issue that has not seemed to have a real 
impact on the usability of the code (there are hooks in place to make the 
MorphismMethods work). How do you support multiple element classes for the 
parent (both syntax and implementation)? What about classes that might 
appear more dynamically (e.g., the identity function)? Part of the reason 
we add these skips to the TestSuite is to indicate that it is a technical 
debt and something we should eventually fix.
 

> For pickling, you probably just need to implement a __reduce__ method for 
>> the map.
>>
>
> Why not the category framework provide a default? This also seems to me a 
> defect of the category framework.
>
> Actually, the Map class has a __reduce__ method implemented. Sorry, I 
forgot about that. However, it is something local to the branch/ticket, so 
I will comment there.

Best,
Travis

 
 

-- 
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: Right idiom to define a map

2019-03-12 Thread Kwankyu Lee

>
>  The _test_category issue is something that shows up with every map (and I 
> think homset). This is because the parent (i.e., the homset) does not 
> (usually) have a single Element class, but the _test_category is checking 
> that the map is a subclass of the element_class that is dynamically created 
> by the category framework. The standard idiom is just to skip these tests 
> in the TestSuite() call.
>

If the issue is with every map, then a proper cure would be to fix the 
category framework itself not to test _test_category or possibly by 
dynamically creating a parent class whose element_class is the class of the 
map. The standard idiom seems a bandage...

For pickling, you probably just need to implement a __reduce__ method for 
> the map.
>

Why not the category framework provide a default? This also seems to me a 
defect of the category framework.


Thanks Travis!

-- 
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: Right idiom to define a map

2019-03-12 Thread Travis Scrimshaw
Hi Kwankyu,
   The _test_category issue is something that shows up with every map (and 
I think homset). This is because the parent (i.e., the homset) does not 
(usually) have a single Element class, but the _test_category is checking 
that the map is a subclass of the element_class that is dynamically created 
by the category framework. The standard idiom is just to skip these tests 
in the TestSuite() call.

For picking, you probably just need to implement a __reduce__ method for 
the map.

Best,
Travis


On Wednesday, March 13, 2019 at 12:45:09 AM UTC+10, Kwankyu Lee wrote:
>
> Hi,
>
> I thought the idiom to define a map is:
>
> from sage.categories.map import Map
> from sage.categories.homset import Hom
> from sage.categories.fields import Fields
>
> class Derivation(Map):
> def __init__(self, field):
> Map.__init__(self, Hom(field, field, Fields()))
>
> But then the last two tests fail:
>
> d = Derivation(GF(2))
> d._test_category()
> d._test_pickling()
>
> What did I do wrong? Or what should I do more? 
>
> Thank you for attention in advance.
>
>
>
>
>

-- 
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] Re: Scalar field on manifold not completely initialized?

2019-03-12 Thread Eric Gourgoulhon
I've opened 
https://trac.sagemath.org/ticket/27475
to deal with this issue.

-- 
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: Graph.show with js sometimes messes up labels

2019-03-12 Thread David . Coudert
Unfortunately, this is not a good idea.

We are working hard on making Sagemath compatible with Python 3.
With Python 3 you cannot sort objects of different types. For instance 
sorted([1, 'a']) will raise an error.
Currently, in the graph module, vertices can be any hashable objects, so we 
try to avoid sorting as much as possible.
We should certainly change the way vertex ids are handled, but there is a 
long road ahead...

David.

-- 
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: Graph.show with js sometimes messes up labels

2019-03-12 Thread Stefan Demharter
Thanks for the fix! I have a suggestion, though:
You changed "nodes" to go over the vertices in the order determined by the 
hashmap.
I'd suggest to change "v_to_id" to go over the sorted vertices instead, 
i.e. something on the line of:

V = G.vertices(sort=True)

v_to_id = {v: i for i, v in enumerate(V)}

nodes = [... for v in V]


That way you'd end up with the same result independent of the ordering in the 
hashmap.
With that you can also construct more test cases that don't depend on that 
ordering and work for python2 and python3.

Cheers,
Stefan


On Monday, 11 March 2019 09:07:36 UTC+1, david@inria.fr wrote:
>
>  Thank you for reporting this issue.
>
> The order of the vertices given to d3.js was incorrect. This is fixed in 
> https://trac.sagemath.org/ticket/27460
>

-- 
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] Re: Error in installing Sage8.6 on linux: syntax error

2019-03-12 Thread Ai Bo
My bash version:
GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)

The reason I want to install from source as to use on my linux box

I am not sure what you meant by "a clean docker container".

Anyway, I have managed to overcome some problems after last mail. Still
working on it...


On Tue, Mar 12, 2019 at 4:54 AM E. Madison Bray 
wrote:

> On Mon, Mar 11, 2019 at 10:53 PM Ai Bo  wrote:
> >
> > yes, switching to bash can pass this error.
> >
> > However, now error:
> >  ERROR: BLAS not found!
> > [fflas_ffpack-2.3.2]
> > [fflas_ffpack-2.3.2]  BLAS routines are required for this library to
> compile. Please
> > [fflas_ffpack-2.3.2]  make sure BLAS are installed and specify its
> location with the option
> > [fflas_ffpack-2.3.2]  --with-blas-libs= and if necessary
> --with-blas-cflags=
>
> Without being able to divine exactly what you did, if I were you I
> would just start the build over again by running `make distclean`
> followed by `make` again.
>
> Sage's build system will build and install its own copy of OpenBLAS
> unless otherwise specified.   If you're later getting errors like
> "BLAS not found" it indicates that something went wrong with your
> OpenBLAS install as well.  Normally the build should not have even
> proceeded from this point but it's hard to say what's wrong.
>
> As a more general question, for what purpose are you trying to build
> Sage from source?  Do you need to build it on this specific platform?
> You might have more luck in a clean docker container, for example.
>
> I'm still a bit confused about this bash issue.  If you run at the command
> line
>
> $ /usr/bin/env bash --version
>
> What does it output?
>
> I think there might actually a bug (?) in Sage's makefile.  It reads
>
> # Always use bash for make rules
> SHELL = /bin/sh
>
> Except there's no guarantee that /bin/sh is bash.  That might be part
> of the problem.  If you set SHELL=/bin/bash in your environment it
> might help with that.
>
> --
> 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.


Re: [sage-devel] problem in git trac config

2019-03-12 Thread E. Madison Bray
On Tue, Mar 12, 2019 at 4:41 PM  wrote:
>
> I have been trying to git trac config but I keep getting this error
> I am using macOS Mojave
> please help
> I had followed all the instructions on  Collaborative Development with 
> Git-Trac  page
>
>
>
> Saved trac username.
>
> Saved trac password.
>
> Trac xmlrpc URL:
>
> https://trac.sagemath.org/xmlrpc (anonymous)
>
> https://trac.sagemath.org/login/xmlrpc (authenticated)
>
> realm sage.math.washington.edu
>
> Username: akrikan
>
> Password: 
>
> Retrieving SSH keys...
>
> Traceback (most recent call last):
>
>   File "/Users/krishnakantammanamanachi/git-trac-command/bin/git-trac", line 
> 18, in 
>
> cmdline.launch()
>
>   File 
> "/Users/krishnakantammanamanachi/git-trac-command/git_trac/cmdline.py", line 
> 265, in launch
>
> app.print_config()
>
>   File "/Users/krishnakantammanamanachi/git-trac-command/git_trac/app.py", 
> line 391, in print_config
>
> for key in self.trac.get_ssh_fingerprints():
>
>   File 
> "/Users/krishnakantammanamanachi/git-trac-command/git_trac/trac_server.py", 
> line 114, in get_ssh_fingerprints
>
> for key in self.get_ssh_keys():
>
>   File 
> "/Users/krishnakantammanamanachi/git-trac-command/git_trac/trac_server.py", 
> line 105, in get_ssh_keys
>
> return self.authenticated_proxy.sshkeys.getkeys()
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  line 1243, in __call__
>
> return self.__send(self.__name, args)
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  line 1602, in __request
>
> verbose=self.__verbose
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py",
>  line 1283, in request
>
> return self.single_request(host, handler, request_body, verbose)
>
>   File 
> "/Users/krishnakantammanamanachi/git-trac-command/git_trac/digest_transport_py2.py",
>  line 127, in single_request
>
> response = self.opener.open(req)
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
> line 431, in open
>
> response = self._open(req, data)
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
> line 449, in _open
>
> '_open', req)
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
> line 409, in _call_chain
>
> result = func(*args)
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
> line 1243, in https_open
>
> context=self._context)
>
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
> line 1200, in do_open
>
> raise URLError(err)
>
> urllib2.URLError:  verify failed (_ssl.c:726)>

Hi,

This just means you're using a Python installed in your system (looks
like a standard Python for MacOS install under
/Library/Frameworks/Python.framework/Versions/2.7) which might be old
and/or does not have up-to-date root certificates installed.

There are many solutions proposed at
https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error

The simplest in the short term, if you trust your network (which you
should never, ever do) is to set PYTHONHTTPSVERIFY=0 in your
environment.  I wouldn't, but you might need to temporarily for pip to
even work.

Best would be to upgrade Python (either a newer Python 2.7 package or
install a recent Python 3.6 or Python 3.7).


(P.S. In the future when copy/pasting from your terminal emulator
please consider removing all formatting--OSX's Terminal preserves the
formatting as HTML but what we end up getting is a bunch of impossible
to read black lines with green text in them (granted if I read my
e-mail in a text-only mail client it wouldn't be a problem, but I'm
using gmail like a dope :)

-- 
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] problem in git trac config

2019-03-12 Thread ma17c009
I have been trying to git trac config but I keep getting this error 
I am using macOS Mojave
please help
I had followed all the instructions on  Collaborative Development with 
Git-Trac  page



Saved trac username.

Saved trac password.

Trac xmlrpc URL:

https://trac.sagemath.org/xmlrpc (anonymous)

https://trac.sagemath.org/login/xmlrpc (authenticated)

realm sage.math.washington.edu

Username: akrikan

Password: 

Retrieving SSH keys...

Traceback (most recent call last):

  File "/Users/krishnakantammanamanachi/git-trac-command/bin/git-trac", 
line 18, in 

cmdline.launch()

  File 
"/Users/krishnakantammanamanachi/git-trac-command/git_trac/cmdline.py", 
line 265, in launch

app.print_config()

  File "/Users/krishnakantammanamanachi/git-trac-command/git_trac/app.py", 
line 391, in print_config

for key in self.trac.get_ssh_fingerprints():

  File 
"/Users/krishnakantammanamanachi/git-trac-command/git_trac/trac_server.py", 
line 114, in get_ssh_fingerprints

for key in self.get_ssh_keys():

  File 
"/Users/krishnakantammanamanachi/git-trac-command/git_trac/trac_server.py", 
line 105, in get_ssh_keys

return self.authenticated_proxy.sshkeys.getkeys()

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", 
line 1243, in __call__

return self.__send(self.__name, args)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", 
line 1602, in __request

verbose=self.__verbose

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", 
line 1283, in request

return self.single_request(host, handler, request_body, verbose)

  File 
"/Users/krishnakantammanamanachi/git-trac-command/git_trac/digest_transport_py2.py",
 
line 127, in single_request

response = self.opener.open(req)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
line 431, in open

response = self._open(req, data)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
line 449, in _open

'_open', req)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
line 409, in _call_chain

result = func(*args)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
line 1243, in https_open

context=self._context)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", 
line 1200, in do_open

raise URLError(err)

urllib2.URLError: 

-- 
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] Right idiom to define a map

2019-03-12 Thread Kwankyu Lee
Hi,

I thought the idiom to define a map is:

from sage.categories.map import Map
from sage.categories.homset import Hom
from sage.categories.fields import Fields

class Derivation(Map):
def __init__(self, field):
Map.__init__(self, Hom(field, field, Fields()))

But then the last two tests fail:

d = Derivation(GF(2))
d._test_category()
d._test_pickling()

What did I do wrong? Or what should I do more? 

Thank you for attention in advance.




-- 
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] Re: Error in installing Sage8.6 on linux: syntax error

2019-03-12 Thread E. Madison Bray
On Mon, Mar 11, 2019 at 10:53 PM Ai Bo  wrote:
>
> yes, switching to bash can pass this error.
>
> However, now error:
>  ERROR: BLAS not found!
> [fflas_ffpack-2.3.2]
> [fflas_ffpack-2.3.2]  BLAS routines are required for this library to compile. 
> Please
> [fflas_ffpack-2.3.2]  make sure BLAS are installed and specify its location 
> with the option
> [fflas_ffpack-2.3.2]  --with-blas-libs= and if necessary 
> --with-blas-cflags=

Without being able to divine exactly what you did, if I were you I
would just start the build over again by running `make distclean`
followed by `make` again.

Sage's build system will build and install its own copy of OpenBLAS
unless otherwise specified.   If you're later getting errors like
"BLAS not found" it indicates that something went wrong with your
OpenBLAS install as well.  Normally the build should not have even
proceeded from this point but it's hard to say what's wrong.

As a more general question, for what purpose are you trying to build
Sage from source?  Do you need to build it on this specific platform?
You might have more luck in a clean docker container, for example.

I'm still a bit confused about this bash issue.  If you run at the command line

$ /usr/bin/env bash --version

What does it output?

I think there might actually a bug (?) in Sage's makefile.  It reads

# Always use bash for make rules
SHELL = /bin/sh

Except there's no guarantee that /bin/sh is bash.  That might be part
of the problem.  If you set SHELL=/bin/bash in your environment it
might help with that.

-- 
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: Enhancement of Kruskal Algorithmn

2019-03-12 Thread David . Coudert
Given a (di)graph, you can easily assign random edge weights using for 
instance `G.set_edge_lable(u, v, randint(1, 100))`.

Le lundi 11 mars 2019 17:53:05 UTC+1, hy...@iitbbs.ac.in a écrit :
>
>  Is there a way to generate Random directed weighted Graph, I have read 
> the module for Random Graph generator but couldn't find one for weighted.
> Is there a program to generate Random directed weighted Graph there ?
>
>

-- 
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] Re: Error in installing Sage8.6 on linux: syntax error

2019-03-12 Thread Dima Pasechnik
On Tue, Mar 12, 2019 at 3:23 AM Ai Bo  wrote:
>
> I didn't *want* to use my own BLAS. Without downloading BLAS directory, it is 
> complaining missing BLAS.

This means that there was an error building openblas Sage package.
Have a look in logs/pkgs/openblas.log
Do you see an error there?

> Does the Sage package already have BLAS? Why it doesn't compile without 
> setting the env for BLAS?
>
> On Monday, March 11, 2019 at 3:06:51 PM UTC-7, Dima Pasechnik wrote:
>>
>> On Mon, Mar 11, 2019 at 9:53 PM Ai Bo  wrote:
>> >
>> > yes, switching to bash can pass this error.
>> >
>> > However, now error:
>> >  ERROR: BLAS not found!
>> > [fflas_ffpack-2.3.2]
>> > [fflas_ffpack-2.3.2]  BLAS routines are required for this library to 
>> > compile. Please
>> > [fflas_ffpack-2.3.2]  make sure BLAS are installed and specify its 
>> > location with the option
>> > [fflas_ffpack-2.3.2]  --with-blas-libs= and if necessary 
>> > --with-blas-cflags=
>> >
>> >
>> > I installed BLAS library, but it seems to look for OPENBLAS. Can I just 
>> > use BLAS-3.8.0/blas_LINUX.a?
>>
>> if you want to use your system's BLAS/LAPACK, you need to set
>> SAGE_ATLAS_LIB, as described in
>> http://doc.sagemath.org/html/en/installation/source.html#environment-variables
>> >
>> > My python install already has numpy package.
>> System's Python has almost nothing to do with Sage's Python (Sage will
>> build its own copy of Python2 and Python3)
>>
>>
>>
>> >
>> > Please help. Thanks.
>> >
>> >
>> > On Sunday, March 10, 2019 at 1:27:12 AM UTC-8, Ai Bo wrote:
>> >>
>> >> Error message:
>> >> ** I masked the paths.
>> >>
>> >> [patch-2.7.5] Target: x86_64-suse-linux
>> >> [patch-2.7.5] Configured with: ./configure --prefix=/xxxs/gcc/4.7.2 
>> >> --libdir=/xxx/gcc/4.7.2/lib64 --libexecdir=/xxx/gcc/4.7.2/libexec 
>> >> --bindir=/xxx/gcc/4.7.2/bin --with-ppl=/xxx/gcc/4.7.2 
>> >> --enable-cloog-backend=ppl --with-cloog=/xxx/gcc/4.7.2 
>> >> --with-libelf=/xxx/gcc/4.7.2 --with-mpfr=/xxx/gcc/4.7.2 
>> >> --with-gmp=/xxx/gcc/4.7.2 --with-mpc=/xxx/gcc/4.7.2 --enable-lto 
>> >> --enable-languages=c,c++,objc,fortran,java --build=x86_64-suse-linux 
>> >> --host=x86_64-suse-linux --target=x86_64-suse-linux
>> >> [patch-2.7.5] Thread model: posix
>> >> [patch-2.7.5] gcc version 4.7.2 (GCC)
>> >> [patch-2.7.5] 
>> >> [patch-2.7.5] No record that 'patch' was ever installed; skipping 
>> >> uninstall
>> >> [patch-2.7.5] /yyy/Sage/sage-8.6/src/bin/sage-dist-helpers: line 210: 
>> >> syntax error near unexpected token `"$1"'
>> >> [patch-2.7.5] /yyy/Sage/sage-8.6/src/bin/sage-dist-helpers: line 210: `   
>> >>  src+=("$1")'
>> >> [patch-2.7.5] Error: failed to source sage-dist-helpers
>> >> [patch-2.7.5] Is /yyy/Sage/sage-8.6 the correct SAGE_ROOT?
>> >> [patch-2.7.5]
>> >> [patch-2.7.5] real  0m0.008s
>> >> [patch-2.7.5] user  0m0.000s
>> >> [patch-2.7.5] sys   0m0.004s
>> >> [patch-2.7.5] 
>> >> 
>> >> [patch-2.7.5] Error installing package patch-2.7.5
>> >> [patch-2.7.5] 
>> >> 
>> >>
>> >>
>> >> Here is part of the config.log file:
>> >>
>> >> configure:4207: gcc -V >&5
>> >> gcc: error: unrecognized command line option '-V'
>> >> gcc: fatal error: no input files
>> >> compilation terminated.
>> >> configure:4218: $? = 1
>> >> configure:4207: gcc -qversion >&5
>> >>
>> >> configure:4983: gcc -E  conftest.c
>> >> conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
>> >>  #include 
>> >>   ^~
>> >> compilation terminated.
>> >>
>> >> I switched to GCC 7.2, got same error.
>> >>
>> >> Please help.
>> >>
>> > --
>> > 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+...@googlegroups.com.
>> > To post to this group, send email to sage-...@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.

-- 
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