Changes between Version 11 and Version 12 of InstallLinux


Ignore:
Timestamp:
Oct 28, 2021 2:46:56 PM (3 months ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallLinux

    v11 v12  
    124124You should be able to run GSAS-II with Python and packages from your Linux dist, though sometimes those package versions are so new that you will discover incompatibilities that we have not yet seen. To avoid that you can use the Anaconda Python installer, which is included in the {{{gsas2full-Latest-Linux-x86_64.sh}}} file referenced in [#OptionI.Installingtheeasyway Option I] above.
    125125
    126 One problem we have seen with this comes from not running the installer properly. Please make sure you are typing {{{bash}}} correctly and leaving a space between that and the file name, also be sure you are allowed to write files to the location you choose for installation. If starts but does not complete, delete the previous installation directory before trying again.
     126* One problem we have seen with this comes from not running the installer properly. Please make sure you are typing {{{bash}}} correctly and leaving a space between that and the file name, also be sure you are allowed to write files to the location you choose for installation. If starts but does not complete, delete the previous installation directory before trying again.
    127127
    128 If you see an error message like this when starting GSAS-II:
     128* If you see an error message like this when starting GSAS-II:
    129129{{{
    130130Failed to run pyspg in /home/me/anaconda3/envs/G2/GSASII/bindist
    131131error: libgfortran.so.4: cannot open shared object file: No such file or directory
    132132}}}
    133 then you may be able to address the problem by installing a
    134 compatibility library (using a command like this: {{{yum install libgfortran4}}}). A Google search with the name of the missing library and the name of your distribution (CentOS, Ubuntu, Fedora,...) may help.
     133 then you may be able to address the problem by installing a
     134 compatibility library (using a command like this:
     135 {{{yum install libgfortran4}}}. A Google search with the name of the missing
     136 library and the name of your distribution (CentOS, Ubuntu, Fedora,...) may
     137 help.
     138
     139* If you see an error like this when launching GSAS-II:
     140{{{
     141user:/~% ~/g2full/bin/python ~/g2full/GSASII/GSASII.py
     142Invalid MIT-MAGIC-COOKIE-1 keyUnable to access the X Display, is $DISPLAY set properly?
     143}}}
     144 This means that Python is not being permitted access to your computer's display. As the message states, the DISPLAY environment variable needs to be set for this to happen and X-windows security must allow the access. Use of this command may correct that:
     145{{{
     146xhost +local:
     147}}}
     148
    135149== Rerunning bootstrap.py ==
    136150
     
    142156
    143157Running the bootstrap.py file should update GSAS-II to the latest version and complete any remaining installation steps and will. Note that this script requests the name of a proxy server. For most people, none is needed and they should simply use the the default by  pressing return. However, some sites block web traffic unless it is passed through a particular computer. If needed, enter that computer name or IP address here (e.g. proxyout.lanl.gov); you will be then be requested to also supply a port number, which defaults to 8080. If you are able to download files but updates fail, see the discussion of [ProxyInfo web proxies].
    144 
    145 
    146