Changes between Version 1 and Version 2 of InstallPiLinux


Ignore:
Timestamp:
Jan 8, 2022 8:40:33 PM (7 months ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallPiLinux

    v1 v2  
    11= Installing GSAS-II on Raspberry Pi (Linux) systems =
    22
    3 GSAS-II can be run on 32-bit and 64-bit Raspberry Pi systems running the two most recent versions of the Raspberry Pi OS (formerly called Raspbian), Buster (based on Debian 9, 32-bit only) or Bullseye (based on Debian 10). All required packages for Python are available as part of the OS distribution and no other Python dists have been found that work. The commands below are all entered through the command line by opening a terminal window.
     3GSAS-II can be run on 32-bit and 64-bit Raspberry Pi systems running the two most recent versions of the Raspberry Pi OS (formerly called Raspbian), Buster (based on Debian 9, 32-bit only) or Bullseye (based on Debian 10). All required packages for Python are available as part of the OS distribution and no other Python dists have been found that work. The commands below are all entered through the command line by opening a terminal window. Note that the Raspberry Pi Zero 2W computer costs US$15 and the Pi 400 costs US$70 (prices without monitor, power supply, SD card...).
    44
    55== Part 1: Update the OS ==
     
    3636python3 bootstrap.py
    3737}}}
    38 Note that the software can be installed anywhere that is desired, so the location "GSASII" in the first two commands can be replaced with anything you want, such as "~/software/G2".
     38Note that the software can be installed anywhere that is desired, so the location "GSASII" in the first two commands can be replaced with anything you want, such as "~/software/G2". In this way more than one version of GSAS-II can be installed, but note that the desktop/menu shortcuts must be duplicated with new file names as a second installation will replace the first copies of those files.
     39
     40After the python3 command is entered, the installation script will ask for a proxy address, at most locations, this is not needed ([ProxyInfo network proxy info]), so no input is needed before enter is pressed to start the installation. The GSAS-II files are then downloaded and then the binary files are downloaded. This goes pretty quick as the download is fairly small.
     41
     42If the installation is successful, a new GSAS-II icon will appear on the desktop.
    3943
    4044= Timing Notes =
    4145
    42 With a standard (pretty massive) refinement. 32 bit OS except as noted.
     46Results from tests with a pretty massive (!MacGovernite) test refinement. OS is 32 bit, except as noted.
    4347
    4448||= System =||= OS =||= timing =||
    4549||Pi Zero 0 W|| Buster || 1353 sec||
    46 ||Pi 3 B+ || Bullseye || 1408 sec||
    47 ||Pi 400 || Buster || 476 sec||
    48 ||Pi 400 || Bullseye || 644 sec||
    49 ||Pi 400 || Bullseye, 64-bit || ? ||
     50||Pi 3 B+|| Bullseye || 1408 sec||
     51||Pi 400|| Buster || 476 sec||
     52||Pi 400|| Bullseye || 644 sec||
     53||Pi 400|| Bullseye, 64-bit || 496 sec||
    5054||||||= comparisons =||
    51 || Intel Mac Pro (2020) || MacOS 10.15.7 || 118 sec ||
    52 || M1 Mac Pro (2021) || MacOS 11.??? || ??? sec ||
     55|| Intel Mac Pro (2020) || MacOS 10.15.7 || 118 sec||
     56|| M1 Mac Pro (2021) || MacOS 11.??? || ??? sec||
    5357
    5458
     
    6569== Build commands ==
    6670
    67 These are unlikely to be needed by anyone other than a software developer, unless you really like to compile all the code you use.
     71These are unlikely to be needed by anyone other than a software developer, unless you really like to compile all the code you use. If so, use command {{{scons}}} rather than the {{{scons install=T}}} step below and skip all the svn commands.
    6872
    6973Required tools in addition to steps 2 & 3:
     
    9397scons install=T
    9498}}}
    95 This will create a new directory ../AllBinaries/linux_armXX_p3.Y_n1.Z/ where XX is 32 or 64 and Y and Z are determined from the Python and numpy versions if it does not exist. Otherwise the files will be updated.
     99This will create a new directory {{{../AllBinaries/linux_armXX_p3.Y_n1.Z/}}} where XX is 32 or 64 and Y and Z are determined from the Python and numpy versions if it does not exist. Otherwise the files will be updated.
    96100Note that you may want to add comments to file
    97 ../AllBinaries/linux_armXX_p3.Y_n1.Z/Build.notes.txt before performing the next step.
     101{{{../AllBinaries/linux_armXX_p3.Y_n1.Z/Build.notes.txt}}} before performing the next step.
    98102
    99103Assuming a new directory is created, include that to be tracked by svn add the new files to the repository
     
    128132* Use {{{touch /Volumes/boot/ssh}}} to enable an ssh connection to the system
    129133* Eject the "disk", for example in disk utility
    130 
    131