I suspect that, to make ytini work as an integrated part of Houdini under Windows so that yt DLLs can be loaded along with Houdini ones, it'll be necessary (a) to install yt using Houdini's built-in installation of python 2.7 and (b) to convince the installation scripts to use the MSVC compiler (...\...\cl.exe I think) rather than gcc, to compile the all associated C code (from cython, from extension libraries, whatever).
I'm not sure what it will take to do this -- passing special flags to every setup.py in every depended-on package? Or is it possible to put the right stuff in the environment and then let "pip install yt" do its thing?
Houdini's "hcustom" command, intended for building plugins, can be asked to spit out CFLAGS and LDFLAGS values that presumably match what Houdini was built with. That may be part of a clue.
On 12/11/19 9:29 PM, Naiman, Jill Palmer wrote:
Hi Ian,
It *can* matter if you are using yt to do any importing of things. If you use yt as a data reader and then turn all of your data into OpenVDB volumes, Houdini can simply read these OpenVDB volumes natively (i.e. http://ytini.com/tutorials/tutorial_amr.html). So it sort of depends on what avenue you are looking to go in.
Feel free to ping back if you end up wanting to use yt within Houdini, and you can email me directly if you end up going the route of yt -> OpenVDB and have issues on the Houdini end.
Cheers,
-Jill
----------------------------------
Jill P. Naiman, Ph.D.
Instructor, iSchool, UIUC
astronaiman.com
----------------------------------
________________________________
From: Ian Woodward