Changes between Version 30 and Version 31 of InstallOSX


Ignore:
Timestamp:
Dec 4, 2013 8:21:34 PM (7 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallOSX

    v30 v31  
    11= Installing GSAS & EXPGUI on Mac OS X =
    22
    3 There are two ways provided here to install GSAS & EXPGUI. The first is preferred since is downloads directly from a subversion repository. In this method, the distribution .dmg file does not need to change when the program is updated. Instead, the latest version of the programs are downloaded from a server when the program is installed (an internet connection is obviously required). Subsequently, if there are updates to GSAS or EXPGUI, an update can be made where only the modified or added files are upgraded. This update step can be done using the !File/Update... menu option in EXPGUI or by executing the bootstrap.py file in the GSAS directory. However, these methods require ~double the space needed by GSAS & EXPGUI. For users who need to install GSAS & EXPGUI on systems where an Internet connection to the server is not possible or where space usage is critical, an alternate .dmg file is also provided containing all GSAS & EXPGUI files, but this requires that upgrades be performed by downloading and installing the all GSAS & EXPGUI files from a future .dmg distribution.
     3There are two ways provided here to install GSAS & EXPGUI. The first is preferred since is downloads directly from a subversion repository. In this method, the distribution files do not need to change when the program is updated. Instead, the latest version of the programs are downloaded from a server when the program is installed (an internet connection is obviously required). Subsequently, if there are updates to GSAS or EXPGUI, an update can be made where only the modified or added files are upgraded. This update step can be done using the !File/Update... menu option in EXPGUI or by executing the bootstrap.py file in the GSAS directory. However, these methods require ~double the space needed by GSAS & EXPGUI. For users who need to install GSAS & EXPGUI on systems where an Internet connection to the server is not possible or where space usage is critical, an alternate download file is also provided containing all GSAS & EXPGUI files, but this requires that upgrades be performed by downloading and installing the all GSAS & EXPGUI files from a future distributions when they are created.
    44
    55=== Note for Users of 10.4 (Tiger) === #tendot4
     
    3030Here is the procedure needed to load GSAS & EXPGUI:
    3131
    32  * Download file
     32 * Download file the bootstrap.py file using https://subversion.xray.aps.anl.gov/trac/EXPGUI/browser/gsas/linux/dist/bootstrap.py?format=txt. Move that file into an empty folder where GSAS will be installed.
     33
     34   * If you are running an older version of OS X (10.6 or earlier) you may want to use these files instead:
     35
    3336      Intel: http://11bm.xray.aps.anl.gov/downloads/gsas/svnload/gsassvn_i86.dmg [[BR]]
    3437      PPC:   http://11bm.xray.aps.anl.gov/downloads/gsas/svnload/gsassvn_ppc.dmg
    3538
    36  * If the file does not automatically open in finder showing a volume containing a single gsas folder, click on the downloaded gsassvn .dmg file.
     39   * If the file does not automatically open in finder showing a volume containing a single gsas folder, click on the downloaded gsassvn .dmg file.
    3740
    38  * Drag the gsas folder to where you want it on your computer. I recommend you place this in an area where you have write access without running as admin (you don't login as an admin, routinely -- right?!). If you place this folder in /Applications or any other central location, use an admin account for the next step, as well as to run EXPGUI to perform upgrades.
     41   * Drag the gsas folder to where you want it on your computer. I recommend you place this in an area where you have write access without running as admin (you don't login as an admin, routinely -- right?!). If you place this folder in /Applications or any other central location, use an admin account for the next step, as well as to run EXPGUI to perform upgrades.
    3942
    40  * Click on the gsas folder in the location where you have copied it. You should see three files: bootstrap.py (the installation script); expgui (an AppleScript for running EXPGUI, OS X 10.5 & 10.6); expgui10.4 (an AppleScript for running EXPGUI, OS X 10.4)
     43   * Click on the gsas folder in the location where you have copied it. You should see three files: bootstrap.py (the installation script); expgui (an AppleScript for running EXPGUI, OS X 10.5 & 10.6); expgui10.4 (an AppleScript for running EXPGUI, OS X 10.4)
    4144
    42  * Run the bootstrap.py file in python: Open a terminal window, and then type {{{python}}} followed by a space. Then drag the bootstrap.py file from the finder window into the terminal window. This will give you a command line like this:
     45 * Run the bootstrap.py file in python. This works for me by simply clicking on the file in a finder window. If that does not work, open a terminal window, and then type {{{python}}} followed by a space. Then drag the bootstrap.py file from the finder window into the terminal window. This will give you a command line like this:
    4346        {{{python /.../bootstrap.py}}}
    4447 where {{{/.../}}} is the full path where you installed these files; press Enter to run the command. (Alternately you can cd to this location and type {{{python bootstrap.py}}} without the path). Note that this script can safely be rerun if a problem occurs in the download. In fact, whenever it is run, it will check the files on your computer against those on the repository and will download any updates. Depending on what software you have installed, you may be able to click on bootstrap.py to launch it in a terminal window.
     
    5053In EXPGUI, one can press the "Upgrade GSAS/EXPGUI" menu button in the File menu. The response to this will be a window that says if there are updates to download or that the programs are "up-to-date". If there are updates, you have the option of installing them and restarting EXPGUI.
    5154
    52 If you do not use EXPGUI, you can update by clicking on the bootstrap.py in the gsas folder.
     55Alternately, or if you do not use EXPGUI, you can update by clicking on the bootstrap.py in the gsas folder.
    5356
    5457Note that if you make any modifications to any files distributed as part of GSAS or EXPGUI, these files may not be upgraded, should the changes be in the same regions as upgrades made by Bob or myself. If you are in the practice of modifying the programs, you should learn to use svn and do your upgrades by hand.
     
    5659== How to install non-updating GSAS & EXPGUI ==
    5760
    58   Users without network access on their Mac, or running 10.4 who do not want to install subversion can use this method to install GSAS & EXPGUI. If this is used, the software cannot fetch the latest upgrades from the server.
     61  Users without network access on their Mac, or running 10.4 who do not want to install subversion can use this method to install GSAS & EXPGUI. If this is used, the software cannot fetch the latest upgrades from the server. This will get you a much older version of EXPGUI, since the files below are updated quite infrequently.
    5962
    6063 * Download distribution file
     
    6972 * recommended: drag the expgui (expgui.app) AppleScript to the dock. (If using 10.4 on a Intel machine, you will likely have better luck with the expgui10.4 script. Rename this to expgui. On the PPC distribution, the 10.4 version is already the default version.) These scripts were updated on April 15, 2010. If you have older versions, you are recommended to replace them with versions from the above file. EXPGUI is started by clicking on the this expgui app, or by dragging .EXP files or directories onto the expgui app. On occasion, nothing happens when I click on the icon. Closing or restarting X11 seems to fix this problem.
    7073
     74Note that it is possible to update manually by downloading the latest version of EXPGUI using https://subversion.xray.aps.anl.gov/trac/EXPGUI/changeset/HEAD/trunk?old_path=%2F&format=zip and then manually move these files into the expgui directory.
     75
    7176=== EXPGUI AppleScript ===
    7277