Hello.
And this video, I'm going to show you how to use Onex to run Jupiter connect to Jupiter Notebook's and work on things such as our class assignments.
I'm going to be demonstrating this using associates from Mobile X term, since I'm going to be using the command line MSH tools.
The same things apply when you are working from Linux and Mac.
So usually when you use Malek's term, you'd be used to creating a new LSH session.
But because of the firewall that keeps you from directly accessing any onyx nodes other than the head node,
we're going to use the SSA command line tool from a local terminal. So I'm going to click start local terminal to get a terminal.
And now I'm going to connect to the Onyx head node SSA H Onex Stop Boise State Radio.
You may need to specify your user name at the beginning. And that will give it a user name to connect with.
So I'm going to make this connection to the Onyx head note and ask you for a password.
And I am not going to have MOBA X term, remember my house words.
So I'm now logged into Onyx.
We do install Mini Konda or Anakonda due to Onyx network file systems setup, the full Anaconda installation doesn't work very well.
So we're going to use mini Condah. And I am going to go down to the Linux installer.
I'm going to right click the Python or the Linux 64 bit version,
get its like address and then I'm going to use w get to download it onto Onyx so w get.
And then I am going to paste the you are all in there and it's going to fetch it.
So now we've downloaded a mini Condah and now and then we can run the installer with slash been slash Basche many Konda three.
It asked us to accept the license terms. The default installation location is OK.
Now that it's done with the main installer, it asks if I want to initialize it, I'm going to say yes.
And this is going to set up my shell configuration to automatically use in a KONDA.
And then I need to, as it notes there, I need to close and reopen my current shell.
So I need to exit and then I need to.
And then I can connect again. But we don't want to do our actual computations on the Onyx head note because it's the node everybody logs into.
If everyone uses it for computations, then we're going. It's going to get overloaded.
So we want to actually do our work on one of the other onyx nodes.
So we don't actually want to log in to Onyx directly to do most of our work because it's the central node.
It's great for file transfer, for doing our installation, for working with a few things, but for doing our actual computations.
If everyone uses it, it's going to be overloaded. So we want to work on one of the actual individual onyx nodes, which are computers in the S lab.
D, though, are behind the firewall.
Onyx itself is the head notice available from outside the network, but the internal nodes are only available from inside the Boise State network.
So we need to go through a jump post if we're not at Boise State or on the VPN.
This is why we're using the command line tools and X terminals that of its direct DSH connections.
This also works the command line SSA each client is the same as the one that's on Linux and on Mac.
So I've already created my configuration. So we have the directory, that DOT SSA directory that has configuration.
I've created a SSA config directory that has the settings to use the head node as a jump post, this proxy jump setting to get into other nodes.
You'll find that the configuration settings you need to put in here in the instructions online.
I'm going to connect now directly to Onyx Node zero three.
I'm not providing my user name right now because my SSA age configuration tells LSH which username to use.
And note that it asks me for my password twice, once for the Onyx head node to make the proxy connection.
And then again for the onyx node itself. So we see on the left of of my terminal prompt that the bass in parentheses,
and that is Konda telling me that the bass environment is activated and ready to use.
Now, before we start using a node, we want to make sure that it's not actively and used by anyone else, especially for significant processing.
So I'm going to do that with a couple of commands. First, uptime is going to print out the current load level of the system.
And it has one user, me and a load average of approximately zero.
This means the system is not very active right now. I can also type W to see who is currently logged into the computer.
And it's just me. So this node is good to use. So I can use KONDA list to list the packages currently installed.
We installed many Condah. So we're gonna need to install the additional packages we need.
Because it doesn't contain very much. So I'm going to go to the software installation instructions,
get the command from the mini to section and I'm going to paste it into my prompt and run it.
And this is going to install the scientific packages that we need to do the work for this class.
Yes, I want to proceed. I spend this up quite a bit in order to let it finish.
The video doesn't take forever. The long durations should only affect software installations.
They shouldn't affect our day to day use of Jupiter and notebooks.
I'm going to create a directory where I can work on C.S. 533 stuff.
Can start the Jupiter notebook's hanging around Jupiter notebook. No browser.
This is going to start up the notebook server and you see, it gives me this, you are al information.
And the key thing is I need that port. Number eight eight eight eight. So I can set up RSS H Tunnel.
I'm going to open another terminal. And I'm going to.
For what we call forward this port, so I want eight eight eight eight on my computer to forward to.
The computer at the other end and its port. Eight, eight, eight, eight.
And I'm going to connect to Onex Node zero three. Boise State.
And now that I have the tunnel setup, I can go to this, you are El.
Copy the URL. Go to what in my browser, and I'm now connected to the Jupiter notebook server running on Onex.
So if I are on my onyx node so I can you can see this, I can open a new terminal.
You can open terminals and Jupiter and it's on Onyx. It's all my honest snoad.
Close that terminal so I can either open an existing notebook.
I've got a couple lying around here from previous things. By clicking on them, you can use an SSA each file, transfer a client like SICP.
When SICP, Cyber Duqu or the one built into Intune will be X term in order to upload files.
I can also create a new a new notebook file, new Python three notebook here.
Import packages like pandas. And go about, say, completing the assignment so that when I'm done, so I can close and hold a notebook.
I can quit the entire Jupiter server either from the Web browser or by hitting control.
See in my terminal. So I'm going to quit the Jupiter server and I can close my terminal sessions.
So that's how you use and run Jupiter and Notebook's on Onyx notes.