Skip to content
GitLab
  • Explore
  • Sign in
  • EDA Guides
  • eda-servers-guide
  • Wiki
  • remote code

remote code · Changes

Page history
Update remote code authored May 07, 2021 by Daniele Jahier Pagliari's avatar Daniele Jahier Pagliari
Hide whitespace changes
Inline Side-by-side
remote-code.md
View page @ a2c998fb
......@@ -30,16 +30,20 @@ The figure below shows an example for hostname `icaro.polito.it` and username `Y
Then, insert your authentication details to connect to the target server in the next dialog.
#### Set the Path of the Remote Interpreter
#### Set the Path of the Remote Python Executable
In the following dialog, you can select the path of the Python binary that you want to use in the remote server. You can do so by clicking on the folder icon highlighted in the top right of following figure.
In the following dialog, you can select the path of the Python executable that you want to use in the remote server. You can do so by clicking on the folder icon highlighted in the top right of following figure.
<img src="./figures/pycharm2.png" width="500">
You can either set this path to the system-wide installation of your preferred Python version, or (more commonly) to a project-level virtualenv (see ["Python Virtual Environments"](/virtualenv)).
As shown in the following figure, PyCharm will let you navigate graphically the directories of the server and select your Python path. Inside virtualenvs, the path that must be used is `<virtualenv-root>/bin/python`.
As shown in the following figure, PyCharm will let you navigate graphically the directories of the server and select your preferred Python path. For virtualenvs, the path that must be used is `<virtualenv-root>/bin/python`.
<img src="./figures/pycharm3.png" width="300">
The figure shows an example for a virtualenv located in the user's home directory and named `py`.
**IMPORTANT:** since the virtualenv is not part of your Python project, differently from your source files, it will not be synchronized automatically between local and remote machine by PyCharm. This means that you should create your virtualenvs in a folder that will *not* be deleted automatically. This is especially important for servers other than philae, where some folders are periodically erased (see ["Storage Management and Quotas"](/storage)).
#### Set the Path of the Remote Python Binary
Clone repository
Home

Servers Information
Accounts
Connecting to the Servers
Storage Management and Quotas
Monitoring Resources
Software, Libraries and Data
  • Using Custom Software
  • Software Modules on Philae
  • Remote Code Deployment
  • Python Virtual Environments
  • EDA Technology Libraries
  • Shared Datasets
Miscellaneous Settings
  • Setting CUDA Drivers
  • Choosing which GPU to Use
  • Limiting GPU Memory
  • Limiting CPU Threads
Gitlab

Sidebar