Connect local PyCharm distribution to OzStar cluster
There will be slight differences whether you are starting your first or already have an existing PyCharm project that you wish to connect to a remote interpreter. If this your first PyCharm project, I would recommend using the local interpreter when starting the project and then setting up the remote interpreter following the steps below.
To connect a remote interpreter to your local Pycharm distribution:
- open PyCharm\Preferences
- expand Project: — section
- select Project Interpreter
- click the wheel icon of the Project Interpreter tab
- select Add …
- click SSH Interpreter from the new Add Python Interpreter window spawned by the previous action
- Start a New server configuration with:
- Host: ozstar.swin.edu.au
- Port: 22
- Username: your username
- click Next
- If you have not set up a private key for OzStar then enter your Password and ensure that the Save password box is clicked.
- click OK
- select your python executable. If you are using the system python2.7 version then the executable is: /apps/skylake/software/compiler/gcc/6.4.0/python/2.7.14/bin/python
- MAKE SURE YOU NAVIGATE AND CLICK ON THE EXECUTABLE RATHER THAN JUST COPYING AND PASTING THE ABOVE.
- click OK
- you should now be back in the original Preferences window where a new Path Mappings section is visible. Click on the folder icon and navigate to the remote location where you would like your documents to be placed. I would not recommend using your home folder.