View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012289ParaViewFeaturepublic2011-06-20 16:522012-02-08 17:28
ReporterDavid Partyka 
Assigned ToDavid Partyka 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.12Fixed in Version3.12 
Summary0012289: Integrate Yt PythonProgrammableFilters
DescriptionHi Dave,

(Nice to meet you. :)

Here's a brief rundown on installing yt in isolation.

yt is a standard python package with a number of optional
dependencies. Basically there are only two Python libraries that are
essential for its operation -- NumPy and h5py (which itself depends on
HDF5) and it will also try to build with support for FreeType and
libpng. It optionally depends on mercurial (likely not necessary
here), matplotlib (also likely not necessary here) and a couple
others. Cython is a python package that we use for code generation,
so it would be nice to have it accessible, but since it's only used at
build time one could imagine distributing the pre-built Cython.

To build it, we typically distribute a full software stack built
through an installer. That's also not necessary here. Building and
installing yt itself only requires downloading yt:

http://hg.enzotools.org/yt/get/yt.tar.bz2 [^]

will get the latest development branch, and replacing the final "yt"
with "stable" will pull the latest stable branch. Untar this and
enter that directory, and export PNG_DIR, FTYPE_DIR and HDF5_DIR to
point to the roots of libpng, freetype2 and hdf5 respectively, and
then run "python setup.py install" as one usually would. It utilizes
distribute, so it can accept --prefix and so on for installing into a
non site-packages location.

Does that make sense? I'm also willing to change/massage the build
procedure to work with ParaView/CMake, if at all necessary; in
particular, the FTYPE and PNG detection mechanisms might be able to
utilize CMake somehow to identify where to look for the necessary
files.

Thanks very much for your thoughts on this,

Matt
TagsNo tags attached.
ProjectKitware
Topic Name12289-yt-plugin-integration
Typefeature
Attached Files

 Relationships

  Notes
(0027548)
David Partyka (developer)
2011-10-07 20:43

Merged into master
(0028243)
Utkarsh Ayachit (administrator)
2012-02-08 17:28

Closing bugs sitting in "customer review" for a long time.

 Issue History
Date Modified Username Field Change
2011-06-20 16:52 David Partyka New Issue
2011-06-20 16:52 David Partyka Assigned To => David Partyka
2011-09-29 12:44 David Partyka Status backlog => todo
2011-09-29 12:44 David Partyka Status todo => active development
2011-09-29 12:45 David Partyka Target Version => 3.12
2011-10-07 20:16 David Partyka Status active development => gatekeeper review
2011-10-07 20:16 David Partyka Resolution open => fixed
2011-10-07 20:43 David Partyka Topic Name => 12289-yt-plugin-integration
2011-10-07 20:43 David Partyka Note Added: 0027548
2011-10-07 20:43 David Partyka Status gatekeeper review => customer review
2011-11-11 17:08 Utkarsh Ayachit Fixed in Version => 3.12
2012-02-08 17:28 Utkarsh Ayachit Status customer review => closed
2012-02-08 17:28 Utkarsh Ayachit Note Added: 0028243


Copyright © 2000 - 2018 MantisBT Team