[sage-devel] Error while building Sage

2019-03-04 Thread hy15
Hi,
  I am installing sage's developer version. After extracting  
sage-8.6.tar.gz and then ran  make file. Following Error occured after one 
hour of build:
Copying package files from temporary location 
/home/hrishabh/Documents/Sage/sage-8.6/var/tmp/sage/build/gfortran-7.2.0/inst 
to /home/hrishabh/Documents/Sage/sage-8.6
cp: cannot overwrite non-directory 
'/home/hrishabh/Documents/Sage/sage-8.6/./lib64' with directory 
'/home/hrishabh/Documents/Sage/sage-8.6/var/tmp/sage/build/gfortran-7.2.0/inst/home/hrishabh/Documents/Sage/sage-8.6/./lib64'
My os is ubuntu.
I am unable to share log file as it is more that 25 MB.
Can someone Help me solve this problem.
Thank you,

-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

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

2019-03-08 Thread hy15
Hello guys,
I would like implement an enhancement of kruskal algorithm as provided 
in this paper http://algo2.iti.kit.edu/documents/fkruskal.pdf. 

This Algorithm gives an expected complexity of  O(E + Vlog(v)*log(E/V) 
where E is number of edges and V be number of edges. This Algorithm works 
quite well for large and dense graph. After seeing source code of MST, the 
code had a TODO task under 
 kruskal function. Any suggestions ?

-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

-- 
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-11 Thread hy15
 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 ?


-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

-- 
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-18 Thread hy15
I have implemented the algorithm and created a ticket #27482. After 
committing, The patchbot is showing that some tests failed and i am unable 
to understand the actual error. Link to the ticket is 
:https://trac.sagemath.org/ticket/27482

On Tuesday, March 12, 2019 at 1:02:48 PM UTC+5:30, david@inria.fr wrote:
>
> 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 ?
>>
>>
-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

-- 
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] libSingular not found

2019-04-10 Thread hy15
I want to build the documentation of my branch, but running sage --docbuild 
html gives following error:-
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
__import__(mod_name)  # Do not catch exceptions initializing package
  File "/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", 
line 24, in 
import sage.all
  File "/usr/lib/python2.7/dist-packages/sage/all.py", line 71, in 
from sage.env import SAGE_ROOT, SAGE_SRC, SAGE_DOC_SRC, SAGE_LOCAL, 
DOT_SAGE, SAGE_ENV
  File "/usr/lib/python2.7/dist-packages/sage/env.py", line 187, in 
"libSingular not found--a working Singular install in $SAGE_LOCAL "
RuntimeError: libSingular not found--a working Singular install in 
$SAGE_LOCAL is required for Sage to work

What should I do?  

-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

-- 
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] libSingular not found

2019-04-10 Thread hy15
I am trying to build a development branch of sage related to this ticket 
(27482) 

On Wednesday, April 10, 2019 at 5:45:55 PM UTC+5:30, E. Madison Bray wrote:
>
> On Wed, Apr 10, 2019 at 1:25 PM > wrote: 
> > 
> > I want to build the documentation of my branch, but running sage 
> --docbuild html gives following error:- 
> > Traceback (most recent call last): 
> >   File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main 
> > mod_name, _Error) 
> >   File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details 
> > __import__(mod_name)  # Do not catch exceptions initializing package 
> >   File 
> "/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 
> 24, in  
> > import sage.all 
> >   File "/usr/lib/python2.7/dist-packages/sage/all.py", line 71, in 
>  
> > from sage.env import SAGE_ROOT, SAGE_SRC, SAGE_DOC_SRC, SAGE_LOCAL, 
> DOT_SAGE, SAGE_ENV 
> >   File "/usr/lib/python2.7/dist-packages/sage/env.py", line 187, in 
>  
> > "libSingular not found--a working Singular install in $SAGE_LOCAL " 
> > RuntimeError: libSingular not found--a working Singular install in 
> $SAGE_LOCAL is required for Sage to work 
> > 
> > What should I do? 
>
> Hi, 
>
> You write 
>
> > I want to build the documentation of my branch, but running sage 
> --docbuild html gives following error:- 
>
> which seems to imply that you're trying to build the docs for some 
> development copy of Sage.  But the traceback shows that you're running 
> a sage installed from a system package: 
>
> >   File "/usr/lib/python2.7/dist-packages/sage/env.py", line 187, in 
>  
>
> and so on. 
>
> Are you trying to build a development branch of Sage?  Or some other 
> package that happens to use Sage? 
>

-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

-- 
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] libSingular not found

2019-04-10 Thread hy15
Yes, didn't realize that the command "sage" runs the executable installed.
Thanks a lot,

On Wednesday, April 10, 2019 at 6:02:06 PM UTC+5:30, E. Madison Bray wrote:
>
> On Wed, Apr 10, 2019 at 2:21 PM > wrote: 
> > 
> > I am trying to build a development branch of sage related to this ticket 
> (27482) 
>
> If you are working with Sage in a source code checkout, run `./sage`. 
> Running `sage` means you'll run the sage executable installed on your 
> system path, which is apparently broken or something. 
>
>
> > On Wednesday, April 10, 2019 at 5:45:55 PM UTC+5:30, E. Madison Bray 
> wrote: 
> >> 
> >> On Wed, Apr 10, 2019 at 1:25 PM  wrote: 
> >> > 
> >> > I want to build the documentation of my branch, but running sage 
> --docbuild html gives following error:- 
> >> > Traceback (most recent call last): 
> >> >   File "/usr/lib/python2.7/runpy.py", line 163, in 
> _run_module_as_main 
> >> > mod_name, _Error) 
> >> >   File "/usr/lib/python2.7/runpy.py", line 111, in 
> _get_module_details 
> >> > __import__(mod_name)  # Do not catch exceptions initializing 
> package 
> >> >   File 
> "/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 
> 24, in  
> >> > import sage.all 
> >> >   File "/usr/lib/python2.7/dist-packages/sage/all.py", line 71, in 
>  
> >> > from sage.env import SAGE_ROOT, SAGE_SRC, SAGE_DOC_SRC, 
> SAGE_LOCAL, DOT_SAGE, SAGE_ENV 
> >> >   File "/usr/lib/python2.7/dist-packages/sage/env.py", line 187, in 
>  
> >> > "libSingular not found--a working Singular install in $SAGE_LOCAL 
> " 
> >> > RuntimeError: libSingular not found--a working Singular install in 
> $SAGE_LOCAL is required for Sage to work 
> >> > 
> >> > What should I do? 
> >> 
> >> Hi, 
> >> 
> >> You write 
> >> 
> >> > I want to build the documentation of my branch, but running sage 
> --docbuild html gives following error:- 
> >> 
> >> which seems to imply that you're trying to build the docs for some 
> >> development copy of Sage.  But the traceback shows that you're running 
> >> a sage installed from a system package: 
> >> 
> >> >   File "/usr/lib/python2.7/dist-packages/sage/env.py", line 187, in 
>  
> >> 
> >> and so on. 
> >> 
> >> Are you trying to build a development branch of Sage?  Or some other 
> >> package that happens to use Sage? 
> > 
> > 
> >  
> > Disclaimer: This email and any files transmitted with it are 
> confidential and intended solely for the use of the individual or entity to 
> whom they are addressed. If you have received this email in error please 
> notify the system manager. This message contains confidential information 
> and is intended only for the individual named. If you are not the named 
> addressee you should not disseminate, distribute or copy this e-mail. 
> Please notify the sender immediately by e-mail if you have received this 
> e-mail by mistake and delete this e-mail from your system. If you are not 
> the intended recipient you are notified that disclosing, copying, 
> distributing or taking any action in reliance on the contents of this 
> information is strictly prohibited. 
> > 
> > -- 
> > 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-...@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. 
>

-- 
*Disclaimer: *This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named addressee 
you should not disseminate, distribute or copy this e-mail. Please notify 
the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited.

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