Changes between Version 5 and Version 6 of InstallLinux-prev
- Timestamp:
- Nov 8, 2012 12:54:58 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallLinux-prev
v5 v6 1 1 = Installing GSAS-II on Linux systems = 2 2 3 To date we have done a bit of testing with Linux, but there are a lot of different Linux releases out there and we don't have a lot of experience yet. (Contributions to this page are welcome). 3 To date we have done a bit of testing with Linux, but there are a lot of different Linux releases out there and we don't have a lot of experience yet. (Contributions to this page are welcome). At present, we are distributing only binaries compatible with Python 2.7 and 64 bit linux. These files require the libgfortran.so library, so you may need to install the gfortran compliler to get this library. For 32-bit linux, etc., you will likely need to compile for yourself (see "Compiling Fortran Code" below). 4 4 5 5 == Overview == … … 39 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 40 41 GSAS-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, use the python scons routineinside 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 by41 GSAS-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 42 42 (1) opening a terminal window, 43 43