--
---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yay Matt!To give some extra motivation for those that weren't at the tutorial, everyone had a little dependency hell. BUT, the main problems came from people on macs, where it can be particularly tricky to keep track of 1) which python is running the show, 2) which dylibs are first in the dyld search path, and 3) where pyne is going to put its --user installation.That said, not all problems seem to be apple's fault. Recently anaconda seems to be causing mac-independent problems. Personally, I had anaconda running pyne just fine, but updated anaconda a few days ago and everything broke spectacularly in a confusing way. This is yet to be understood. Is anyone running the newest anaconda with the newest pyne on any platform? How about canopy?The only current consistently successful scheme for getting the newest pyne built on a mac appears to be a piecewise macports install of python and all necessary subpackages, an easy_install of cython (the macports one doesn't set itself as active properly), and a from-source build of the yt-3.0 repo (because the macports install of py27-yt doesn't have the new moab frontend in it).
On Tue, Nov 5, 2013 at 12:52 PM, Katy Huff <katy...@gmail.com> wrote:
Yay Matt!To give some extra motivation for those that weren't at the tutorial, everyone had a little dependency hell. BUT, the main problems came from people on macs, where it can be particularly tricky to keep track of 1) which python is running the show, 2) which dylibs are first in the dyld search path, and 3) where pyne is going to put its --user installation.That said, not all problems seem to be apple's fault. Recently anaconda seems to be causing mac-independent problems. Personally, I had anaconda running pyne just fine, but updated anaconda a few days ago and everything broke spectacularly in a confusing way. This is yet to be understood. Is anyone running the newest anaconda with the newest pyne on any platform? How about canopy?The only current consistently successful scheme for getting the newest pyne built on a mac appears to be a piecewise macports install of python and all necessary subpackages, an easy_install of cython (the macports one doesn't set itself as active properly), and a from-source build of the yt-3.0 repo (because the macports install of py27-yt doesn't have the new moab frontend in it).Oof, ok. I was not aware of these mac-specific issues. That makes the difficulty of this fix much higher..
Just wanted to chime in with a +1 for fixing build/dist issues. Almost all of the feedback that I get on PyNE is "it's cool, but it's a pain in the ass to install".
ppa is more Ubuntu specific and requires a little more thinking on the user's part. The ideal thing would be to get PyNE into the Debian repository which then gets downstream into the Ubuntu distribution as well. From what I understand, it would be a bit more work than simply creating a ppa though.
Any thoughts on how we would handle data for a binary release? Since some of our data has changed, it might be good for someone (Anthony?) to remind us of what data we absolutely cannot redistribute.
Thanks for the reminder about data redistribution, Anthony.
As for ppa, would we not have the same package dependency problems since it is merely a .deb? The only ways I see to do it are to 1) include source for MOAB, PyTAPS, etc. and build/install it from one .deb, or 2) have a .deb for each piece.
On Thu, Nov 7, 2013 at 1:45 AM, Anthony Scopatz <sco...@gmail.com> wrote:
On Wed, Nov 6, 2013 at 1:47 PM, Paul Romano <paul.k...@gmail.com> wrote:
ppa is more Ubuntu specific and requires a little more thinking on the user's part. The ideal thing would be to get PyNE into the Debian repository which then gets downstream into the Ubuntu distribution as well. From what I understand, it would be a bit more work than simply creating a ppa though.
better
That would be great! Thanks Paul.
I'm not sure
the necessary infrastructure for doing buildbots, but one of our devs
(Kacper Kowalik, CC'd on this email but also out of contact for a few
days) has had success getting VMs set up to build Conda packages in
the past. For Conda, I believe providing conda *recipes* is not too
hard, as they can be submitted via PRs to the conda-recipes repo.
And
binstar.org exists to provide conda packages, although I think their
support for "teams" is still being built up.
I've recently been in touch with a MacPorts dev about getting the yt
package there updated (thanks to a heads up from Katy that it's in
there, but is woefully out of date!) and I think that Kurt Schwehr has
done some maintenance of various scientific packages in fink
and might
be willing to update those as well. Is there any interest in trying
to have modules for PyNE on XSEDE resources, or is that not a usual
platform for deployment?
Anyway, I'd be interested in seeing if we can pool resources on this
front, whether that be in the form of CI servers, VMs, etc etc.
That sounds exactly right to me. :)
>
>>
>> I've recently been in touch with a MacPorts dev about getting the yt
>> package there updated (thanks to a heads up from Katy that it's in
>> there, but is woefully out of date!) and I think that Kurt Schwehr has
>> done some maintenance of various scientific packages in fink
>
>
> That would be awesome
>
>>
>> and might
>> be willing to update those as well. Is there any interest in trying
>> to have modules for PyNE on XSEDE resources, or is that not a usual
>> platform for deployment?
>
>
> I don't think XSEDE is on anyone's critical path, but that isn't to say that
> it shouldn't be. Paul Romano might have the most experience...
>
>>
>>
>> Anyway, I'd be interested in seeing if we can pool resources on this
>> front, whether that be in the form of CI servers, VMs, etc etc.
>
>
> I, of course, would be super excited to see this happen. In thinking about
> this last night, I bet the reason that yt and PyNE hit this problem so hard
> is that we are really trying to be Cython projects. As such, we are
> stretching
> the existing systems to their limits....where nothing works :).
>
So what can I do to support this effort? I've been attempting to find
CI infrastructure, but those efforts have stalled due to some upcoming
travel.
Hi Anthony,
Homebrew uses pip to manage pure python dependencies. See: https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python
I just tried building pyne on my brew-powered mac laptop using a checkout of the PyNE staging branch on github. I successfully built it but there were two issues, one of which might require a slight modification of the build instructions.
The first issue is due to the fact that Homebrew builds a framework install of python. This sort of install is integrated with the OS and is incompatible with the --user flag for setup.py, so the install instructions will not work for Homebrew users. However, I can still build PyNE after omitting the flag. The second issue is that I need to set DYLD_FALLBACK_LIBRARY_PATH, as noted in the readme. However, it's not clear where the dylib lives - in my case it was in the build subfolder of the root of the PyNE repository.
On Thu, Nov 14, 2013 at 1:17 AM, Nathan Goldbaum <natha...@gmail.com> wrote:
Hi Anthony,
Homebrew uses pip to manage pure python dependencies. See: https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python
I just tried building pyne on my brew-powered mac laptop using a checkout of the PyNE staging branch on github. I successfully built it but there were two issues, one of which might require a slight modification of the build instructions.
The first issue is due to the fact that Homebrew builds a framework install of python. This sort of install is integrated with the OS and is incompatible with the --user flag for setup.py, so the install instructions will not work for Homebrew users. However, I can still build PyNE after omitting the flag. The second issue is that I need to set DYLD_FALLBACK_LIBRARY_PATH, as noted in the readme. However, it's not clear where the dylib lives - in my case it was in the build subfolder of the root of the PyNE repository.
Thinking about it, I'm not sure the build dylib is the one you want to link to. The installed destination of the libpyne.dylib is probably the one you want to link to. But, if it's working, hey, it probably doesn't matter!
-- -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -- Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://bit.ly/pphw-cal Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu Faculty Director, Advanced Computing Infrastructure
Wouldn't it matter if one were to delete the build directory after installation?
On 11/14/2013 10:25 AM, Katy Huff wrote:
On Thu, Nov 14, 2013 at 1:17 AM, Nathan Goldbaum <natha...@gmail.com> wrote:
Hi Anthony,
Homebrew uses pip to manage pure python dependencies. See: https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python
I just tried building pyne on my brew-powered mac laptop using a checkout of the PyNE staging branch on github. I successfully built it but there were two issues, one of which might require a slight modification of the build instructions.
The first issue is due to the fact that Homebrew builds a framework install of python. This sort of install is integrated with the OS and is incompatible with the --user flag for setup.py, so the install instructions will not work for Homebrew users. However, I can still build PyNE after omitting the flag. The second issue is that I need to set DYLD_FALLBACK_LIBRARY_PATH, as noted in the readme. However, it's not clear where the dylib lives - in my case it was in the build subfolder of the root of the PyNE repository.
Thinking about it, I'm not sure the build dylib is the one you want to link to. The installed destination of the libpyne.dylib is probably the one you want to link to. But, if it's working, hey, it probably doesn't matter!
Paul
-- -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -- Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://bit.ly/pphw-cal Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu Faculty Director, Advanced Computing Infrastructure
Thanks for the info about homebrew and Python Nathan. I was not aware at all that is how it works.
Also thanks for hammering on PyNE. I think that the level of trouble you experienced, even though you were able to overcome it, would have been too much for most of our potential users.
Also thanks for fixing up the docs Katy. Do you want to make an issue for this?
--
--
---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Right now I'm using brew, but for MPL I use them all (much to the chagrin of TravisCI).
https://github.com/matplotlib/mpl_mac_testing
It needs a little polish to get all the wires connected, but I'm close to being able to do installation testing for MPL on a bunch of mac environments.
Hello All,
--
---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.