Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread Dima Pasechnik
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,

Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread Sihuang Hu
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

Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread 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 from source, did you do anything special to build Atlas in particular? You can also try building csdp completely separately from Sage,

Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread Sihuang Hu
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 =>

Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread Dima Pasechnik
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 =>

Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread Sihuang Hu
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 >

Re: [sage-support] Problem with lovasz theta number of a graph

2016-05-11 Thread 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 SageMath Version 7.0, Release Date: 2016-01-19 在 2016年5月10日星期二 UTC+3下午11:55:55,Dima Pasechnik写道: >

[sage-support] Re: Writing parallel code

2016-05-11 Thread mmancini
He Andrew, I used @parallel in sage to parallelize some tensorial calculus (for example : src/sage/tensor/modules/comp.py) It is not very complicate to use it but sometimes you need to reorganize your computation. The parallelism depends strictly on your code so the part of code you posted is

Re: [sage-support] Writing parallel code

2016-05-11 Thread mmancini
He Andrew, I used @parallel in sage to parallelize some tensorial calculus (for example : src/sage/tensor/modules/comp.py) It is not very complicate to use it but sometimes you need to reorganize your computation. The parallelism depends strictly on your code so the part of code you posted is

Re: [sage-support] Writing parallel code

2016-05-11 Thread Andrew
Thanks Vincent for both your answers. I am planning on using just one machine with up to 24 cores. (If I am not able to get far enough this way then I will think about using the cluster. Using 24 cores will already be a big step up compared with what I am currently doing.) If the processes can