Changes between Version 18 and Version 19 of InstallMacHardWay


Ignore:
Timestamp:
Jan 27, 2016 1:31:11 PM (8 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallMacHardWay

    v18 v19  
    11= Installing GSAS-II on Mac OS X =
    22
    3 Prerequisite: Before GSAS-II can be used on your computer, you must have Python installed with a number of [PythonPackages required Python packages] (see below.) You must also have the subversion (svn) package installed, which is standard on all Macs prior to Mountain Lion (10.8), but can be loaded easily at least on 10.9.
     3Prerequisite: Before GSAS-II can be used on your computer, you must have Python 2.7.x installed with a number of [PythonPackages required Python packages] (see below.) You must also have the subversion (svn) package installed, which is standard on all Macs prior to Mountain Lion (10.8), but can be loaded easily at least on 10.9.
    44
    55GSAS-II has been tested by us on Intel (i386) Macs running 10.5 (Leopard), 10.6 (Snow Leopard) and 10.7 (Lion). We have heard from people running with 10.8 (Mountain Lion) but have not tested this ourselves yet. Testing in 10.9 (Mavericks) is in progress. Getting GSAS-II to run on Macs running 10.4 or with a PPC (G4/G5) processor is likely possible, but will require considerable work since you would need to build python and its packages from source code and compile the GSAS-II Fortran code; this is not recommended except to the cognoscenti.
     
    2121=== Python ===
    2222
    23 Python is a computer scripting language, which means that one must have the Python interpreter installed on your Mac to run a Python program. Macs do come with python installed, but not with all the [PythonPackages Python packages required by GSAS-II], so some Python software installation is required.  Note that GSAS-II has not been fully tested on the Mac with wxPython 2.9, which is the first Mac release to support 64-bit Python.
     23Python is a computer scripting language, which means that one must have the Python interpreter installed on your Mac to run a Python program. Macs do come with python installed, but not with all the [PythonPackages Python packages required by GSAS-II], so some Python software installation is required. You must use a 2.7 version of Python. GSAS-II will not run under Python 3.x. Note that we are seeing some minor GUI bugs with wxPython 2.9 and later, which is the first Mac release to support 64-bit Python. Please report them.
    2424
    25 We use the [http://www.enthought.com/products/epd.php Enthought Python Distribution] (EPD) package for our code development (Argonne has a site license) and have done just a bit of testing with the newer product, Enthought Canopy. The free versions of these packages will run GSAS-II, with addition of one small package that is self-installed (see below). While OS X does come with installed versions of Python, they are pretty old and do not contain all the packages GSAS-II needs, so adding the missing packages is probably not a good idea. Use of the Fink or !DarwinPorts versions of Python is also not the best choice -- the GUI and graphics will be shown in X-windows rather than in Mac style. Note that at this time, Python 2.7 is recommended and probably required for GSAS-II. GSAS-II does not yet support Python 3.0+.
     25We mostly use the [http://www.enthought.com/products/epd.php Enthought Python Distribution] (EPD) package for our code development, but most users seem to be using Continuum Inc's [https://www.continuum.io/downloads Anaconda Python] package (Note: be sure to use the **Python 2.7** version) and do some testing with that. We have also done just a bit of testing with Enthought's newer product, Canopy. The free versions of EPD and Canopy packages will run GSAS-II, with addition of one small package that is self-installed (see below). While OS X does come with installed versions of Python, they are pretty old and do not contain all the packages GSAS-II needs, so adding the missing packages is probably not a good idea. Use of the Fink or !DarwinPorts versions of Python is also not the best choice -- the GUI and graphics will be shown in X-windows rather than in Mac style.
     26
     27** Note that at this time, Python 2.7 is recommended and probably required for GSAS-II. GSAS-II does not yet support Python 3.0+.**
     28
     29 * See Continuum Inc's web page to download and install [https://www.continuum.io/downloads Anaconda Python]. You will need to use the conda command to download wxpython and possibly other packages.
    2630
    2731 * The freely distributed [http://www.enthought.com/products/epd_free.php Enthought Canopy Express Python package] and its precursor, [https://s3.amazonaws.com/storage.enthought.com/installers/epd_free-7.3-2-macosx-i386.dmg the older EPDfree 32-bit Mac installer], provides everything one needs to run GSAS-II, except the interface needed for OpenGL graphics ([http://pypi.python.org/pypi/PyOpenGL PyOpenGL]) which is distributed with GSAS-II; GSAS-II will attempt to install this package for you when first started. The paid subscription versions of Canopy/EPD do contain this package and also work fine.