Basic Training in Condensed Matter Physics
Cornell Physics 7654 -- Spring 2018

Computer Labe Instructions
Feb 4, 2018
4pm

I have scheduled the make-up class for Sunday Feb 4 at 4pm. It will be held in the Red ACCEL Computer Lab. This is on the second floor of Carpenter hall. The building is probably unlocked at that time — if not, you can swipe your Cornell ID to get entrance 24/7. To get to the computer lab, you enter the "library" in Carpenter hall. Then turn left and go up the stairs.

All of the required software is set up on the computers in the ACCEL labs. Nonetheless, I encourage you to bring your own laptop so that you will be able to play with things at home.

If you bring your computer, you should first install an up-to-date version of Python — Python 3.6 is recommended — and the standard scientific libraries. The easiest way to get this is to install Anaconda Python.

If you have Anaconda, but the version is old, you can update it

In addition to Python, it would be useful to install Kwant

If you are using Anaconda, and either the Linux or Mac OS, you can install Kwant directly from Anaconda. From a command prompt type

conda install -c conda-forge kwant

If you are using Anaconda, and Windows OS, I believe the minimal steps are:

  1. If you don’t have a C++ compiler installed, get Visual Studio 2017. You will want the x84 version if you are using 32 bit windows, or the x86 version if you are using 64 bit windows.
  2. Download the required files: You will need TinyArray” and kwant. You will need to choose the right file depending on if you are using the 32 bit or 64 bit version of Windows, and which C++ compiler you have installed.
  3. Open a command prompt with administrator rights.
  4. Change directory to the locations of your downloads: cd c:\Users\YOUR_USERNAME\Downloads
  5. Install the wheel files by using
    python -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
    
You will also need to download the following notebook: Lab 1 Notebook . You can open this file from the "Jupyter Notebook" application, which can be started graphically or from a command prompt by typing jupyter notebook.