Excellent, thanks! I'm going to keep testing it on a few more machines I have access to, but I think this will be workable, and that when the time comes I can flip the switch so that it gets built. On Fri, Jan 28, 2011 at 3:20 PM, Chris Malone <chris.m.malone@gmail.com> wrote:
Hi Matt,
Sorry, that is what I was doing, but I was doing it in yt/utilities/ instead of the main yt directory! There was no output and I was perplexed...
Anyhow, I installed on my FC9 machine without problems. I did, however, receive the same warnings as Jeff.
Chris
On Fri, Jan 28, 2011 at 3:08 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Chris,
Once you switch the install flag and re-run
python2.6 setup.py build_ext -i
you should then be able to do:
python2.6 -c "import yt.utilities.libconfig_wrapper"
If there's an import error, it has failed. I shoudl also have mentioned, it's useful to know what kind of system (or if it's a supercomputer resource) it succeeds/fails on.
Thanks, and sorry for the confusion,
Matt
On Fri, Jan 28, 2011 at 3:06 PM, Chris Malone <chris.m.malone@gmail.com> wrote:
Sorry for my ignorance, but what exactly needs to be rebuilt? I pulled and updated from hg, but I'm not sure what I need to do (outside of changing the install flag) to test this...
Chris
On Fri, Jan 28, 2011 at 12:15 AM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi all,
I've added a wrapper for libconfig, along with a slightly modified version of the (LGPL'd, credits and license all included) libconfig source itself, to the current development tip. (The modification is to force all integers to be read as 64-bit.) By default it is turned off, because of an issue with locale setting for reading/writing floating point values.
If I could get a few people, next time they update, to open up yt/utilities/setup.py and change:
INSTALL_LIBCONFIG_WRAPPER = 0
to
INSTALL_LIBCONFIG_WRAPPER = 1
and just see if it builds, that would be extremely helpful. The issue here is that it's not clear to me if the file "xlocale.h" is going to be present on all systems; I've located it on all of the systems I've tested on so far, but that is not many. If it doesn't work for you, that'd be really good to know. Worse comes to worse and we can disable the locale code completely, but that worries me a bit.
I'm in the process of documenting how to use the libconfig wrapper, but for the next few days it's not being used by anything in yt.
Thanks for any testing ...
-Matt _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org