Mag Gam wrote:
Has anyone compiled VTK, http://www.vtk.org/, into sage? I would like
to compile this but would need some assistance and/or tips.
This is very old, but it used to work:
http://sage.math.washington.edu/home/jsp/SPKGS/ETS/
Somehow I lost interest, so you are mostly on your own.
There is an experimental spkg for vtk. But I think it needs some serious
updating; last time I tired it, it did not compile on my machine. Though you
might want to give it a try.
sage: experimental_packages()
([], ['4ti2.p0', 'PyQt4-4.6.2', 'PyVTK-0.4.74', 'QScintilla2-2.4',
'asymptote-1.29', '
Hi,
Ondrej Certik wrote:
> we spent about 6 hours with Prabhu trying to install VTK in Sage on
> Mac on the scipy09. We failed and Prabhu suggested to just use the
> framework build of python.
I have some good news on this front. This morning I got mayavi working
offscreen on bsd.math.w.e. I
On Wed, Aug 26, 2009 at 9:45 AM, Brian Granger wrote:
>
>> Wait, so is a key point that if one builds Python for Sage as a
>> framework, then Python is no longer contained in SAGE_ROOT/local/?
>> Is that what you're saying? I can see numerous problems and
>> confusion arising as a result. Hope
> Wait, so is a key point that if one builds Python for Sage as a
> framework, then Python is no longer contained in SAGE_ROOT/local/?
> Is that what you're saying? I can see numerous problems and
> confusion arising as a result. Hopefully it can still be in
> SAGE_ROOT/local, and maybe there i
On Wed, Aug 26, 2009 at 7:16 AM, Tim Lahey wrote:
>
>
> On Aug 26, 2009, at 2:54 AM, Robert Bradshaw wrote:
>
>>
>> Any thoughts on how this would impact having multiple versions of
>> Sage on the same machine? What about being able to move them around/
>> delete them?
>>
>> - Robert
>
>
> New fra
On Aug 26, 2009, at 2:54 AM, Robert Bradshaw wrote:
>
> Any thoughts on how this would impact having multiple versions of
> Sage on the same machine? What about being able to move them around/
> delete them?
>
> - Robert
New frameworks generally live in /Library/Frameworks, although I expect
t
On Aug 25, 2009, at 11:10 AM, Tim Lahey wrote:
>
>
> On Aug 25, 2009, at 2:00 PM, William Stein wrote:
>
>>
>> On Tue, Aug 25, 2009 at 10:54 AM, Tim Lahey
>> wrote:
>>>
>>>
>>> One of the nice things about Framework builds is that they're nice
>>> and
>>> contained. Everything is in one directory
On Tue, Aug 25, 2009 at 11:21 AM, William Stein wrote:
>
> On Tue, Aug 25, 2009 at 11:15 AM, Ondrej Certik wrote:
>>
>> On Tue, Aug 25, 2009 at 11:10 AM, Tim Lahey wrote:
>>>
>>>
>>> On Aug 25, 2009, at 2:00 PM, William Stein wrote:
>>>
On Tue, Aug 25, 2009 at 10:54 AM, Tim Lahey
wr
On Tue, Aug 25, 2009 at 11:15 AM, Ondrej Certik wrote:
>
> On Tue, Aug 25, 2009 at 11:10 AM, Tim Lahey wrote:
>>
>>
>> On Aug 25, 2009, at 2:00 PM, William Stein wrote:
>>
>>>
>>> On Tue, Aug 25, 2009 at 10:54 AM, Tim Lahey
>>> wrote:
One of the nice things about Framework builds is
On Tue, Aug 25, 2009 at 11:10 AM, Tim Lahey wrote:
>
>
> On Aug 25, 2009, at 2:00 PM, William Stein wrote:
>
>>
>> On Tue, Aug 25, 2009 at 10:54 AM, Tim Lahey
>> wrote:
>>>
>>>
>>> One of the nice things about Framework builds is that they're nice
>>> and
>>> contained. Everything is in one direct
On Aug 25, 2009, at 2:00 PM, William Stein wrote:
>
> On Tue, Aug 25, 2009 at 10:54 AM, Tim Lahey
> wrote:
>>
>>
>> One of the nice things about Framework builds is that they're nice
>> and
>> contained. Everything is in one directory, much like Sage. So, all
>> the
>> python details would
On Tue, Aug 25, 2009 at 10:54 AM, Tim Lahey wrote:
>
>
> On Aug 25, 2009, at 1:46 PM, William Stein wrote:
>>
>> I'm fine with switching to the framework build for Sage if it "just
>> works". What are the drawbacks? When I think about the drawbacks now
>> the only thing I can think of is "Michae
On Aug 25, 2009, at 1:46 PM, William Stein wrote:
>
> I'm fine with switching to the framework build for Sage if it "just
> works". What are the drawbacks? When I think about the drawbacks now
> the only thing I can think of is "Michael Abshoff didn't want to
> switch to it". But I can't think
On Tue, Aug 25, 2009 at 10:39 AM, Ondrej Certik wrote:
>
> Hi,
>
> we spent about 6 hours with Prabhu trying to install VTK in Sage on
> Mac on the scipy09. We failed and Prabhu suggested to just use the
> framework build of python.
>
> I will try in the second half of September (I am busy till th
On Wed, Jul 8, 2009 at 12:20 AM, Prabhu
Ramachandran wrote:
>
> On 07/08/09 10:56, Ondrej Certik wrote:
>>> I'll rebuild VTK on my mac tonight and check how that works.
>>
>> Many thanks for the update and for working on it. If it cannot be used
>> offscreen, then I think it's a showstopper, that
On Jul 7, 2009, at 12:33 PM, Prabhu Ramachandran wrote:
>
>
> The one problem I noticed with 1 above is that off screen support on
> OS
> X still needs to create an actual window. I will have to recheck on
> this with a recent VTK build though.
>
This doesn't surprise me. Mesa is a software r
On 07/08/09 10:56, Ondrej Certik wrote:
>> I'll rebuild VTK on my mac tonight and check how that works.
>
> Many thanks for the update and for working on it. If it cannot be used
> offscreen, then I think it's a showstopper, that will create Mac a
> second class platform, that is incapable of hos
On Tue, Jul 7, 2009 at 10:33 AM, Prabhu
Ramachandran wrote:
>
> On 07/01/09 03:22, Ondrej Certik wrote:
>>> If you have questions about this, I would simply join the visit users list:
>>>
>>> https://email.ornl.gov/mailman/listinfo/visit-users
>>
>> Thanks for this, I'll have a look at how to fix/
On 07/01/09 03:22, Ondrej Certik wrote:
>> If you have questions about this, I would simply join the visit users list:
>>
>> https://email.ornl.gov/mailman/listinfo/visit-users
>
> Thanks for this, I'll have a look at how to fix/patch VTK to build on
> Mac. I think Prabhu has a commit access, so
On Wed, Jul 1, 2009 at 1:01 AM, Ondrej Certik wrote:
>
> On Tue, Jun 30, 2009 at 4:58 PM, Tim Lahey wrote:
>>
>> On Tue, Jun 30, 2009 at 6:47 PM, Ondrej Certik wrote:
>>>
>>>
>>> Do Mac systems have /usr/include/X11? the bsd.math has it. If generaly
>>> not, then I still need to tweak the configur
On Tue, Jun 30, 2009 at 4:58 PM, Tim Lahey wrote:
>
> On Tue, Jun 30, 2009 at 6:47 PM, Ondrej Certik wrote:
>>
>>
>> Do Mac systems have /usr/include/X11? the bsd.math has it. If generaly
>> not, then I still need to tweak the configure to build without X11 at
>> all, if that is possible (maybe no
On Tue, Jun 30, 2009 at 6:47 PM, Ondrej Certik wrote:
>
>
> Do Mac systems have /usr/include/X11? the bsd.math has it. If generaly
> not, then I still need to tweak the configure to build without X11 at
> all, if that is possible (maybe not).
Not always. The user has to explicitly install the X11
On Tue, Jun 30, 2009 at 4:00 PM, Brian Granger wrote:
>
> Ondrej,
>
>> Many thanks for this! Some comments below:
>>
>>>
>>> Here is their main page for information about building VisIt:
>>>
>>> https://wci.llnl.gov/codes/visit/source.html
>>>
>>> Here is the "build_visit" shell script that will b
Ondrej,
> Many thanks for this! Some comments below:
>
>>
>> Here is their main page for information about building VisIt:
>>
>> https://wci.llnl.gov/codes/visit/source.html
>>
>> Here is the "build_visit" shell script that will build visit from
>> source (check it out, it is 1 lines long and
On Tue, Jun 30, 2009 at 3:52 PM, Ondrej Certik wrote:
> Hi Brian!
>
> On Tue, Jun 30, 2009 at 1:13 PM, Brian Granger wrote:
>>
>> Ondrej,
>>
>> So I heard back from the VisIt devs and thankfully, they keep really
>> good records of how they build everything. What they go through to
>> build VisIt
Hi Brian!
On Tue, Jun 30, 2009 at 1:13 PM, Brian Granger wrote:
>
> Ondrej,
>
> So I heard back from the VisIt devs and thankfully, they keep really
> good records of how they build everything. What they go through to
> build VisIt is insane. But here are the references that I think could
> hel
Ondrej,
So I heard back from the VisIt devs and thankfully, they keep really
good records of how they build everything. What they go through to
build VisIt is insane. But here are the references that I think could
help you...
Here is their main page for information about building VisIt:
https
On Tue, Jun 30, 2009 at 6:53 PM, Ondrej Certik wrote:
>
> On Tue, Jun 30, 2009 at 10:43 AM, Brian Granger
> wrote:
>>
>>> One important
>>> thing to note is where the Framework goes. It will be installed in
>>> $SAGE_LOCAL/Frameworks. The bin and lib directories (where
>>> executables and site-
On Tue, Jun 30, 2009 at 10:43 AM, Brian Granger wrote:
>
>> One important
>> thing to note is where the Framework goes. It will be installed in
>> $SAGE_LOCAL/Frameworks. The bin and lib directories (where
>> executables and site-packages) end up will be subdirectories of this.
>> You will proba
> One important
> thing to note is where the Framework goes. It will be installed in
> $SAGE_LOCAL/Frameworks. The bin and lib directories (where
> executables and site-packages) end up will be subdirectories of this.
> You will probably need to point PATH to something like
> $SAGE_LOCAL/Framewo
I am attaching my spkg-install script that I have used to generate a
Framework build of Python 2.5.1. You might have to tweak it for later
versions of Python, but this should get you started. One important
thing to note is where the Framework goes. It will be installed in
$SAGE_LOCAL/Frameworks.
On Jun 30, 2009, at 12:32 PM, Ondrej Certik wrote:
>
> Is Sage using nonframework Python build? I don't know.
Yes, it's using a regular build. I think some people are
looking at a framework build .spkg because it's necessary
for any GUI work on OS X.
Cheers,
Tim.
---
Tim Lahey
PhD Candidate,
On Tue, Jun 30, 2009 at 10:06 AM, Brian Granger wrote:
>
> Ondrej,
>
> The traditional way of building VTK on a Mac is to build it as a Cocoa
> or Carbon library. This means a couple of things:
>
> * Python must be built as a framework.
> * The Mac native GUI is used, not X11.
> * You are using a
Ondrej,
The traditional way of building VTK on a Mac is to build it as a Cocoa
or Carbon library. This means a couple of things:
* Python must be built as a framework.
* The Mac native GUI is used, not X11.
* You are using all of Apples OpenGL libraries.
If you stick to these assumptions, gett
On 06/30/09 00:42, William Stein wrote:
>> Oops, sage-4.0.2 doesn't build on bsd.math. Here is what I get after a
>> long compile:
>
> For what it is worth, sage-4.0.2 does build fine on bsd.math. That's
> where I build all the OS X 10.5 intel binaries.Since you didn't
> actually post anythi
On Mon, Jun 29, 2009 at 10:37 AM, Prabhu
Ramachandran wrote:
>
> On 06/29/09 14:58, William Stein wrote:
>> On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote:
>>> Hi,
>>>
>>> the optional vtk package fails to buid on Mac, it fails to configure.
>>> I didn't like the spkg install much, so I joi
On Mon, Jun 29, 2009 at 3:37 PM, William Stein wrote:
>
> On Mon, Jun 29, 2009 at 10:53 PM, Ondrej Certik wrote:
>>
>> On Mon, Jun 29, 2009 at 1:12 PM, William Stein wrote:
>>>
>>> On Mon, Jun 29, 2009 at 8:30 PM, Prabhu
>>> Ramachandran wrote:
On 06/29/09 22:07, Prabhu Ramachandran wrot
On Mon, Jun 29, 2009 at 10:53 PM, Ondrej Certik wrote:
>
> On Mon, Jun 29, 2009 at 1:12 PM, William Stein wrote:
>>
>> On Mon, Jun 29, 2009 at 8:30 PM, Prabhu
>> Ramachandran wrote:
>>>
>>> On 06/29/09 22:07, Prabhu Ramachandran wrote:
On 06/29/09 14:58, William Stein wrote:
> On Mon, Jun
On Mon, Jun 29, 2009 at 1:12 PM, William Stein wrote:
>
> On Mon, Jun 29, 2009 at 8:30 PM, Prabhu
> Ramachandran wrote:
>>
>> On 06/29/09 22:07, Prabhu Ramachandran wrote:
>>> On 06/29/09 14:58, William Stein wrote:
On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote:
> Hi,
>
>
On Mon, Jun 29, 2009 at 8:30 PM, Prabhu
Ramachandran wrote:
>
> On 06/29/09 22:07, Prabhu Ramachandran wrote:
>> On 06/29/09 14:58, William Stein wrote:
>>> On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote:
Hi,
the optional vtk package fails to buid on Mac, it fails to configur
On 06/29/09 22:07, Prabhu Ramachandran wrote:
> On 06/29/09 14:58, William Stein wrote:
>> On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote:
>>> Hi,
>>>
>>> the optional vtk package fails to buid on Mac, it fails to configure.
>>> I didn't like the spkg install much, so I joined the Mac and l
On 06/29/09 14:58, William Stein wrote:
> On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote:
>> Hi,
>>
>> the optional vtk package fails to buid on Mac, it fails to configure.
>> I didn't like the spkg install much, so I joined the Mac and linux
>> version and it now configures and starts comp
On Mon, Jun 29, 2009 at 10:06 AM, Prabhu
Ramachandran wrote:
>
> On 06/29/09 14:37, Ondrej Certik wrote:
>> the optional vtk package fails to buid on Mac, it fails to configure.
>> I didn't like the spkg install much, so I joined the Mac and linux
>> version and it now configures and starts compil
On 06/29/09 14:37, Ondrej Certik wrote:
> the optional vtk package fails to buid on Mac, it fails to configure.
> I didn't like the spkg install much, so I joined the Mac and linux
> version and it now configures and starts compiling, but then it fails
> with:
>
> http://code.google.com/p/femhub/
On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote:
> Hi,
>
> the optional vtk package fails to buid on Mac, it fails to configure.
> I didn't like the spkg install much, so I joined the Mac and linux
> version and it now configures and starts compiling, but then it fails
> with:
>
> http://cod
Ondrej Certik wrote:
> On Nov 29, 2007 6:34 PM, Jaap Spies <[EMAIL PROTECTED]> wrote:
>> http://www.aero.iitb.ac.in/~prabhu/Software
>> https://svn.enthought.com/enthought/wiki/TVTK
>>
>> This looks very interesting.
>
> It's currently pain to install, but with the help of Prabhu and Gael I
> cr
Ondrej Certik wrote:
> On Nov 29, 2007 6:34 PM, Jaap Spies <[EMAIL PROTECTED]> wrote:
>> Today I installed vtk_meta-1.spkg.
>>
>> I'm searching for a replacement in SAGE for VPython (an amazing (teaching)
>> tool).
>> http://www.vpython.org/
>>
>> Remembering a note on the VPython mailing list br
On Nov 29, 2007 6:34 PM, Jaap Spies <[EMAIL PROTECTED]> wrote:
>
> Today I installed vtk_meta-1.spkg.
>
> I'm searching for a replacement in SAGE for VPython (an amazing (teaching)
> tool).
> http://www.vpython.org/
>
> Remembering a note on the VPython mailing list brought me here:
>
> http://ww
I have a patch in my spkgs directory (vtk_plot.hg)
If you apply it, there will be 3 functions
vtk_plot_surface, vtk_plot_array, and vtk_plot_3d_iso
For example
sage: f=lambda x,y:sin(sqrt(x^2+y^2))
sage: vtk_plot_surface(f,-2,2,-2,2,num_points=100)
On Nov 7, 8:02 am, "William Stein" <[EMA
On Nov 7, 2007 1:00 AM, Joshua Kantor <[EMAIL PROTECTED]> wrote:
>
> The problem is that on Linux, if you don't have the opengl libraries
> (typically libgl1-mesa-dev) then vtk won't build but the package exits
> successfully. I guess I need to add my own tests for open gl libraries
> on linux lik
The problem is that on Linux, if you don't have the opengl libraries
(typically libgl1-mesa-dev) then vtk won't build but the package exits
successfully. I guess I need to add my own tests for open gl libraries
on linux like I do for tcl/tk.
Josh
On Nov 5, 10:09 pm, "William Stein" <[EMAIL PR
52 matches
Mail list logo