Changes between Version 6 and Version 7 of InstallWindows


Ignore:
Timestamp:
Jul 9, 2011 11:03:34 AM (10 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallWindows

    v6 v7  
    2828GSAS-II requires a small number of Fortran routines that are incorporated as Python packages (.pyd files). GSAS-II is distributed with these files compiled for a number of python versions, but if you are using something that does not match what we distribute, you may need to compile the Fortran routines yourself using the !NumPy f2py routine and the compiler of your choice. Both G77 (32-bit Python only) and GFortran have been successful on the platforms we have tried.
    2929
    30 To 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 .pyd files. This is done by (1) running {{{cmd.exe}}} to open a "DOS" window, (2) use the volume name (when needed) and the {{{cd}} command to set your working directory to {{{...\GSASII\fsource}}} and (3) simply typing "{{{scons}}}" in the window.
     30To 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 .pyd files. This is done by
     31 (1) running {{{cmd.exe}}} to open a "DOS" window,
     32
     33 (2) use the volume name (when not C:) and the {{{cd}}} command to set your working directory to {{{...\GSASII\fsource}}} and
     34
     35 (3) simply typing "{{{scons}}}" in the window.
    3136
    3237If you need to change any options, type "{{{scons help}}}" to see a list of the possible command-line arguments and the values for the options. For testing, help can be used with command-line options to see how they will change the variables.