The associated "Introduction to HPC and M2" slides can be found here.
- Go to hpc.smu.edu
- Sign in using your SMU ID and SMU password
- Select "ManeFrame II Shell Access" from the "Clusters" drop-down menu.
- In the "Shell" tab type
git clone https://github.com/SouthernMethodistUniversity/text_mining_with_python.git
to clone the GitHub repository. - In the same "Shell" tab type
cd text_mining_with_python
to change to repository's directory to verify that it has been clone properly. (Typingls
should show files that have been downloaded.) - In the "Dashboard" tab select "JupyterLab" from the "Interactive Apps" drop-down menu.
- Set the "Additional environment modules to load" field to
environment
. - Set the "Custom module paths" field to
module use $HOME/text_mining_with_python
. - Select other options required for your Jupyter instance. These options are the
same as those requested via a standard Slurm script on M2. For this tutorial:
- Partition:
htc
- Number of hours: 3
- Number of nodes: 1
- Cores per node: 1
- GPUs per node: 0
- Memory: 6
- Partition:
- Select "Launch"
- Wait for the job to start on M2. When the job starts a new button "Connect to JupyterLab" button will appear.
- Select "Connect to JupyterLab"
- The JupyterLab graphical interface will be presented and running on the M2 resource requested.
- Double click the appropriate notebook to open it.
- When finished using the JupyterLab instance, return to the "My Interactive Sessions" tab in your browser and select "Delete" and "Confirm", when prompted, to cancel the job on M2.
NOTE: To be sure you have the latest version of the environment and code. Everytime you log-in, you should go to "ManeFrame II Shell Access" from the "Clusters" drop-down menu and paste this command cd text_mining_with_python && git pull
then hit "Enter".
- Install Docker and run commands below in terminal shell of your choice.
- Clone repository,
git clone https://github.com/SouthernMethodistUniversity/text_mining_with_python.git
. - Change to repository directory,
cd text_mining_with_python
. docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v $HOME:/home/jovyan rkalescky/text_mining_with_python:latest
- Copy and paste the last URL given into your web browser and the JupyterLab graphical interface will be presented.