Ling/CSE 472 Assignment 0: Patas account and file management

The purpose of this assignment is to make sure you have an account on our compute cluster ('patas') and that you can access it.

Requirements

  1. Request a patas account (NB: leave one business day turn-around)
  2. Copy the file /dropbox/22-23/472/ebender-hello-world.py to you own local machine.
  3. Use your favorite text editor to edit the file to print another string.
  4. Rename the file to yourUWNetID-hello-world.py
  5. Copy your modified file back to /dropbox/22-23/472/ on patas.
  6. Verify that your small program works by calling python3 on it.

Notes

You can use the unix program scp to copy files between patas and your local machine. Once you have a patas account, you can copy the file down by replacing "username" in the string below with your UWNetID:

scp username@patas.ling.washington.edu:/dropbox/19-20/472/ebender-hello-world.py .
    

Similarly, you can push your file up to patas like this:

scp my-test-file.py username@patas.ling.washington.edu:/dropbox/22-23/472/

The unix program ssh allows you to login remotely to patas. Here's how you would do that and then test that your program works:

ssh username@patas.ling.washington.edu
username@patas.ling.washington.edu's password:
username@patas:~$ cd /dropbox/22-23/472/
username@patas:/dropbox/22-23/472$ ls
ebender-hello-world.py
username@patas:/dropbox/22-23/472$ python3 ebender-hello-world.py
Tireless green ideas sleep furiously
username@patas:/dropbox/22-23/472$

Software

Mac OS X and Linux already have scp and ssh. Run the terminal program. This will give you a command line where you can type the commands above. If you have questions, please post to Canvas.

For Windows users, we suggest WinSCP for copying files back and forth to patas. For ssh, it appears to be integrated into Windows as of Windows 10. If that doesn't work for you, please post to Canvas for assistance.


Last modified: