0% found this document useful (0 votes)
10 views13 pages

Advanced Programming 2024 Lecture 1b

Uploaded by

Léo Wenger
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views13 pages

Advanced Programming 2024 Lecture 1b

Uploaded by

Léo Wenger
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Advanced Programming — Lecture 1b

Crash-course on the Computational Infrastructure

Simon Scheidegger
Department of Economics, University of Lausanne, Switzerland

February 19th, 2024 | 10:15 - 14:00 | Anthropole 2106

1 / 12
Outline

▶ Crash-course on the Computational Infrastructure


▶ Make first steps on a Linux Cluster (Login, short overview of basic unix commands
like cd, pwd, cp, scp,...)
▶ Get lecture notes/codes for the lecture

▶ Hello World in Python

MORE DETAILS IN THE TA


SESSION

1 / 12
Alphacruncher.com/Nuvolos.cloud

▶ For this course, we use Alphacruncher/Nuvolos.cloud


▶ Its setup is very similar to any other system
▶ Register on Moodle, get the enrollment key, and open an
account.

2 / 12
An abstract compute cluster

3 / 12
An abstract compute cluster

4 / 12
A real compute cluster

Credit: Blue Waters research cluster at NCSA, Illinois, USA (active 2007-2021).

5 / 12
Access to Nuvolos Services

ENROLL NOW, enrollment key.

6 / 12
Login via Browser

7 / 12
Login via Browser

8 / 12
Login via Browser

9 / 12
Login via Browser — Jupyter

10 / 12
Basic Linux commands

Command Description
pwd Print name of current/working directory
cd [Directory] Change directory (no directory → change to home
Is [Directory] List directory contents (no directory → list current)
cat FILE Concatenate files and print on the standard output
mkdir DIRECTORY Make directories
mkdir - p DIRECTORY Make directories, make parent directories as needed
cp SOURCE. . . DIRECTORY Copy files and directories
cp -r SOURCE. . DIRECTORY Copy files and directories, copy directories recursively
mv SOURCE. .. DIRECTORY Move (rename) files
man COMMAND An interface to the on-line reference manuals

11 / 12
Basic Linux commands
Command Description
OpenSSH SSH client (remote login
ssh -X [email protected] program), access to host.com with
user foo
Secure copy (remote file copy pro-
scp [email protected]:/home/bar ./ gram), copy file bar from /home on
host.com to directory
Secure copy (remote file copy pro-
scp bar [email protected]:/home/ gram), copy file bar from the local
host to /home on host.com
The stupid content tracker, Clone
git clone [email protected]:whatever
a repository (whatever) into a new
folder-name
directory (folder-name)
Checkout a branch or paths to the
git checkout
working tree.

12 / 12

You might also like