Version 1 (modified by toby, 21 months ago) (diff)


Installing GSAS-II on Mac OS X

GSAS-II has been tested by us (Brian) on Intel (i386) Macs typically running 10.12 to 10.14. Newer versions of OS X should not be a problem. Versions of OS X as old as 10.6 should work, but you will need to find and install older Python distributions see the "hard way" instruction.

Installing the easy way

Most people will install GSAS-II by downloading a single file that contains all needed Python packages and then launches a script that downloads the appropriate files from the GSAS-II svn server. The instructions below describe briefly how to do this, but more expanded instructions are here. Please report problems.

  1. Open a terminal window. Paste the three commands below in that window:
mkdir -p ~/.conda
curl "$g2" > /tmp/; bash /tmp/

If this fails, see the expanded instructions.

  1. Answer prompts from the install script, pressing Enter to start, then space to page through the copyright notice.
  1. Type Yes for to accept the license information.
  1. Enter the installation location. Spaces or special characters in the name may cause problems (or maybe not). Once you have installed in a location, do not move the files elsewhere. Instead install again. Make a note of where you have installed GSAS-II; this may be useful if you have problems.
  1. Wait while the files are installed (typically a few minutes)
  1. Type "no" for "initializing gsas2full using conda init"
  1. Drag the GSAS-II app to the dock (optional). Do not move this file.
  1. Create an alias for the GSAS-II app and move to the desktop -- or elsewhere (optional). This can be renamed if desired after moving.

Note that the first time that GSAS-II is started you will need to confirm that access to the Terminal app will be allowed.