Click the following links to take you to installation instructions equivalent to your personal familiarity/expertise with setting up python environments
- I have conda and python set up, and know how to use conda to install into a local environment -- expert
- I need to check if I have conda installed -- double check conda
- I need to install conda and have a MAC or LINUX OS -- mac/os beginner
- I need to install conda and have a Windows OS -- windows beginner
- I'm not certain
All python packages are available via conda-forge. Feel free to use conda install mbuild gmso foyer
to install particular packages to your local environment. You can also view other dependencies in the environment.yml.
With mamba installed (much faster installation)
$ git clone https://github.com/mosdef-hub/CECAM-MoSDeF-Workshop.git
$ cd CECAM-MoSDeF-Workshop
$ mamba env create -f environment.yml
$ mamba activate mosdef_cecam
OR
$ git clone https://github.com/mosdef-hub/CECAM-MoSDeF-Workshop.git
$ cd CECAM-MoSDeF-Workshop
$ conda install -n base conda-libmamba-solver
$ conda env create -f environment.yml --solver=libmamba
$ conda activate mosdef_cecam
Since MoSDeF enables writing simulation inputs to variety of simulation engines, it is necessary to know where to look to install these. The installation depends on the architecture of the device for best performance.
In order to test for conda on your current os, run this code:
$ which conda
$ conda list
$ conda update -n base conda
If this all worked okay, procede to expert. Else, proceed to steps 3 or 4 in the above heading: Instuctions
See these additonal links for more in depth explanations of important topics for beginners:
- Knowing your computer OS: https://mashable.com/article/how-to-find-operating-system
- Working with your terminal: https://swcarpentry.github.io/shell-novice/
- Introduction to Python: https://swcarpentry.github.io/python-novice-inflammation/
- Introduction to Github: http://swcarpentry.github.io/git-novice/