MantisBT - ParaView
View Issue Details
0012289ParaViewFeaturepublic2011-06-20 16:522012-02-08 17:28
David Partyka 
David Partyka 
normalminorhave not tried
closedfixed 
 
3.123.12 
Kitware
12289-yt-plugin-integration
feature
0012289: Integrate Yt PythonProgrammableFilters
Hi 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
No tags attached.
Issue History
2011-06-20 16:52David PartykaNew Issue
2011-06-20 16:52David PartykaAssigned To => David Partyka
2011-09-29 12:44David PartykaStatusbacklog => todo
2011-09-29 12:44David PartykaStatustodo => active development
2011-09-29 12:45David PartykaTarget Version => 3.12
2011-10-07 20:16David PartykaStatusactive development => gatekeeper review
2011-10-07 20:16David PartykaResolutionopen => fixed
2011-10-07 20:43David PartykaTopic Name => 12289-yt-plugin-integration
2011-10-07 20:43David PartykaNote Added: 0027548
2011-10-07 20:43David PartykaStatusgatekeeper review => customer review
2011-11-11 17:08Utkarsh AyachitFixed in Version => 3.12
2012-02-08 17:28Utkarsh AyachitStatuscustomer review => closed
2012-02-08 17:28Utkarsh AyachitNote Added: 0028243

Notes
(0027548)
David Partyka   
2011-10-07 20:43   
Merged into master
(0028243)
Utkarsh Ayachit   
2012-02-08 17:28   
Closing bugs sitting in "customer review" for a long time.