Mac Conda script installation - hiddenSymmetries/simsopt GitHub Wiki
Based on the conda toolchain only guide, this note aims to describe installation steps for SIMSOPT, BOOZ_XFORM and VMEC2000 Python extension, in a manner that works for both Intel and M-series MacBooks.
0. Obtain the codes
Clone SIMSOPT, BOOZ_XFORM and VMEC2000 into a new folder.
git clone https://github.com/hiddenSymmetries/VMEC2000.git
git clone https://github.com/hiddenSymmetries/booz_xform.git
git clone https://github.com/hiddenSymmetries/simsopt.git
1. Installation
Steps here assume that you successfully completed the previous section, and have a folder with all three git repositories in it.
Make sure that you have Anaconda/Miniconda installed on your machine. You can do that by checking if the command below runs with no errors:
conda --version
If you do get an error, the Anaconda is likely missing on your machine. You will need to install it before proceeding with the guide. The installation instructions can be found here.
The rest of the installation commands are combined into a bash installation script linked here; to use it, from the folder with thee repo (step 0) run:
curl https://raw.githubusercontent.com/wiki/hiddenSymmetries/simsopt/assets/install_simsopt_osx.sh -o install_script.sh
bash install_script.sh