Tunneling and Forwarding Ports
Port forwarding is covered here. This is specifically for TensorBoard.
This section describes the steps to be followed to set up port forwarding for applications, like TensorBoard, which runs on the SambaNova system and binds to one or more ports. This example uses 6006 and 16006 as port numbers. Using port numbers other than these may avoid collisions with other users.
From your local machine
replacing ALCFUserID with your ALCF User ID.
Below are the commands specific to sm-01. You may replace sm-01 with sm-02 when using the appropriate system.
NOTE: The full name is sm-01.ai.alcf.anl.gov and it may also be used.
Execute the following command:
Navigate to the appropriate directory for your model. Launch your model using srun or sbatch.
On Another sm-01 Terminal Window
The SambaNova system has a bash shell script to setup the required software environment. This sets up the SambaFlow software stack, the associated environmental variables and activates a pre-configured virtual environment.
Navigate to the appropriate directory for your model.
Browser on Local Machine
Then, navigate in your browser to, in this example, http://localhost:16006 on your local machine.
Explanation of ssh command:
Adapted from: How can I run Tensorboard on a remote server?