• Martin Thoma
  • Home
  • Categories
  • Tags
  • Archives
  • Support me

Working at FZI

Contents

  • Working at FZI
    • OpenVPN
    • WLAN
    • Python Virtalenv
    • cuDNN
    • Blame users
    • Send files
    • Disk usage
    • SSH / screen
    • Misc
    • Personalabteilung

If you are writing your Bachelors or Masters thesis or if you're a HiWi at FZI, you might find the following useful.

OpenVPN

  1. Download the client.ovpn from the website your advisor gives you. This website can only be accessed outside of FZI and needs to be accessed by https:// - http:// does not work.
  2. Run it with sudo openvpn --config client.ovpn
  3. Verify it with ifconfig - there should be tun0

WLAN

  • Wi-Fi Security: WPA & WPA2 Enterprise; PEAP; No CA certificate required; MSCHAPv2
  • IPv4: Automatic (DHCP)
  • IPv6: Ignore

Python Virtalenv

You don't have root access. However, you can install Python packages via virtualenv (at nobackup - you don't need this to be backed up and you want to have less limitations on your venv size):

$ mkdir ml-venv
$ cd ~/ml-venv
$ virtualenv ml
$ source ml/bin/activate

Add the source ml/bin/activate (with the absolute path) to your ~/.bashrc. Now you can use pip install ... to install whatever you need in which version you need.

cuDNN

Add

export LD_LIBRARY_PATH=/fzi/ids/thoma/nobackup/cuda/lib64/

to your ~/.bashrc. If that doesn't exist anymore, just download cuDNN and adjust the path to the lib64 folder.

Blame users

With nvidia-smi you can see which processes currently use the graphics card:

Thu Apr 13 19:14:50 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 361.93.02              Driver Version: 361.93.02                 |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 980 Ti  On   | 0000:01:00.0      On |                  N/A |
| 53%   83C    P2   255W / 250W |   5621MiB /  6083MiB |     93%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      2473    G   /usr/bin/X                                      24MiB |
|    0     32756    C   ./caffe                                       5591MiB |
+-----------------------------------------------------------------------------+

But it doesn't tell you how long the process is already running and which user started it. With

$ ps -p 32756 -o user -o time

(replace 32756 by the process ID, of course) you can find the user name and how long the process is running.

Send files

See Linux Commands for Working from home and How to copy files from one machine to another using ssh.

Copy foo.txt from localhost to a remote host:

$ scp foo.txt [email protected]:/home/remote/dir

Disk usage

$ quota -s -u user1
$ df -h .
$ du -h .

SSH / screen

  • How do I force detach Screen from another SSH session?
  • Kill detached screen session

Misc

  • top or htop for showing processes / who uses much memory / CPU
  • How to use Sublime Text via SSH
  • users to see who is currently logged in.

Personalabteilung

If you want to get your money back from the code card, you have to go to the "Personalabteilung". They have very limited opening times:

Opening times of FZI
Opening times of FZI

Published

Apr 13, 2017
by Martin Thoma

Category

Cyberculture

Tags

  • Command line 7

Contact

  • Martin Thoma - A blog about Code, the Web and Cyberculture
  • E-mail subscription
  • RSS-Feed
  • Privacy/Datenschutzerklärung
  • Impressum
  • Powered by Pelican. Theme: Elegant by Talha Mansoor