I installed sage 7.1 from source codes, and now it works perfectly.
Thanks very much!
在 2016年5月12日星期四 UTC+3上午11:14:38,Sihuang Hu写道:
>
> It shows:
> shhu-ee-tau ~: ldd ~/Documents/SageMath/local/lib/libsdp.so.0
> linux-vdso.so.1 => (0x7ffdeb3b)
> liblapack.so.3 =>
> /home/shhu/Doc
It shows:
shhu-ee-tau ~: ldd ~/Documents/SageMath/local/lib/libsdp.so.0
linux-vdso.so.1 => (0x7ffdeb3b)
liblapack.so.3 =>
/home/shhu/Documents/SageMath/local/lib/liblapack.so.3 (0x7fea93a69000)
libcblas.so.3 => /home/shhu/Documents/SageMath/local/lib/libcblas.so.3
(0x
and what does 'ldd /home/shhu/Documents/SageMath/local/lib/libsdp.so.0' say?
On Wednesday, May 11, 2016 at 2:43:04 PM UTC+1, Dima Pasechnik wrote:
>
> It does work on some graphs, still, right?
> It's a high-end relatively new CPU, perhaps Atlas and/or gcc has a problem
> with it?
>
> Can you pos
On Wednesday, May 11, 2016 at 6:10:52 PM UTC+1, Sihuang Hu wrote:
>
> I think I downloaded the binaries. Thanks for your suggestions. I will try
> it.
>
well, you might try Sage 7.1 binary, perhaps it would work better...
(or build from source, on such a machine it won't take much time, perhaps
I think I downloaded the binaries. Thanks for your suggestions. I will try
it.
在 2016年5月11日星期三 UTC+3下午6:14:37,Dima Pasechnik写道:
>
> Have you built Sage from source? If not, it could happen, in principle,
> that lapack/atlas/blas shipped
> do not quite work on your system...
>
> If you built it
Have you built Sage from source? If not, it could happen, in principle,
that lapack/atlas/blas shipped
do not quite work on your system...
If you built it from source, did you do anything special to build Atlas in
particular?
You can also try building csdp completely separately from Sage, usin
Yes, it still works on many other graphs.
---
(sage-sh) shhu@shhu-ee-tau:~$ ldd `which theta`
linux-vdso.so.1 => (0x7ffea69d6000)
libsdp.so.0 => /home/shhu/Documents/
It does work on some graphs, still, right?
It's a high-end relatively new CPU, perhaps Atlas and/or gcc has a problem
with it?
Can you post the output of 'ldd theta', i.e.
(sage-sh) dimpase@clpc171:sage$ ldd `which theta`
linux-vdso.so.1 (0x7ffd2c34f000)
libsdp.so.0 => /home/scratch/dimpase/
My Cpu information is attached...
在 2016年5月11日星期三 UTC+3下午2:58:43,Sihuang Hu写道:
>
> I just did what you suggested, and it didn't work. I got those messages:
>
> (sage-sh) shhu@shhu-ee-tau:~$ theta 2k2
> Segmentation fault (core dumped)
>
> My Cpu information is attached.
> Ubuntu 14.04LTS
> SageMa
I just did what you suggested, and it didn't work. I got those messages:
(sage-sh) shhu@shhu-ee-tau:~$ theta 2k2
Segmentation fault (core dumped)
My Cpu information is attached.
Ubuntu 14.04LTS
SageMath Version 7.0, Release Date: 2016-01-19
在 2016年5月10日星期二 UTC+3下午11:55:55,Dima Pasechnik写道:
>
>
here is the input for theta executable:
4
2
1 2
3 4
(also attached)
save it to a file named, say, 2k2, fire up "sage -sh"
and run
theta 2k2
I get
$ theta 2k2
Graph is of size 4 2
C block 1, blocksize, 4
Checking constraint 1
Checking constraint 2
Checking constraint 3
Iter: 0 A
Please edit /home/shhu/Documents/SageMath/local/lib/python2.7/site-
packages/sage/graphs/lovasz_theta.py
to insert
print "output was: ", lines
after "lines = subprocess.check_output(...)"
remove /home/shhu/Documents/SageMath/local/lib/python2.7/site-
packages/sage/graphs/lovasz_theta.pyc
and sta
$sage -sh
Starting subshell with Sage environment variables set. Don't forget
to exit when you are done. Beware:
* Do not do anything with other copies of Sage on your system.
* Do not use this for installing Sage packages using "sage -i" or for
running "make" at Sage's root directory. The
and on other graphs either?
(e.g. on graphs.CycleGraph(7))
Start sage prompt (sage -sh) and check that you have the program called
theta available:
$ sage -sh
Starting subshell with Sage environment variables set. Don't forget
to exit when you are done. Beware:
* Do not do anything with other
It didn't work for me. :(
sage: g=Graph([[0,1],[2,3]])
sage: g.lovasz_theta()
---
ValueErrorTraceback (most recent call last)
in ()
> 1 g.lovasz_theta()
/home/shhu/Documents/SageMath/local
all this works for me just fine:
sage: g=Graph([[0,1],[2,3]])
sage: g.lovasz_theta()
2.0
sage: G = graphs.CycleGraph(7)
sage: V = Set(G.vertices())
sage: L = []
sage: for s in V.subsets():
: L.append(G.subgraph(s))
:
sage: L[68].lovasz_theta()
2.0
Can you try the following:
sag
The adjacency matrix of the graph is
[0 1 0 0]
[1 0 0 0]
[0 0 0 1]
[0 0 1 0]
在 2016年5月10日星期二 UTC+3下午4:30:06,Dima Pasechnik写道:
>
> What is your L[68] ?
> This is probably something like a graph without edges...
>
> On Tuesday, May 10, 2016 at 1:53:17 PM UTC+1, Sihuang Hu wrote:
>>
>> Thanks for t
What is your L[68] ?
This is probably something like a graph without edges...
On Tuesday, May 10, 2016 at 1:53:17 PM UTC+1, Sihuang Hu wrote:
>
> Thanks for the comments.
> I have installed package 'csdp' before. I got this error after I installed
> it.
>
> 在 2016年5月10日星期二 UTC+3下午3:32:59,vdelecro
Thanks for the comments.
I have installed package 'csdp' before. I got this error after I installed
it.
在 2016年5月10日星期二 UTC+3下午3:32:59,vdelecroix写道:
>
> The error you get is quite strange. On my computer with sage-7.1 I got
>
> sage: graphs.CycleGraph(7).lovasz_theta()
> Traceback (most recent
The error you get is quite strange. On my computer with sage-7.1 I got
sage: graphs.CycleGraph(7).lovasz_theta()
Traceback (most recent call last):
...
PackageNotFoundError: the package 'csdp' was not found. You can install
it by running 'sage -i csdp' in a shell
Which is very explicit about w
Hi guys,
When I try to compute the lovasz theta number of some graph, it says that
*ValueError: could not convert string to float: failed.:*G =
graphs.CycleGraph(7)
V = Set(G.vertices())
L = []
for s in V.subsets():
L.append(G.subgraph(s))
L[68].lovasz_theta()
---
21 matches
Mail list logo