CL infrastructure FAQ

Where can I find/ask/ information about scheduled maintenance and malfunctions?

I know that some people use Mattermost and Slack: this is not discouraged at all, but we only maintain the Teams channel (CL infra user lobby)[https://teams.microsoft.com/l/channel/19%3A2CKwGe0wyeUtzyY7rd4Wr8vd0pVtNW6USBYszjuVfcI1%40thread.tacv2/CL%20infra%20user%20lobby].

Where do I run my job?

You can run jobs on our GPU servers and CPU servers (coming soon). Please do not attempt to run jobs on the login servers.

I can’t connect to the GPU server or other server of the CL infrastructure

Please refer to the docs: First access to CL storage and infra.docx and look for the paragraph “Instructions for the first connection to the server”:

“Connect to the UZH VPN, and create a key pair on your local machine (the one you’re connecting from). On Mac OS and Linux you can run :”

ssh-keygen -t ed25519 -f ~/.ssh/id_cl

“Then, copy them over to login2.cl.uzh.ch (a DNS entry will soon apply to our network, for now you can use the IP address in the command below). On Mac OS and Linux you can run :”

ssh-copy-id -i ~/.ssh/id_cl <shortname>@keysquid.d.uzh.ch

“Once this is done you’ll be able to use this key pair on both new login servers.

Connect to a login server using your private key using SSh : “

ssh –i ~/.ssh/id_cl <shortname>@cllogin.d.uzh.ch

ssh <shortname>@cllogin.d.uzh.ch

I can’t execute git operations on the storage

Please refer to the page on git operations.

The CL storage is made of NFS shares from ZI's storage services. Cloning, pulling or forking a git repository on an NFS share will incur in errors.

A workaround is to clone or fork the repository to a machine that has a location dedicated to you on its local storage. This can be your machine. You also have a location dedicated to you on our infrastructure if you have access to a GPU server.

If you clone the repo to your own computer:

If you're on Mac or Linux, or in a WSL terminal on windows, clone the repository locally, then run scp -r /your/local/folder <your_user>@cllogin.d.uzh.ch:/home/<your_user>/ (i.e.: scp -r /home/mawang/git_repo mawang@cllogin.d.uzh.ch:/home/mawang/). You will be prompted for your UZH password (the same you use for your MS logins). A copy of the repository is now on your home folder in the CL storage and can be accessed from any server of our infra. Note that this is a static copy, and you cannot pull from remote or do any of the most common git operations on it.

If you clone the repo to one of the GPU servers:

Navigate to /local/scratch/<your_user>/, clone the repository locally, then run scp -r /local/scratch/<your_user>/git_repo <your_user>@cllogin.d.uzh.ch:/home/<your_user>/ (i.e.: scp -r /local/scratch/mawang/git_repo mawang@cllogin.d.uzh.ch:/home/mawang/). You will be prompted for your UZH password (the same you use for your MS logins). A copy of the repository is now on your home folder in the CL storage and can be accessed from any server of our infra. Note that this is a static copy, and you cannot pull from remote or do any of the most common git operations on it. You can however work on it as it is on /local/scratch/<your_user>

There’s no folder for my user

If your user does not have a namespace on the network storage (/home/<your_user, /data/), or on the local storage of a server (/local/scratch/), you either weren’t marked for access, ot the scripts that handle the user spaces haven’t run yet since the authorization. In this case, write an email to infra@cl.uzh.ch detailing where you didn't find your user folder.