Setting up your computer
This page describes how to set up your new computer with the software our group members commonly use.
Installing Python development environment
The best way to manage Python installations these days is a “conda env”. This will allow you to manage different Python “environments”, where each environment is a set of libraries that you have installed. For example, you can have one environment that uses Python 2.7 and has certain library versions installed, and another environment that uses Python 3.5 and has other libraries installed. Another advantage of conda environments is that you can apply the same procedure on NERSC and other computing centers that support conda.
To do this, follow the online instructions on installing a conda environment and see modifications below:
(probably) prefer to install the “miniconda” version rather than anaconda
(probably) prefer to install “miniconda 3” rather than “miniconda 2”. Both will work fine and allow you to do everything the other one does so don’t stress too much about this decision.
When creating environments, use a command like this (note that this also installs recommended libraries):
If you want a reference guide to conda commands, try: https://docs.conda.io/projects/conda/en/latest/user-guide/cheatsheet.html
Install high-throughput computation environment
Our group has a set of base codebases used for performing high-throughput calculations. Note that if your project does not involve high-throughput calculation, you may need only one or two of these libraries installed – ask your subgroup head if you are unsure.
After activating a conda environment, install the following packages using a combination of git clone >>REPO_NAME<< and python setup.py develop. Start with:
You might need to generate an ssh key for the git clone command to work: ssh-keygen -t rsa -b 4096 no password is probably OK unless you are security conscious add your SSH key to your Github profile
Then:
Repeat the process above for the remaining libraries:
Repeat the same process for a couple of other libraries on the hackingmaterials github site:
If you want, you can automatically source activate your environment in your .bash_profile file. This will automatically load your environment when you open a Terminal. Otherwise, you will start off in your default Mac Python.
Other things to do
Bring the now-empty box to 143C, write your name on it, and add it to the tower.
Set up your Time Machine backup (make sure you have purchased or received an external hard disk).
You can also set up an online backup plan (e.g., Crashplan or Backblaze) to provide you with a second backup.
Install MongoDB.
Install Docker.
Purchase Microsoft office from LBNL software distribution; if you are a UC Berkeley student/employee you can get this, and lots of other software, for free: UC Berkeley Software Catalog
Last updated