Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 2.85 KB

File metadata and controls

55 lines (47 loc) · 2.85 KB

Instructions to set run MoSDeF Workshops and Tutorials Locally

Click the following links to take you to installation instructions equivalent to your personal familiarity/expertise with setting up python environments

  1. I have conda and python set up, and know how to use conda to install into a local environment -- expert
  2. I need to check if I have conda installed -- double check conda
  3. I need to install conda and have a MAC or LINUX OS -- mac/os beginner
  4. I need to install conda and have a Windows OS -- windows beginner
  5. I'm not certain

Expert Level

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

Without mamba installed

$ 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

Installing simulation packages

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.

Check for conda

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

Additional Resources

See these additonal links for more in depth explanations of important topics for beginners: