Re: [AMBER-Developers] Python request

From: Jason Swails <>
Date: Thu, 21 Oct 2010 17:07:49 -0400

On Thu, Oct 21, 2010 at 4:47 PM, Mengjuei Hsieh <> wrote:

> On Thu, Oct 21, 2010 at 1:12 PM, Jason Swails <>
> wrote:
> > It was fairly trivial to get it to work for Linux, since it requires
> nothing
> > but a ./configure make make install, but the only way I could get it to
> work
> > on Mac OS X (specifically 10.6 SL), was to steal the relevant Macports
> diff
> > files, specifically use the Xcode gcc-4.2, and build it as an Apple
> > Framework, though the end result is that I have a working copy tested and
> > running on both Ubuntu and Mac OS X 10.6, with the intel and gnu
> compilers.
> Just a slightly off-topic question: does macports' python_select port
> help to solve the Mac problem?

Not if we're trying to install an Amber-dedicated python version.
python_select, in my experience, will only work with pythons installed via
Macports, which is not what I've employed here. I copied the Macports diff
files into the git repo and had the configure script mirror the important
parts of what Macports' process in building Python-2.6. However, when I ran
python_select after I installed AmberTools, the new version built with
AmberTools did not show up (and I didn't quite expect it to).

There's always the -nopython option that will allow the user to customize
their own Python versions/installation, etc., but since this is specifically
for Amber and it won't trod on the system's toes, I don't really think this
is an issue... At the end of the day, the amber-python works with Mac OS X
10.6. I'd be interested to hear if/how it works on 10.5, but I don't have
one of those machines available to try it out on. It currently requires an
Xcode that comes bundled with gcc-4.2.


> Best,
> --
> Mengjuei
> _______________________________________________
> AMBER-Developers mailing list

Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
AMBER-Developers mailing list
Received on Thu Oct 21 2010 - 14:30:05 PDT
Custom Search