Re: [sage-support] Scipy 1.1.0 instead of 1.2.0 built for Sage 8.6 ??? ALso cannot find libgfortran???

2019-01-31 Thread Ike Stoddard
We might as well close this.  If gfortran8 messes up, I can open another.

On Thu, Jan 31, 2019, 02:38 Ike Stoddard  THEY ARE THERE.
>
> Under other circumstances, I would have thought of removing all other
> toolchains which were not current.
> I will try to do so. My package manager is not finding the off-nominal
> configs.
>
> Arch Linux 4.20.3 btw.
>
> So that nothing is damaged, I must research if anything needs gcc-5 or -6.
> I thought they would not have remained once I upgraded. Silly me.
>
> Thanks for all your help!
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [sage-support] Re: arrows in 3d field plots

2019-01-31 Thread Tevian Dray
> Hopefully, some day threejs will replace jmol as the default 3d viewer:
> https://trac.sagemath.org/ticket/22408

Good, although I reiterate that it does not appear to respect the
orientation flag.

> Meanwhile, you can define a subdomain of E, U say, where the vector field 
> is everywhere regular and plot the restriction of the vector field to U. 
> For your example, U can be E minus the disk x^2+y^2 <= 0.01: ...

Yes, that works perfectly; thank you.

Now to try to track down how to set jmol parameters in a web page...

Tevian

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


Re: [sage-support] Re: arrows in 3d field plots

2019-01-31 Thread Eric Gourgoulhon
Le jeudi 31 janvier 2019 06:52:10 UTC+1, Tevian Dray a écrit : 
>
> >> You can use the plot functionality of vector fields on 
> >> Euclidean spaces to get better arrowheads: 
>
> OK; I can get jmol to work with some browsers, although it is painfully 
> slow.  But the results are very nice. 
>
>
Hopefully, some day threejs will replace jmol as the default 3d viewer:
https://trac.sagemath.org/ticket/22408


> Finally, is there a simple mechanism to enable Sage to plot vector fields 
> with singularities, such as a pole at the origin?  I've had no luck yet 
> trying to plot something like: 
>   E.vector_field((-y/(x^2+y^2),x/(x^2+y^2))) 
> I've tried piecing together nonsingular domains, although I'm possibly not 
> doing it correctly.  But there is surely a more elegant solution, such as 
> cutting off the vector field at some maximum magnitude. 
>

The cut off should definitely be added to the plot method of vector fields, 
among many other improvements to be done...
Meanwhile, you can define a subdomain of E, U say, where the vector field 
is everywhere regular and plot the restriction of the vector field to U. 
For your example, U can be E minus the disk x^2+y^2 <= 0.01:

sage: E. = EuclideanSpace()
sage: v = E.vector_field((-y/(x^2+y^2),x/(x^2+y^2)))
sage: U = E.open_subset('U', coord_def={E.cartesian_coordinates(): 
x^2+y^2>0.01})
sage: v.restrict(U).plot(max_range=1, scale=0.2)

In the above code,  "coord_def" stands for the coordinate definition of the 
open subset U and "v.restrict(U)" is the restriction of v to U.

Best wishes,

Eric.
 

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


Re: [sage-support] Scipy 1.1.0 instead of 1.2.0 built for Sage 8.6 ??? ALso cannot find libgfortran???

2019-01-31 Thread Ike Stoddard
THEY ARE THERE.

Under other circumstances, I would have thought of removing all other 
toolchains which were not current.
I will try to do so. My package manager is not finding the off-nominal 
configs.

Arch Linux 4.20.3 btw.

So that nothing is damaged, I must research if anything needs gcc-5 or -6. 
I thought they would not have remained once I upgraded. Silly me.

Thanks for all your help!

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


Re: [sage-support] Scipy 1.1.0 instead of 1.2.0 built for Sage 8.6 ??? ALso cannot find libgfortran???

2019-01-31 Thread Dima Pasechnik
So you don't have logs/pkgs/gfortran* at all?
Then it wasn't built, good. You can also run the "main" ./configure
with your options and check the lines starting from

checking SPKGs to install...

which should contain lines

gcc-7.2.0 not installed (configure check)
and
gfortran-7.2.0 not installed (configure check)

if you don't want to build gcc/gfortran.

If they are there, (and you continue having that errors about
libgfortran not found) it means that your fortran toolchain is messed up.
How exactly it hard to tell.
Can you de-install you gccs/gfortrans and re-intstall just one?


On Thu, Jan 31, 2019 at 2:31 AM Ike Stoddard  wrote:
>
> >> have you checked that configure accepted FC you supplied, and there were 
> >> no attempt to build gfortran by Sage?
> >> (e.g. look for logs/pkgs/gfortran, or look what you got in config.log)
>
> That is the clue. In gsl's config.log,
>   $ ./configure --prefix=/usr/local/src/Misc/sage-8.6/local 
> --libdir=/usr/local/src/Misc/sage-8.6/local/lib LIBS=-lopenblas   -lm
> and FC is not present in any gsl/src/config*.*
>
> How do I get it passed through?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

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