-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
192 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.. raw:: html | ||
|
||
<style> .clear {clear: both;}</style> | ||
|
||
.. image:: ./images/gsas2.png | ||
:scale: 25 % | ||
:alt: GSAS-II logo | ||
:align: right | ||
|
||
======================================================== | ||
Detailed Description of the Linux Installation Process | ||
======================================================== | ||
The exact details for how the installation is performed will depend on "flavor" of Linux in use. Here I am using Ubuntu. | ||
|
||
1) In a terminal window paste the commands:: | ||
|
||
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Linux-x86_64.sh" | ||
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full | ||
|
||
as seen to right. Note that I have chosen to install in location ``~/g2full`` (which is subdirectory ``g2full`` in my home directory), but you can install this where you prefer. | ||
.. image:: ./linux_inst_images/1.png | ||
:scale: 25 % | ||
:alt: commands in terminal window | ||
:align: right | ||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
2) This will run for a few minutes (or longer depending on download speeds) and then the conda installation process will start, with the display of lots of text. At the end, the terminal window will appear as seen to the right. Note the addition of the GSASII file on the desktop (this may not happen on all Linux desktop managers.). The installation has been completed. | ||
|
||
.. image:: ./linux_inst_images/2.png | ||
:scale: 25 % | ||
:alt: completion commands in terminal window | ||
:align: right | ||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
3) Note the red "X" on the desktop icon and the "grayed-out" colors. This is because by default new icons are disabled. Right-click on the icon and select "Allow launching" from the menu. The "X" disappears and colors return to normal, as seen in the upper right. | ||
|
||
Clicking on the icon will open GSAS-II. Likewise a GSAS-II project (.gpx) file can be dragged onto the icon to open that file in GSAS-II. | ||
|
||
.. image:: ./linux_inst_images/3.png | ||
:scale: 25 % | ||
:alt: activate terminal icon | ||
:align: right |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
. raw:: html | ||
|
||
<style> .clear {clear: both;}</style> | ||
|
||
.. image:: ./images/gsas2.png | ||
:scale: 25 % | ||
:alt: GSAS-II logo | ||
:align: right | ||
|
||
======================================================== | ||
Detailed Description of the Mac Installation Process | ||
======================================================== | ||
|
||
1) The first step in this process is to open a terminal window. There are many ways on a Mac to do this, but one of the most easy is to click on the magnifying glass for Spotlight, as shown to the right, and then type terminal and finally click on the terminal application. | ||
|
||
.. image:: ./mac_inst_images/1.png | ||
:scale: 25 % | ||
:alt: open terminal window | ||
:align: right | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
2) Into the terminal window paste these commands (for an ARM aka "Apple Silicon" or M1, M2,... Mac):: | ||
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-MacOSX-arm64.sh" | ||
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full | ||
|
||
Or on an older Intel Mac:: | ||
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-MacOSX-x86_64.sh" | ||
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full | ||
as seen to right. If you are not sure which you have, use "About This Mac" and look for the 1st line which will say "Chip" or "Processor" and will either list Intel or M1, M2,... Note that I have chosen to install in location ``~/g2full`` (which is subdirectory ``g2full`` in my home directory), but you can install where you prefer. Note that nothing happens until the Return key is pressed. | ||
.. image:: ./mac_inst_images/2.png | ||
:scale: 25 % | ||
:alt: terminal commands | ||
:align: right | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
|
||
3) Once Return is pressed, the download of the installation kit file is started, which may take a while (typically minutes), depending on your internet connection speed. | ||
|
||
.. image:: ./mac_inst_images/3.png | ||
:scale: 25 % | ||
:alt: start of download | ||
:align: right | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
4) After the download is complete, the installation starts and that usually completes in a minute or two, as seen to the right. | ||
|
||
.. image:: ./mac_inst_images/4.png | ||
:scale: 25 % | ||
:alt: download complete | ||
:align: right | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
5) The installer will create a Mac app as a shortcut for running GSAS-II and will open the folder containing it. You cannot move that app from the folder. You can start GSAS-II by double-clicking this icon or by dropping a GSAS-II project (.gpx) file on it. | ||
|
||
You can, if you wish, drag it to the doc, as seen to the right. In the doc, you can also start GSAS-II by single-clicking this icon or by dropping a GSAS-II project (.gpx) file on it. | ||
|
||
.. image:: ./mac_inst_images/5.png | ||
:scale: 25 % | ||
:alt: drag to doc | ||
:align: right | ||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
6) Alternately, if you do want to place the shortcut somewhere, for example in the desktop, you can create an alias of the app by control-clicking on the icon (or right-clicking with a three-button mouse) and select "Make Alias" in the pop-up menu. This will create a new copy of the GSAS-II icon labeled "GSAS-II alias". You can then start GSAS-II by double-clicking this icon or by dropping a GSAS-II project (.gpx) file on it. | ||
|
||
.. image:: ./mac_inst_images/6.png | ||
:scale: 25 % | ||
:alt: download complete | ||
:align: right | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
7) Once the alias icon is created, it can be dragged to any folder or the desktop. Once moved, it can be renamed if desired. | ||
|
||
.. image:: ./mac_inst_images/7.png | ||
:scale: 25 % | ||
:alt: download complete | ||
:align: right | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="clear"></div> | ||
|
||
Note: When the icon is first used, you will likely see one or more Mac security warnings asking you to confirm that you do want to give GSAS-II access to components in your computer, as shown to the right. GSAS-II will not run properly unless you press "Allow". Each warning should only be shown once. | ||
|
||
.. image:: ./mac_inst_images/w1.png | ||
:scale: 25 % | ||
:alt: download complete | ||
:align: right |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.