![]() The final command adds the Python packages needed by GSAS-II into the installation. The -b option on the second line avoid browsing the copyright notices seen here and -p $InstallLocĪvoids a prompt to define the installation location. The commands above download the miniconda (etc.) installer which is then invoked to install a minimal Python installation. This could be updated as newer versions become available, but this is not essential.Ĭonda install python=3.10 wxpython=4.2 numpy=1.23 scipy matplotlib pyopengl pillow h5py imageio requests -y The miniforge variable selects which version of the miniforge (mambaforge should work too) Python installer will be used. Update InstallLoc to install the software at a new location. The commands above define locations used for the installation. Script contents explained InstallLoc=~/gsas2full # change this if desired to install in a different location So that the comment lines (prefixed by #) are ignored. It is also possible to use copy-and-paste into a terminal window, either from here or from the commands listed in the discussion below, but if using the default zsh shell provided by MacOS, enter this command first: Where ~/Downloads/ may need to be replaced by the location where the install_macARM.sh file is downloaded. The commands in this script are discussed in more detail below should you wish to modify them, but simply downloading the file from (use this link) and running it using command Use of miniforge (Conda) from conda-forgeĪ script is provided to install a native version of Python and GSAS-II. Both require internet access, but the downloads for the second method are much bigger. It is simpler and does not require admin privileges. Two methods are discussed here to install GSAS-II natively. ![]() The Intel version of GSAS-II will run on "Apple Silicon" macs, but you are recommended to install a native version that runs much faster. (Anyone wanting to work on this is welcome to contact me). aka "Apple Silicon") Macs and this means that an all-in-one installation kit for appears at present quite difficult (and perhaps impossible) to create. The conda build process has not yet fully caught up with the transition from Intel to ARM-processor (M1, etc. Installing a Native "Apple Silicon" GSAS-II Version on MacOS ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |