9:59:59.000,9:59:59.000 1[br]00:00:04,490 --> 00:00:05,000[br]Hello. 9:59:59.000,9:59:59.000 2[br]00:00:05,000 --> 00:00:16,640[br]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. 9:59:59.000,9:59:59.000 3[br]00:00:16,640 --> 00:00:24,230[br]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. 9:59:59.000,9:59:59.000 4[br]00:00:24,230 --> 00:00:31,790[br]The same things apply when you are working from Linux and Mac. 9:59:59.000,9:59:59.000 5[br]00:00:31,790 --> 00:00:37,820[br]So usually when you use Malek's term, you'd be used to creating a new LSH session. 9:59:59.000,9:59:59.000 6[br]00:00:37,820 --> 00:00:44,450[br]But because of the firewall that keeps you from directly accessing any onyx nodes other than the head node, 9:59:59.000,9:59:59.000 7[br]00:00:44,450 --> 00:00:51,620[br]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. 9:59:59.000,9:59:59.000 8[br]00:00:51,620 --> 00:00:59,180[br]And now I'm going to connect to the Onyx head node SSA H Onex Stop Boise State Radio. 9:59:59.000,9:59:59.000 9[br]00:00:59,180 --> 00:01:06,780[br]You may need to specify your user name at the beginning. And that will give it a user name to connect with. 9:59:59.000,9:59:59.000 10[br]00:01:06,780 --> 00:01:15,110[br]So I'm going to make this connection to the Onyx head note and ask you for a password. 9:59:59.000,9:59:59.000 11[br]00:01:15,110 --> 00:01:19,730[br]And I am not going to have MOBA X term, remember my house words. 9:59:59.000,9:59:59.000 12[br]00:01:19,730 --> 00:01:24,500[br]So I'm now logged into Onyx. 9:59:59.000,9:59:59.000 13[br]00:01:24,500 --> 00:01:35,000[br]We do install Mini Konda or Anakonda due to Onyx network file systems setup, the full Anaconda installation doesn't work very well. 9:59:59.000,9:59:59.000 14[br]00:01:35,000 --> 00:01:40,580[br]So we're going to use mini Condah. And I am going to go down to the Linux installer. 9:59:59.000,9:59:59.000 15[br]00:01:40,580 --> 00:01:45,230[br]I'm going to right click the Python or the Linux 64 bit version, 9:59:59.000,9:59:59.000 16[br]00:01:45,230 --> 00:01:50,570[br]get its like address and then I'm going to use w get to download it onto Onyx so w get. 9:59:59.000,9:59:59.000 17[br]00:01:50,570 --> 00:01:57,110[br]And then I am going to paste the you are all in there and it's going to fetch it. 9:59:59.000,9:59:59.000 18[br]00:01:57,110 --> 00:02:06,620[br]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. 9:59:59.000,9:59:59.000 19[br]00:02:06,620 --> 00:02:18,580[br]It asked us to accept the license terms. The default installation location is OK. 9:59:59.000,9:59:59.000 20[br]00:02:18,580 --> 00:02:22,630[br]Now that it's done with the main installer, it asks if I want to initialize it, I'm going to say yes. 9:59:59.000,9:59:59.000 21[br]00:02:22,630 --> 00:02:27,250[br]And this is going to set up my shell configuration to automatically use in a KONDA. 9:59:59.000,9:59:59.000 22[br]00:02:27,250 --> 00:02:31,840[br]And then I need to, as it notes there, I need to close and reopen my current shell. 9:59:59.000,9:59:59.000 23[br]00:02:31,840 --> 00:02:36,640[br]So I need to exit and then I need to. 9:59:59.000,9:59:59.000 24[br]00:02:36,640 --> 00:02:47,800[br]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. 9:59:59.000,9:59:59.000 25[br]00:02:47,800 --> 00:02:51,940[br]If everyone uses it for computations, then we're going. It's going to get overloaded. 9:59:59.000,9:59:59.000 26[br]00:02:51,940 --> 00:02:57,650[br]So we want to actually do our work on one of the other onyx nodes. 9:59:59.000,9:59:59.000 27[br]00:02:57,650 --> 00:03:06,410[br]So we don't actually want to log in to Onyx directly to do most of our work because it's the central node. 9:59:59.000,9:59:59.000 28[br]00:03:06,410 --> 00:03:13,160[br]It's great for file transfer, for doing our installation, for working with a few things, but for doing our actual computations. 9:59:59.000,9:59:59.000 29[br]00:03:13,160 --> 00:03:22,130[br]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. 9:59:59.000,9:59:59.000 30[br]00:03:22,130 --> 00:03:25,580[br]D, though, are behind the firewall. 9:59:59.000,9:59:59.000 31[br]00:03:25,580 --> 00:03:33,620[br]Onyx itself is the head notice available from outside the network, but the internal nodes are only available from inside the Boise State network. 9:59:59.000,9:59:59.000 32[br]00:03:33,620 --> 00:03:39,080[br]So we need to go through a jump post if we're not at Boise State or on the VPN. 9:59:59.000,9:59:59.000 33[br]00:03:39,080 --> 00:03:44,900[br]This is why we're using the command line tools and X terminals that of its direct DSH connections. 9:59:59.000,9:59:59.000 34[br]00:03:44,900 --> 00:03:50,660[br]This also works the command line SSA each client is the same as the one that's on Linux and on Mac. 9:59:59.000,9:59:59.000 35[br]00:03:50,660 --> 00:04:00,330[br]So I've already created my configuration. So we have the directory, that DOT SSA directory that has configuration. 9:59:59.000,9:59:59.000 36[br]00:04:00,330 --> 00:04:11,130[br]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. 9:59:59.000,9:59:59.000 37[br]00:04:11,130 --> 00:04:18,390[br]You'll find that the configuration settings you need to put in here in the instructions online. 9:59:59.000,9:59:59.000 38[br]00:04:18,390 --> 00:04:26,530[br]I'm going to connect now directly to Onyx Node zero three. 9:59:59.000,9:59:59.000 39[br]00:04:26,530 --> 00:04:34,990[br]I'm not providing my user name right now because my SSA age configuration tells LSH which username to use. 9:59:59.000,9:59:59.000 40[br]00:04:34,990 --> 00:04:40,370[br]And note that it asks me for my password twice, once for the Onyx head node to make the proxy connection. 9:59:59.000,9:59:59.000 41[br]00:04:40,370 --> 00:04:50,060[br]And then again for the onyx node itself. So we see on the left of of my terminal prompt that the bass in parentheses, 9:59:59.000,9:59:59.000 42[br]00:04:50,060 --> 00:04:56,960[br]and that is Konda telling me that the bass environment is activated and ready to use. 9:59:59.000,9:59:59.000 43[br]00:04:56,960 --> 00:05:04,340[br]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. 9:59:59.000,9:59:59.000 44[br]00:05:04,340 --> 00:05:11,750[br]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. 9:59:59.000,9:59:59.000 45[br]00:05:11,750 --> 00:05:15,860[br]And it has one user, me and a load average of approximately zero. 9:59:59.000,9:59:59.000 46[br]00:05:15,860 --> 00:05:22,940[br]This means the system is not very active right now. I can also type W to see who is currently logged into the computer. 9:59:59.000,9:59:59.000 47[br]00:05:22,940 --> 00:05:30,740[br]And it's just me. So this node is good to use. So I can use KONDA list to list the packages currently installed. 9:59:59.000,9:59:59.000 48[br]00:05:30,740 --> 00:05:34,750[br]We installed many Condah. So we're gonna need to install the additional packages we need. 9:59:59.000,9:59:59.000 49[br]00:05:34,750 --> 00:05:39,830[br]Because it doesn't contain very much. So I'm going to go to the software installation instructions, 9:59:59.000,9:59:59.000 50[br]00:05:39,830 --> 00:05:47,540[br]get the command from the mini to section and I'm going to paste it into my prompt and run it. 9:59:59.000,9:59:59.000 51[br]00:05:47,540 --> 00:05:55,010[br]And this is going to install the scientific packages that we need to do the work for this class. 9:59:59.000,9:59:59.000 52[br]00:05:55,010 --> 00:06:02,780[br]Yes, I want to proceed. I spend this up quite a bit in order to let it finish. 9:59:59.000,9:59:59.000 53[br]00:06:02,780 --> 00:06:08,390[br]The video doesn't take forever. The long durations should only affect software installations. 9:59:59.000,9:59:59.000 54[br]00:06:08,390 --> 00:06:12,770[br]They shouldn't affect our day to day use of Jupiter and notebooks. 9:59:59.000,9:59:59.000 55[br]00:06:12,770 --> 00:06:19,720[br]I'm going to create a directory where I can work on C.S. 533 stuff. 9:59:59.000,9:59:59.000 56[br]00:06:19,720 --> 00:06:26,140[br]Can start the Jupiter notebook's hanging around Jupiter notebook. No browser. 9:59:59.000,9:59:59.000 57[br]00:06:26,140 --> 00:06:30,910[br]This is going to start up the notebook server and you see, it gives me this, you are al information. 9:59:59.000,9:59:59.000 58[br]00:06:30,910 --> 00:06:36,130[br]And the key thing is I need that port. Number eight eight eight eight. So I can set up RSS H Tunnel. 9:59:59.000,9:59:59.000 59[br]00:06:36,130 --> 00:06:42,120[br]I'm going to open another terminal. And I'm going to. 9:59:59.000,9:59:59.000 60[br]00:06:42,120 --> 00:06:50,150[br]For what we call forward this port, so I want eight eight eight eight on my computer to forward to. 9:59:59.000,9:59:59.000 61[br]00:06:50,150 --> 00:06:53,920[br]The computer at the other end and its port. Eight, eight, eight, eight. 9:59:59.000,9:59:59.000 62[br]00:06:53,920 --> 00:06:59,530[br]And I'm going to connect to Onex Node zero three. Boise State. 9:59:59.000,9:59:59.000 63[br]00:06:59,530 --> 00:07:07,500[br]And now that I have the tunnel setup, I can go to this, you are El. 9:59:59.000,9:59:59.000 64[br]00:07:07,500 --> 00:07:18,150[br]Copy the URL. Go to what in my browser, and I'm now connected to the Jupiter notebook server running on Onex. 9:59:59.000,9:59:59.000 65[br]00:07:18,150 --> 00:07:23,070[br]So if I are on my onyx node so I can you can see this, I can open a new terminal. 9:59:59.000,9:59:59.000 66[br]00:07:23,070 --> 00:07:30,880[br]You can open terminals and Jupiter and it's on Onyx. It's all my honest snoad. 9:59:59.000,9:59:59.000 67[br]00:07:30,880 --> 00:07:34,330[br]Close that terminal so I can either open an existing notebook. 9:59:59.000,9:59:59.000 68[br]00:07:34,330 --> 00:07:42,850[br]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. 9:59:59.000,9:59:59.000 69[br]00:07:42,850 --> 00:07:49,210[br]When SICP, Cyber Duqu or the one built into Intune will be X term in order to upload files. 9:59:59.000,9:59:59.000 70[br]00:07:49,210 --> 00:07:56,590[br]I can also create a new a new notebook file, new Python three notebook here. 9:59:59.000,9:59:59.000 71[br]00:07:56,590 --> 00:08:10,420[br]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. 9:59:59.000,9:59:59.000 72[br]00:08:10,420 --> 00:08:16,210[br]I can quit the entire Jupiter server either from the Web browser or by hitting control. 9:59:59.000,9:59:59.000 73[br]00:08:16,210 --> 00:08:24,310[br]See in my terminal. So I'm going to quit the Jupiter server and I can close my terminal sessions. 9:59:59.000,9:59:59.000 74[br]00:08:24,310 --> 00:08:34,900[br]So that's how you use and run Jupiter and Notebook's on Onyx notes. 9:59:59.000,9:59:59.000