Skip to content

Commit 947a154

Browse files
committed
change install info from gsas2full to gsas2main
1 parent b5679af commit 947a154

File tree

9 files changed

+78
-59
lines changed

9 files changed

+78
-59
lines changed

webdocs/compile.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ needed for compilation (for example homebrew) and one can use separate
9090
environments for compilation and for running GSAS-II, below a single
9191
environment is used and all software is loaded via conda.
9292

93-
Note that if the gsas2full installer is used, this can replace
93+
Note that if the gsas2main installer is used, this can replace
9494
steps (1) and (3), below. In that case use command::
9595

96-
source .../g2full/bin/activate
96+
source .../g2main/bin/activate
9797

98-
to activate Python/conda, where ``.../g2full`` is the location where gsas2full was
98+
to activate Python/conda, where ``.../g2main`` is the location where gsas2main was
9999
installed. And in place of step (3) use command::
100100

101-
cd .../g2full/GSAS-II
101+
cd .../g2main/GSAS-II
102102
103-
where again ``.../g2full`` is the location where gsas2full was installed.
103+
where again ``.../g2main`` is the location where gsas2main was installed.
104104

105105
1.
106106
Install an initial, bare-bones Python environment
@@ -266,17 +266,17 @@ needed for compilation, but use of conda will be much simpler, but
266266
will require use of command-line commands (in a cmd.exe window, the
267267
commands have not been worked out if they will done with PowerShell).
268268

269-
Note that if the gsas2full installer is used, this can replace
269+
Note that if the gsas2main installer is used, this can replace
270270
steps (1) and (2), below. In that case, use command::
271271

272-
...\g2full\Scripts\activate
272+
...\g2main\Scripts\activate
273273

274-
to activate Python/conda, where ``...\g2full`` is the location where gsas2full was
274+
to activate Python/conda, where ``...\g2main`` is the location where gsas2main was
275275
installed. And in place of step (3) use command::
276276

277-
cd ...\g2full\GSAS-II
277+
cd ...\g2main\GSAS-II
278278
279-
where again ``...\g2full`` is the location where gsas2full was installed.
279+
where again ``...\g2main`` is the location where gsas2main was installed.
280280

281281
1.
282282
Install miniforge

webdocs/developers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ site. These documents are available in a number of ways:
3232
* `Download as an electronic book
3333
<https://gsas-ii.readthedocs.io/_/downloads/en/latest/epub/>`_ (Epub format).
3434

35-
If you use any of the self-installer options (gsas2full, gsas2pkg or gitstrap.py), GSAS-II will be installed using https from https://github.com/AdvancedPhotonSource/GSAS-II.git. This is fine for downloading, but to be able to write to the repository, you will probably need to switch to using ssh,
35+
If you use any of the self-installer options (gsas2main, gsas2pkg or gitstrap.py), GSAS-II will be installed using https from https://github.com/AdvancedPhotonSource/GSAS-II.git. This is fine for downloading, but to be able to write to the repository, you will probably need to switch to using ssh,
3636
the command for this is::
3737

3838
git remote set-url origin [email protected]:AdvancedPhotonSource/GSAS-II.git

webdocs/help.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ On windows
2828
At present, two windows .BAT files are created in the directory where
2929
GSAS-II is installed, one named `Reset2FreshGSASII.bat` the other
3030
`start_G2_bootstrap.bat`. Thus, if GSAS-II is installed in directory
31-
`C:\Users\toby\gsas2full` the files will be named
32-
`C:\Users\toby\gsas2full\Reset2FreshGSASII.bat` and
33-
`C:\Users\toby\gsas2full\start_G2_bootstrap.bat`.
31+
`C:\Users\toby\gsas2main` the files will be named
32+
`C:\Users\toby\gsas2main\Reset2FreshGSASII.bat` and
33+
`C:\Users\toby\gsas2main\start_G2_bootstrap.bat`.
3434
Either will restore the GSAS-II files, but the
3535
`Reset2FreshGSASII` file, will ask you to confirm before acting. The
3636
files can run by locating them in the Windows File Explorer and
@@ -44,8 +44,8 @@ At the time this is being written, an error prevents the script from
4444
running, but this can be corrected by editing the `reset-gsasII.sh`
4545
file manually (see below). Note that this file is placed in the `bin` directory
4646
immediately below the GSAS-II installation directory. Thus, if
47-
GSAS-II is installed at location `/Users/toby/G2/gsas2full` then the
48-
file will be named `/Users/toby/G2/gsas2full/bin/reset-gsasII.sh`. (It
47+
GSAS-II is installed at location `/Users/toby/G2/gsas2main` then the
48+
file will be named `/Users/toby/G2/gsas2main/bin/reset-gsasII.sh`. (It
4949
will appear in the path if conda is initialized.) Depending on the OS,
5050
it may be possible to locate and run this file in a system-supplied
5151
file browser, or type the file name into a terminal window.
@@ -55,10 +55,10 @@ lines appear as::
5555

5656
# Commands to run GSAS-II load/update process
5757
source /bin/activate base
58-
/Users/toby/G2/gsas2full/bin/python /Users/toby/G2/gsas2full/gitstrap.py --reset
58+
/Users/toby/G2/gsas2main/bin/python /Users/toby/G2/gsas2main/gitstrap.py --reset
5959

6060
The second line should be changed as follows::
6161

6262
# Commands to run GSAS-II load/update process
63-
source /Users/toby/G2/gsas2full/bin/activate base
64-
/Users/toby/G2/gsas2full/bin/python /Users/toby/G2/gsas2full/gitstrap.py --reset
63+
source /Users/toby/G2/gsas2main/bin/activate base
64+
/Users/toby/G2/gsas2main/bin/python /Users/toby/G2/gsas2main/gitstrap.py --reset

webdocs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ bugs.
5858
Installing GSAS-II: Overview
5959
============================================
6060

61-
There are several different ways to install GSAS-II, as are outlined below. Most people will use the GSAS2FULL installer
61+
There are several different ways to install GSAS-II, as are outlined below. Most people will use the GSAS2MAIN installer
6262

6363
.. toctree::
6464
:maxdepth: 3

webdocs/install-g2f-linux.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:alt: GSAS-II logo
88
:align: right
99

10-
Linux GSAS2FULL Installation Details
10+
Linux GSAS2MAIN Installation Details
1111
========================================================
1212
The exact details for how the installation is performed will depend on "flavor" of Linux in use. Here I am using Ubuntu.
1313

@@ -18,10 +18,10 @@ The exact details for how the installation is performed will depend on "flavor"
1818

1919
1) In a terminal window paste the commands::
2020

21-
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Linux-x86_64.sh"
22-
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full
21+
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-Linux-x86_64.sh"
22+
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2main
2323

24-
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.
24+
as seen to right. Note that I have chosen to install in location ``~/g2main`` (which is subdirectory ``g2main`` in my home directory), but you can install this where you prefer.
2525
2626
.. raw:: html
2727

webdocs/install-g2f-mac.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:alt: GSAS-II logo
88
:align: right
99

10-
MacOS GSAS2FULL Installation Details
10+
MacOS GSAS2MAIN Installation Details
1111
========================================================
1212

1313
.. image:: ./mac_inst_images/1.png
@@ -29,15 +29,15 @@ MacOS GSAS2FULL Installation Details
2929

3030
2) Into the terminal window paste these commands (for an ARM aka "Apple Silicon" or M1, M2,... Mac)::
3131
32-
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-MacOSX-arm64.sh"
33-
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full
32+
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-MacOSX-arm64.sh"
33+
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2main
3434

3535
Or on an older Intel Mac::
3636
37-
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-MacOSX-x86_64.sh"
38-
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full
37+
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-MacOSX-x86_64.sh"
38+
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2main
3939
40-
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.
40+
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 ``~/g2main`` (which is subdirectory ``g2main`` in my home directory), but you can install where you prefer. Note that nothing happens until the Return key is pressed.
4141

4242
.. raw:: html
4343

webdocs/install-g2f-win.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
:alt: GSAS-II logo
88
:align: right
99

10-
Windows GSAS2FULL Installation Details
10+
Windows GSAS2MAIN Installation Details
1111
========================================================
1212

13-
1 ) In your favorite browser click on the link to the download file, https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Windows-x86_64.exe.
13+
1 ) In your favorite browser click on the link to the download file, https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-Windows-x86_64.exe.
1414

1515
.. image:: ./win_inst_images/1.png
1616
:scale: 25 %

webdocs/install.rst

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ Installing GSAS-II: Overview
1111

1212
Running GSAS-II requires a number of coordinated installation steps and there are many different ways this can be accomplished. One needs not only the necessary Python source code for GSAS-II, but a Python interpreter that includes a number of "add-on" Python packages for additional capabilities. This much match the operating system for the computer where the software will be run. Further, GSAS-II requires that a small amount of its code be compiled, typically for speed and this must be matched both the computer OS and to the Python version. Here I outline different a few different approaches.
1313

14-
.. index:: gsas2full installer
14+
.. index:: gsas2main installer
1515

16-
GSAS2FULL installer
16+
GSAS2MAIN installer
1717
=======================
1818

19-
Most users of GSAS-II are seeking a simple way to install and run the software and can live with the idea that they may have duplicated Python installations (several hundreds of MB each) on their computer. The GSAS2FULL self-installer provides simple installation and can be `downloaded from here <https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/latest>`_. Brief installation instructions are outlined below with links to more complete instructions:
19+
Most users of GSAS-II are seeking a simple way to install and run the software and can live with the idea that they may have duplicated Python installations (several hundreds of MB each) on their computer. The GSAS2MAIN self-installer provides simple installation and can be `downloaded from here <https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/latest>`_. Brief installation instructions are outlined below with links to more complete instructions:
2020

2121
Windows
2222
-----------
2323

24-
For Windows download file https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Windows-x86_64.exe and run it.
24+
For Windows download file https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-Windows-x86_64.exe and run it.
2525
After the installer is started
2626
You will have a choice for where to install the software (the default is usually OK, but something like ``c:\software`` might be better, if your computer security allows that.)
2727

@@ -32,42 +32,42 @@ MacOS
3232

3333
For ARM (M1,...) MacOS use a command such as::
3434
35-
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-MacOSX-arm64.sh"
35+
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-MacOSX-arm64.sh"
3636
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p <install-loc>
3737

3838
For older Intel MacOS use a command such as::
3939

40-
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-MacOSX-x86_64.sh"
40+
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-MacOSX-x86_64.sh"
4141
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p <install-loc>
4242

4343

4444
Note that the ``MacOSX-x86_64.sh`` installer will also run on "Apple Silicon" processors, but significantly more slowly.
4545

4646
where:
4747

48-
<install-loc> is where you want to install the software. (Use of ``~/g2full``, a subdirectory named ``g2full`` in your home directory is a good choice.) After installation is complete, you will be given a chance to place a shortcut for GSAS-II into the MacOS dock.
48+
<install-loc> is where you want to install the software. (Use of ``~/g2main``, a subdirectory named ``g2main`` in your home directory is a good choice.) After installation is complete, you will be given a chance to place a shortcut for GSAS-II into the MacOS dock.
4949

5050
More complete installation instructions are provided for `MacOS separately <install-g2f-mac.html>`_.
5151

5252
Linux
5353
--------------------
5454

55-
To install GSAS2FULL in Linux use a command such as::
55+
To install GSAS2MAIN in Linux use a command such as::
5656
57-
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Linux-x86_64.sh"
57+
g2="https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2main-Latest-Linux-x86_64.sh"
5858
curl -L "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p <install-loc>
5959
6060
where:
6161

62-
<install-loc> is where you want to install the software. (Use of ``~/g2full``, a subdirectory named ``g2full`` in your home directory is a good choice.)
62+
<install-loc> is where you want to install the software. (Use of ``~/g2main``, a subdirectory named ``g2main`` in your home directory is a good choice.)
6363

6464
More complete installation instructions are provided for `Linux separately <install-g2f-linux.html>`_.
6565

6666

67-
GSAS2FULL Additional Details
67+
GSAS2MAIN Additional Details
6868
----------------------------------------
6969

70-
The pages listed below go through the GSAS2FULL installation process on each identified platform in much greater detail.
70+
The pages listed below go through the GSAS2MAIN installation process on each identified platform in much greater detail.
7171

7272
.. index:: gsas2pkg installer
7373
.. toctree::
@@ -91,7 +91,7 @@ After this command is run, use command ``conda activate GSASII`` to access the
9191
conda environment that has been created. On Linux and MacOS computers, two shortcut commands will then be available in the path, The first command, ``gsasII.sh``, which will start GSAS-II. This can optionally be used as ``gsasII.sh project.gpx`` to open existing project file ``project.gpx`` in GSAS-II. The second command, ``reset-gsasII.sh`` will rarely be used. This command will download the latest version of GSAS-II and update to that version, replacing any locally modified files with the original versions. This can be used to update GSAS-II when the program will not start, so the normal Help->Update menu command cannot be accessed. (Shortcuts available with gsas2pkg v5.1+.)
9292

9393
Note that on MacOS, a Mac app is also created and is displayed in the Finder
94-
`see steps 5 & 6 here <install.html#macos-gsas2full-installation-details>`_. This app can be used to start GSAS-II from the dock or desktop.
94+
`see steps 5 & 6 here <install.html#macos-gsas2main-installation-details>`_. This app can be used to start GSAS-II from the dock or desktop.
9595

9696
.. index:: Installing GSAS-II with gitstrap.py
9797

@@ -133,7 +133,15 @@ Older installers
133133
=================================
134134

135135
Previously GSAS-II was provided via an Advanced Photon Source-maintained subversion (svn) server, with differing installation processes. The subversion server is not longer being updated, so those installers should not be used because if GSAS-II is installed from subversion, you will not be able to update to the current GSAS-II version.
136-
If you previously installed GSAS-II from that server, you will be shown a message when trying to update that you should reinstall GSAS-II as described above.
136+
If you previously installed GSAS-II from that server, you will be
137+
shown a message when trying to update that you should reinstall
138+
GSAS-II as described above.
139+
140+
Likewise, the gsas2full installer was used to install GSAS-II from the
141+
older ``master`` branch. Use of this installer is discouraged. If you
142+
install GSAS-II from that branch, you will be
143+
be offered the opportunity to add needed Python packages and switch to
144+
the ``main`` branch when trying to update GSAS-II from the help menu.
137145

138146
Installation details
139147
====================================

0 commit comments

Comments
 (0)