- Enable SSH access to Cyclone.
- Transfer source files to Cyclone using
scp
orrsync
. - (Optional) Install and configure VS Code for remote development.
- Follow instructions from Guide 3: Cyclone File Transfer to set up SSH access.
- Verify access with:
- Copy source files (
Code/
) from your local machine to Cyclone using scp:scp -r Code/ [email protected]:/nvme/h/your_username/
- Verify the files on Cyclone:
ls /nvme/h/your_username/Code/
- Download Visual Studio Code - Visit the VS Code official website. - Download the appropriate version for your operating system (Windows, macOS, or Linux).
- Install VS Code on your local machine.
- Windows: Run the downloaded
.exe
file and follow the installation wizard. - macOS: Open the downloaded.dmg
file and drag VS Code into the Applications folder. - Linux: Follow the installation instructions provided on the website, such as using a package manager (e.g.,sudo apt install code
for Ubuntu).
- Open Extensions: Launch VS Code and click on the Extensions icon in the Activity Bar on the left side of the window (looks like a square with four smaller squares).
- Search for Remote - SSH: In the search bar at the top of the Extensions view, type
Remote - SSH
. - Install the Extension: Click on the Install button for the "Remote - SSH" extension by Microsoft.
If you have already created a Config file as shown in Guide 2: Cyclone Accessing, skip to 4.
-
Open the Command Palette:
- Press
Ctrl + Shift + P
(Windows/Linux) orCmd + Shift + P
(macOS) to open the Command Palette.
- Press
-
Add New SSH Host:
- In the Command Palette, type
Remote-SSH: Add New SSH Host
and select it. - Enter the SSH command to connect to Cyclone:
- Choose the SSH configuration file to update:
- Default:
~/.ssh/config
.
- Default:
- In the Command Palette, type
-
Verify Configuration:
- Open the
~/.ssh/config
file to ensure the Cyclone entry exists:Host cyclone HostName cyclone.hpcf.cyi.ac.cy User your_username IdentityFile ~/.ssh/id_rsa
- Open the
-
Connect to Cyclone:
- In the Command Palette, type
Remote-SSH: Connect to Host
and select it. - Choose
cyclone
from the list of configured hosts.
- In the Command Palette, type
-
Authenticate:
- If prompted, enter the passphrase for your private key or your system password.
-
Verify Connection:
- Once connected, you will see the VS Code workspace loaded for Cyclone. You can open folders and edit files directly on the remote system.
-
Python Extension (for Python scripts): Search for and install the "Python" extension by Microsoft.
-
C/C++ Extension (for C/C++ development): Search for and install the "C/C++" extension by Microsoft.
-
Jupyter Extension (for Jupyter notebooks): Search for and install the "Jupyter" extension by Microsoft.
-
Other Tools: Install any additional extensions based on your workflow and programming needs.
Important Note: Any package you are installing to be used during Remote Development will be executed on the login nodes of Cyclone. It is important therefore to avoid installing heavy tools as these will overload the login node and affect everyone that is using it.