A Beginners Guide to OzSTAR

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:

  1. open PyCharm\Preferences
  2. expand Project:  — section
  3. select Project Interpreter
  4. click the wheel icon of the Project Interpreter tab
  5. select Add …
  6. click SSH Interpreter from the new Add Python Interpreter window spawned by the previous action
  7. Start a New server configuration with:
    • Host: ozstar.swin.edu.au
    • Port: 22
    • Username: your username
  8. click Next
  9. If you have not set up a private key for OzStar then enter your Password and ensure that the Save password box is clicked.
  10. click OK
  11. 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.
  12. click OK
  13. 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.
WordPress Theme built by Shufflehound.

Copyright © Astronomy Data and Compute Services

ADACS is delivered jointly by Swinburne University of Technology and Curtin University. ADACS is funded under Astronomy National Collaborative Research Infrastructure Strategy (NCRIS) Program via Astronomy Australia Ltd (AAL).