Changes between Version 6 and Version 7 of InstallLinux-prev


Ignore:
Timestamp:
May 6, 2013 2:29:33 PM (9 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallLinux-prev

    v6 v7  
    55== Overview ==
    66
    7 Before you can install or use GSAS-II you will need two software packages installed: python and subversion. Installation of subversion is usually trivial with the distributed package managers, but python may be more complex, since we require several additional [PythonPackages Python packages for GSAS-II]. Instructions are provided below for Ubuntu on how to do this. An alternative to this is to install a package with Python and a bunch of commonly needed packages. We are recommending the [http://www.enthought.com/products/epd_free.php Free Enthought Python Distribution (EPD Free)], but we develop ourselves using the commercially supported version, the [http://www.enthought.com/products/epd.php Enthought Python Distribution (EPD)]. Alternative to this include [http://www.pythonxy.com/ Python(x,y)] or [http://www.activestate.com/activepython ActiveState ActivePython]. We simply have not tried the latter two.
     7Before you can install or use GSAS-II you will need two software packages installed: python and subversion. Installation of subversion is usually trivial with the distributed package managers, but python may be more complex, since we require several additional [PythonPackages Python packages for GSAS-II]. Instructions are provided below for Ubuntu on how to do this. An alternative to this is to install a package with Python and a bunch of commonly needed packages. We have been recommending the free Enthought Python Distribution (EPDfree), but that is being replaced by a new product !CanopyExpress, which we have not tried yet. We develop GSAS-II ourselves using the commercially supported version, the [http://www.enthought.com/products/epd.php Enthought Python Distribution (EPD)], which is being replaced by Canopy, which we have also not tried yet. As I write this, the 64-bit EPDfree for linux is still available at [https://s3.amazonaws.com/storage.enthought.com/installers/epd_free-7.3-2-rh5-x86_64.sh this link] from this page, https://www.enthought.com/repo/free/.
     8Alternatives include [http://www.pythonxy.com/ Python(x,y)] or [http://www.activestate.com/activepython ActiveState ActivePython]. We simply have not tried the latter two, but if you do, make sure that you install all the [PythonPackages required Python packages].
    89
    910== Simplified Installation ==
     
    3738=== Compiling Fortran Code ===
    3839
    39 `Normally you will not need to do this,` since GSAS-II comes with Linux binaries, but if you are a source-code purist or your system is unusually configured you may find that the binaries we provide do not work for you. In this case follow the next paragraph for building the binaries:
     40''Normally you will not need to do this,'' since GSAS-II comes with Linux binaries, but if you are a source-code purist or your system is unusually configured you may find that the binaries we provide do not work for you. In this case follow the next paragraph for building the binaries:
    4041
    4142GSAS-II requires a small number of Fortran routines that are incorporated as Python packages (.so files). You will need the !NumPy f2py routine and the compiler of your choice to build the code yourself. Both G77 (32-bit Python only) and GFortran have been successful on the platforms we have tried. To help with compiling the programs, launch the python scons program from 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
     
    5051== Ubuntu Install ==
    5152
    52 from Dr. Thomas Malcherek (July 25, 2012)
     53from Dr. Thomas Malcherek (July 25, 2012):
    5354
    5455Getting GSAS-II to run on a Linux Ubuntu installation (12.04 LTS)  was actually quite simple and did not require the EPD packages. I had to install the following packages using apt-get: