Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
memory [2016/09/09 09:44] – [Logging into remote machines] Zbigniew Jędrzejewski-Szmek | memory [2018/09/06 16:16] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Memory | + | ====== Memory-bound computations and the memory hierarchy |
- | + | Lecture materials (with instructor notes): https:// | |
- | We will start by cloning the [[https:// | + | |
- | + | ||
- | You can also directly download a {{ : | + | |
- | + | ||
- | ===== Logging into remote machines ===== | + | |
- | Two virtual machines with slightly more computing power than the notebooks are provided. They can be optionally used for some exercises. | + | |
- | + | ||
- | An ssh key should be used to login into those machines. Paste the following code into a terminal: | + | |
- | < | + | |
- | (mkdir -p ~/.ssh && cd ~/.ssh && wget http:// | + | |
- | ssh-add | + | |
- | + | ||
- | </ | + | |
- | After that, you should be able to log into aspp1 and aspp2 machines, using | + | |
- | < | + | |
- | ssh userX@aspp1 | + | |
- | </ | + | |
- | or | + | |
- | < | + | |
- | ssh userX@aspp2 | + | |
- | </ | + | |
- | + | ||
- | User mapping: | + | |
- | * laptop 1 → user0@aspp1 | + | |
- | * laptop 2 → user1@aspp1 | + | |
- | * laptop 3 → user2@aspp1 | + | |
- | * laptop 4 → user3@aspp1 | + | |
- | * laptop 5 → user4@aspp1 | + | |
- | * laptop 6 → user5@aspp1 | + | |
- | * laptop 7 → user6@aspp1 | + | |
- | * laptop 8 → user7@aspp1 | + | |
- | * laptop 9 → user8@aspp1 | + | |
- | * laptop 10 → user9@aspp1 | + | |
- | * laptop 11 → user0@aspp2 | + | |
- | * laptop 12 → user1@aspp2 | + | |
- | * laptop 13 → user2@aspp2 | + | |
- | * laptop 14 → user3@aspp2 | + | |
- | * laptop 15 → user4@aspp2 | + | |
- | * laptop 16 → user5@aspp2 | + | |
- | * laptop 17 → user6@aspp2 | + | |
- | + | ||
- | == Using the jupyter notebook == | + | |
- | Jupyter notebooks are already running on the server (verify with < | + | |
- | + | ||
- | Special care must be taken to connect using the right ports. There is no authentication, | + | |
- | + | ||
- | If N is your user number, use | + | |
- | < | + | |
- | ssh -L127.0.0.1: | + | |
- | </ | + | |
- | or | + | |
- | < | + | |
- | ssh -L127.0.0.1: | + | |
- | </ | + | |
- | then open http:// | + | |