HELPS
Join Us Research Advice Interview Choose Topics Financial Support Current Members
Progress Team Leaders Professional Behavior Lab and Machines
Journal Conference Book Chapter Technical Report
Letters
College of Engineering Aeronautics and Astronautics Agricultural and Biological Engineering Biomedical Engineering Chemical Engineering Civil Engineering Construction Engineering and Management Electrical and Computer Engineering Engineering Education Engineering Professional Education Environmental and Ecological Engineering Industrial Engineering Materials Engineering Mechanical Engineering Nuclear Engineering
EPICS (Engineering Projects In Community Service) First-Year Engineering Program First-Year Engineering Honors Program Global Engineering Program Minority Engineering Program Professional Practice (Co-Op) Program Women in Engineering Program
College Administration Schools Programs All Groups All People ECN Webmail
Purdue Home

The HELPS Lab and Machines

The Lab is EE 220C. EE 230 is an office. You can also use EE 013C for meetings.

Lab Machine Policy (Read Carefully):

General Guidelines for ECN managed computers:

READ CAREFULLY if you do not follow these guidelines then your access may be revoked!

  1. General Policy:
    1. Do not go to ee220c and login to the machine in person.
    2. Do not turn off the machine under any circumstances.
    3. Always be conscientious and courteous to others using the machine. Do not hog resources always communicate with others who are using the machine. You can check what processes are running and who is running them using the "htop" command.
    4. If something is not clear ask! If you do not ask questions, your privileges for the machines may be revoked. Let Ryan know if there are any problems.
  2. Anaconda Environment Guidelines:
    1. Do not download additional installations of Anaconda. This takes up a lot of space. Use the Anaconda installation resides in "/local/a/cam2/anaconda3/".
    2. Use the Anaconda installations of packages when available. Do not download or attempt to compile packages outside your home directory without permission.
    3. If you are not using an Anaconda virtual environment on "/local/a/cam2/anaconda3/" anymore, ask Ryan to remove it!
  3. Data Management Guidelines:
    1. Important: If you download a new dataset, be sure to change the permissions using "chmod -R 775 path/to/my/data/" this allows others to modify your directories and add additional data. If you require a dataset to be locked you may request permission.
    2. The drive mounted to "/local/a/" is small. It is only for the Anaconda installation. Do not download data on this drive!
    3. The drive mounted to "/local/b/" is 10TB and is for scratch data and datasets.
    4. Do not download or store datasets to any directory outside "/local/b/cam2/data/". There is a link to this data directory in "/local/a/cam2/data".
    5. Before you download any datasets check to see if they already exist in the data directory. Downloading many copies of the same datasets should be avoided.
    6. If you do not want others to be able to modify your dataset while you work on a project you may lock the directory temporarily. When you are done using the data either unlock the directory or remove it! Do not waste space on the machine by keeping data you no longer need.

Additinal Information for ECN managed computers:

Your home directory is not on the local machine. It is on shay.ecn.purdue.edu. Installing things in your home directory will quickly use up your allotted 5GB of space. Each team should set up their own shared Anaconda virtual environment with the packages they require (see below for options). Please remove any environment located on "/local/a/anaconda3/" when you are done using it by contacting Ryan.

Available Lab Machines:

  1. ee220clnx1.ecn.purdue.edu Specs:
  2. 64 gb RAM
  3. nVidia Titan
  4. Intel Xeon W-2145 (3.7GHz, 4.5 GHz Turbo, 8C, 11MB Cache, HT, (140W))

Connecting to the Machines:

  1. Connecting to the Machine:
    1. You must have an ECN account and be registered for the computer. If you do not have an ECN account you may request one here.
    2. SSH into the machine:
      ssh <your ecn username>@ee220clnx1.ecn.purdue.edu
      Note you must be within the Purdue network. i.e. the IP address assigned to you must be a Purdue IP. You can use the Purdue VPN (Windows Only) or ssh into your shay account:
      ssh <your ecn username>@shay.ecn.purdue.edu
      1. For Windows you can use Putty as an SSH client.
      2. Linux and OS X have ssh client built in.
  2. Accessing Anaconda:
    Anaconda is a "open-source distribution of the Python and R programming languages for scientific computing". More information can be found here. You must set up your virtual environment variables to access the Anaconda Environment. The Anaconda installation resides in "/local/a/cam2/anaconda3/". Follow the instructions below to setup your environment for Anaconda.
    1. In your favorite editor (emacs, vim, nano, etc.) open "~/.bash_profile"and paste the following line:
      ". /local/a/cam2/anaconda3/etc/profile.d/conda.sh"
    2. Then logout and log back into the machine you should see (base) appended to your shell as shown below:
      (base) <username>@ee220clnx1:~$
  3. Creating Anaconda Environments:
    There are two methods to create an Anaconda Environment. To see all available environments both on your local drive and on the shared drive you can run "conda env list".
    1. The first method will create an environment in your home directory on the shay.ecn.purdue.edu server. You should be careful when using this method, your home directory has a 5GB limit. This method should not be used for installing large packages or packages that will be used by several members of your team.
      1. Send all members the location of where your envs are stored
        For all users using your environments
      2. "conda create -n <env name>This creates conda env in your local
      3. "conda info --envsLists the envs available
      4. "conda activate <env name>Activates the env
      5. "conda config --add <envs path>" Creates condarc file and configures it to the shared envs
      6. "chmod -R 755 ~/.conda/envs/<env name>Gives permissions to your env
    2. The second method will create an environment that is available to everyone in the group. This can be done by filling out this form.

Note: Both methods will allow you to create conda environments usable by your team members. However, you have limited space in your home directory. If you download several packages, especially frameworks such as Tensorflow and Pytorch, it is best to save space in you local and use the first method. Method 2 will also gives all team members access to all of the owner's files. The owner needs to provide permissions to access the conda environment.

Setting up a Linux on your Personal Machine:

As you work on the project it may be helpful to have your own personal installation of Linux for testing and running code. If you are not running a Unix based operating system such as BSD, Linux, or OS X is will make your life much easier to learn how to use these systems. My personal recommendation is to switch to using these operating systems full time. If you cannot do that there are several options available to run virtual machines.

  1. Operating Systems:
    1. Debian Based: Ubuntu, Ubuntu-Mate, Arch
  2. Virtual Machine Software:
    1. Oracle Virtualbox (Recommended):
      1. Tutorial for Windows
      2. Tutorial for Mac
    2. Boot Camp (Mac):
      1. Tutorial