Page under construction
Contact with Dani to specify the type of interaction you need with the server. From that, a docker container will be generated according to your needs, as you will receive the information required to contact to it via ssh.
S'ha de fixar l'extrategia de on s'ha de guardar el codi perquè se'n faci còpia de seguretat. Així mateix, s'ha d'explicar que cal connectar-se amb el gitlab del CVC.
PyCharm is a Python integrated development environment commonly used by deep learning researchers. One interesting feature that the 'Pycharm Professional Edition' has is that although it is run locally in a machine, the code you develop can be run and debugged in an external server. This is great because this allows everyone in the MSIAU group to code in its own machine, while running his/her programs in the server, taking advantage of the multiple GPUs it has.
In order to use PyCharm Professional edition, the procedure is the following. First you have to apply for a free indivisual license for students and faculty members using your institutional e-mail here: https://www.jetbrains.com/student/
After applying for the license, you will receive a confirmation email. Then, sign in to your account and from there you can download PyCharm (and other JetBrains products).
To connect PyCharm to the server in order to execute and debug the code remotely, you must configure two options of PyCharm: Deployment and Python Interpreter.
Deployment
In "File - Settings - Build, Execution, Deployment - Deployment" we have to add a new SFTP server.
In the "Connection" window we have to put the host IP, the port, and the user credentials.
Host: 158.109.8.117
Port: <your container ssh port>
User name: root
Password: your root password
Keep Root path as / (not /root: It ask about the root folder, not the 'user root' folder.
In the "Mappings" window we have to indicate which folder of the remote server we want to link to the folder of our project.
Python Interpreter
In "File - Settings - Project:<project_name> - Project Interpreter" we have to add a new Python Interpreter.
click the config wheel icon and add select "Add...". A "Add Python Interpreter" window appears. Go to "SSH Interpreter" and choose "Existing Server Configuration" and choose the Deployment configuration that we have previously created. I have selecte mover server to IDE config.
In the next step indicate the path to the python interpreter in the remote server.
Also we have to put the same sync folder of the deployment settings in the "Sync folders" section.
Local Path: C:\Users\<username>\PycharmProjects\<projectName>
Remote Path: /root/workspace/<projectName>