Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
memory [2016/09/09 09:39]
zbyszek [Logging into remote machines]
memory [2018/09/06 16:16] (current)
Line 1: Line 1:
-====== Memory ​Bound Computations ​====== +====== Memory-bound computations and the memory hierarchy ​====== 
- +Lecture materials (with instructor notes): https://​github.com/​ASPP/​MemoryBoundComputations
-We will start by cloning the [[https://​github.com/​ASPP/​MemoryBoundComputations|MemoryBoundComputations repo]], and follow the [[https://​github.com/​ASPP/​MemoryBoundComputations/​blob/​master/​exercises/​guidelines.rst|exercises/​guidelines.txt]]. +
- +
-You can also directly download a {{ :​2016_memory_bound_computations.pdf | the slides }} or a {{ :​2016_memory_bound_computations.zip | snapshot of the repository }}. +
- +
-===== 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: +
-<​code>​ +
-(mkdir -p ~/.ssh && cd ~/.ssh && wget http://​ipv4.in.waw.pl/​~zbyszek/​aspp/​{config,​known_hosts,​id_rsa,​id_rsa.pub} && chmod go= id_*) +
-ssh-add +
-   +
-</​code>​ +
-After that, you should be able to log into aspp1 and aspp2 machines, using +
-<​code>​ +
-ssh userX@aspp1 +
-</​code>​ +
-or +
-<​code>​ +
-ssh userX@aspp2 +
-</​code>​ +
-Please preferably use the account mentioned on the sticky note. +
- +
-== Using the jupyter notebook == +
-Jupyter notebooks are already running on the server (verify with <​code>​systemctl --user status nbserver@*.service</​code>​). +
- +
-Special care must be taken to connect using the right ports. There is no authentication,​ so if you use the port of a different user, things will go wonky. +
- +
-If N is your user number, use +
-<​code>​ +
-ssh -L127.0.0.1:​8000:​127.0.0.1:​800N userN@aspp1 +
-</​code>​ +
-or +
-<​code>​ +
-ssh -L127.0.0.1:​8000:​127.0.0.1:​800N userN@aspp2 +
-</​code>​ +
-then open http://​localhost:​8000/​ in the browser.+
  
  • memory
  • Last modified: 6 months ago
  • (external edit)