Skip to main content
Texas Tech University

Spyder ( Python IDE)

The TTU HPCC Open OnDemand dashboard allows users to launch Spyder, an integrated development environment (IDE) for scientific Python programming, directly within their web browser through an interactive graphical session. Spyder provides tools for developing, executing, and debugging Python code, performing scientific computations, analyzing data, and generating visualizations using the computational resources of the HPCC cluster.

Steps to start an OOD Spyder session

1. Navigate to the Open OnDemand Dashboard.

2. Enter your eRaider username and password to authenticate and log in to the Open OnDemand portal.

3. To open the Spyder Interactive App, you can do one of the following:
       From the Interactive Apps menu, select >  Spyder


                                Interactive Apps Menu Dropdown showing the Programming and Analysis Interactive  Apps List
      From the Pinned Apps section under Programming and Analysis, choose Spyder.

                       Displays the pinned apps section containing the programming and analysis interactive apps

4. Complete the form with the appropriate resource requirements and configuration options, and click Launch to start the Spyder session.

    •  Slurm Account (optional) – Enter the Slurm account name if you are using dedicated or special computational resources. Leave this field empty to use the default account.
    • Slurm Reservation (optional) – Enter the Slurm reservation name if one has been assigned to you. Otherwise, leave this field empty.
    • Number of CPU Cores (1–10) – Specify the number of CPU cores required for your Spyder session. Spyder interactive sessions run on a single worker node with up to 10 CPU cores on the interactive-ivy partition.
    • Memory per CPU Core (optional) – Specify the amount of memory required per CPU core. If left empty, the default memory allocation per CPU core will be used.
    • Max Walltime – Specify the maximum number of hours the Spyder session will run. The value must be an integer.
    • Working Directory (optional) – Select the directory in which you would like to work. If not specified, your home directory ($HOME) will be used.
    • Python for the Console (optional) – Specify the full path to the Python executable in your preferred Python environment. The environment must have spyder-kernels version 3.1 installed. If left empty, Spyder will use the interpreter configured under Preferences > Python interpreter. This preference is retained between sessions.
    • Save Settings – Select this option to retain the configured settings for future sessions.

      Note: Users who wish to use their own Python environment must install a compatible version of spyder-kernels in that environment using one of the following commands:
      Using Conda : conda install spyder-kernels=3.1

      Using pip: pip install "spyder-kernels>=3.1,<3.2"

The Spyder session data can be accessed through the data root link located at the bottom of the application form.

5. Once you click Launch, you will be redirected to My Interactive Sessions, where you can monitor the status of your Spyder session. The session may remain queued until the requested computational resources become available.

                            Displays the Spyder Interactive App Session in Queued State after Launching
6. Once your session begins running, click Connect to Spyder to access the Spder environment. Please allow a few moments for the application to load.     

                                    Displays the Spyder Interactive App Session in Runinng State after Launching                     

7. You are now in your Spyder environment, where you can write and execute Python scripts, interact with the IPython Console, inspect variables using the Variable Explorer, debug programs, and perform scientific data analysis and visualization.

                           Displays the Spyder Interactive App Session Window

Note: After completing your work, save any changes, close the application window, and ensure that the corresponding session is terminated from the My Interactive Sessions page. Closing the application window alone does not necessarily terminate the session. Verify that the session status is displayed as Completed to ensure that the allocated computational resources have been released and made available to other users. Any unwanted sessions can be removed using the Delete button.

                   Spyder nteractive App session in completed state