Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To convert a Jupyter notebook (e.g, example_notebook.ipynb) to a Python script on Sol
follow , you can request a short Jupyter session and click File -> Save and Export Notebook As ... -> Executable script. After the script is downloaded to your local machine, you can upload it back to Sol by going to https://sol.asu.edu and using the Files tab.

Alternatively, you can convert the notebook to a Python script using the terminal by following these steps:

  1. Open a command line interface on Sol by navigating to sol.asu.edu on your browser and
    selecting the "Sol Shell Access" option from the "System" menu option or by SSHing into
    Sol using the command ssh <asurite>@sol.asu.edu.

  2. Request a lightwork compute node by running the command aux-interactive.

  3. Load the Jupyter module by running the command module load jupyter/latest.

  4. Convert the Jupyter Notebook to a Python script by running the command

...