If you are writing your Bachelors or Masters thesis or if you're a HiWi at FZI, you might find the following useful.
OpenVPN
- 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 byhttps://
-http://
does not work. - Run it with
sudo openvpn --config client.ovpn
- Verify it with
ifconfig
- there should betun0
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
Misc
top
orhtop
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: