Changes between Version 9 and Version 10 of InstallMacHardWay


Ignore:
Timestamp:
Oct 26, 2012 3:00:27 PM (9 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallMacHardWay

    v9 v10  
    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.)
     3Prerequisite: 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).
    44
    5 GSAS-II has only been run on Intel (i386) Macs running 10.5 (Leopard) and 10.6 (Snow Leopard). We expect no problems with 10.7 (Lion) or 10.8 (Mountain Lion). Getting GSAS-II to run on 10.4 or PPC (G4/G5) Macs is likely possible, but will require considerable work since you would need to build python and its packages from source code, subversion and compile the GSAS-II Fortran code; this is not recommended except to the cognoscenti.
     5GSAS-II has been tested by us on Intel (i386) Macs running 10.5 (Leopard), 10.6 (Snow Leopard) and 10.7 (Lion). We expect no problems with 10.8 (Mountain Lion) but have not tested ourselves. Getting GSAS-II to run on 10.4 or PPC (G4/G5) Macs is likely possible, but will require considerable work since you would need to build python and its packages from source code, subversion and compile the GSAS-II Fortran code; this is not recommended except to the cognoscenti.
    66
    77=== Python ===
     
    2222 * [http://www.activestate.com/activepython ActiveState ActivePython] is a possible alternative to EPD. This is also commercial licensed software, where there is a free version with no support. We have not tried this yet. If it works for you, please let us know.
    2323
     24=== Subversion ===
     25
     26If you are running 10.7 (Lion) or earlier, skip this step. For 10.8 (Mountain Lion) you must install the subversion (svn) package. To do this install one of the following: Apple's Command Line Tools, or Apple's Xcode development environment, a 3rd party SVN package, or build from source code, see http://subversion.apache.org/download/. The Command Line Tools and Xcode can be downloaded from the Apple Developer's web site (https://developer.apple.com/) or can possibly be found on the OS X install DVD. A free 3rd party version of Subversion from WANdisco is here: http://www.wandisco.com/get/?f=subversion-binaries/1.7/Subversion-1.7.7_10.8.x.pkg.
     27
    2428=== Compiling Fortran Code ===
    2529
    26 You can probably skip this step: GSAS-II requires a small number of Fortran routines that are incorporated as Python packages (.so files). If you use Python 2.7 and ac OS X 10.5 and 10.6+, GSAS-II should run with distributed files. If you are using less common, you may need to compile the Fortran routines yourself using the !NumPy f2py routine and the compiler of your choice. Both G77 and GFortran have worked on the Mac.
     30Please skip this step, unless you have an older computer running OS X 10.4 or a PPC (G4, etc.) CPU.
     31
     32GSAS-II requires a small number of Fortran routines that are incorporated as Python packages (.so files). If you use Python 2.7 and ac OS X 10.5 and 10.6+, GSAS-II should run with distributed files. If you are using less common, you may need to compile the Fortran routines yourself using the !NumPy f2py routine and the compiler of your choice. Both G77 and GFortran have worked on the Mac.
    2733
    2834To help with compiling the programs, use the python scons routine inside the GSASII/fsource directory. If you are lucky, this routine will find the needed compiler and python program, set all options correctly for you and run all steps needed to prepare the .so files. This is done by
     
    3743= Installation =
    3844
    39 We prefer that GSAS-II be installed using subversion so that it is easy to get updates (which are frequent). Fortunately, since 10.5, Macs come with subversion installed. This procedure loads GSAS-II using subversion:
     45We prefer that GSAS-II be installed using subversion so that it is easy to get updates (which are frequent). Fortunately, with OS X 10.5, 10.6 or 10.7, Macs come with subversion installed. (10.8 see above.) This procedure loads GSAS-II using subversion:
    4046
    4147 1.  Create a folder where you want to install GSAS-II.