Variable to run Code in Higher Node
Rochak Rijal
Author
08/03/2021
Added
8
Plays
Description
It is about summer internship where I tried to find out what type of code is better to run in supercomputer.
Searchable Transcript
Toggle between list and paragraph view.
- [00:00:00.990]This is Rochak and my,
- [00:00:03.210]mentor is DhananJay Misra and I have been doing their research under the
- [00:00:07.770]professor Chritos Argyropoulos.
- [00:00:10.800]And today I'll be presenting about the variable student node in higher notes.
- [00:00:16.890]So, so first you need to know what the node is.
- [00:00:21.690]As a node, it's kind of the individual computer,
- [00:00:24.270]like the CPU let's take the example of CPU.
- [00:00:29.340]ooo
- [00:00:30.300]So there are a lot of CPU and that are combined together to run a certain task.
- [00:00:35.550]And rclone is an rclone is kind of a
- [00:00:40.230]software that will help you to link your storage
- [00:00:44.700]between a supercomputer and your individual personal computer,
- [00:00:49.020]so that you can transfer data from one computer to another computer.
- [00:00:55.530]So, first you need to requirement to log into the computer,
- [00:01:00.630]to the, your supercomputer here. UNL has a computer name,
- [00:01:05.480]a supercomputer name as HCC.
- [00:01:08.820]What is Holland competing center to get the access to the computer. First,
- [00:01:14.220]you have to go to the some of the steps,
- [00:01:17.940]steps that are determined, determined by the, uh, HCC,
- [00:01:22.710]uh, after that you follow all instructions. You get you,
- [00:01:25.470]you get your username and password and you can,
- [00:01:29.770]you can enter into it.
- [00:01:30.990]And then to get an enter to get inside the computer, you need to do a duo factor.
- [00:01:36.000]You need to set up that thing too. After that,
- [00:01:40.530]after you set up your account, there's two options.
- [00:01:43.650]You can make a file using the vim EULAR .m,
- [00:01:47.280]and then just like the file name. I'm trying to use it in the MATLAB.
- [00:01:51.130]So I made that M and after that,
- [00:01:55.260]I wrote my whole code here,
- [00:01:57.570]or you could copy from your original computer to your terminal,
- [00:02:02.460]um, also to get access to the computer unit,
- [00:02:07.560]like the SSH,
- [00:02:09.120]and then you write your username and then you can hear in your password,
- [00:02:12.240]and then you get a duo factor. you see that. And after that,
- [00:02:16.170]you've made a file or you could upload to the rclone and I'll talk about it at
- [00:02:20.410]the end. And then when you're done with it all your,
- [00:02:25.530]all your programming,
- [00:02:28.770]you just enter the ESC and then press the
- [00:02:33.300]wq for q as quit. And then
- [00:02:39.960]for that, you're done, you have to open the matlab.
- [00:02:43.500]So there are two kind of two things to kind of way you can
- [00:02:48.420]open MATLAB. So this is the easiest one way.
- [00:02:51.690]That's like using a personal computer,
- [00:02:56.310]uh, but you can use, you cannot use a gui, in this terminal.
- [00:03:01.300]Other than that, you can do everything here,
- [00:03:02.860]what you can do in a personal computer,
- [00:03:04.570]but there's other ways that you could request a job. Uh,
- [00:03:10.270]if you're good, it's very long,
- [00:03:11.530]you can request a job and that can run your computer in your file for
- [00:03:16.900]seven days. I'll talk about that later. Suppose open MATLAB for that.
- [00:03:21.790]You need to hit the code module MATLAB, and again,
- [00:03:26.830]into the matlab,
- [00:03:28.000]you can do no is no display or display the
- [00:03:32.790]tab. It'll open it. And after that, after you open it,
- [00:03:39.280]uh, just try to come on, run, run.
- [00:03:43.190]if you remember, I made it like two minutes ago,
- [00:03:47.890]you looked at M district run and then
- [00:03:52.660]it was run. I made the same simple changes. This is the code,
- [00:03:57.550]just the, the,
- [00:03:59.620]how do you upload your file to
- [00:04:04.540]your personal computer? Open articles. It's the same way module load our group,
- [00:04:09.520]and then our rclone LSD drive. So it'll,
- [00:04:14.380]so your, all the driver's names like this is the way how I have it as soon,
- [00:04:19.150]all this drive that I have in my one drive. After that, you, uh,
- [00:04:23.520]you need to copy your file from your drive to the
- [00:04:29.560]personal computer. So you just hit the common article.
- [00:04:32.650]Copy that file name.
- [00:04:34.660]My file would be United at M and then drive.
- [00:04:37.990]That's my drive name in the article. And then, uh, to the directory,
- [00:04:42.800]I choose the Tasman right here. And then,
- [00:04:49.090]so for now, you, if you want to see the file in your computer,
- [00:04:53.650]just like, say load
- [00:05:00.820]for that matter file. That's a number of
- [00:05:05.380]number of numbers, just the numbers that are there. And,
- [00:05:08.830]but don't forget to hit ASCII so that, you know, so nice and easy.
- [00:05:14.290]This is the results that I got. It's a 10% results.
- [00:05:19.090]Uh, I didn't really write the skirt. This road was given,
- [00:05:23.590]given by me by my seniors. So I just,
- [00:05:26.900]my work was to run the goal in the Supreme group
- [00:05:31.660]and so further. And also that,
- [00:05:35.710]that was her,
- [00:05:37.180]the simple code that this thing is to use your computer
- [00:05:41.980]kind of thing, and then try to make it run through your computer.
- [00:05:46.660]But now this is the way you can ask. So
- [00:05:50.800]you can ask a time and professor like it processors like node.
- [00:05:55.570]You can add it and then you can run the code. It's a collar job.
- [00:06:00.380]So Javi scheduler,
- [00:06:03.260]and this is done by [inaudible] computer with this coach first you're
- [00:06:08.510]right. Where what kind of basket will be yours?
- [00:06:11.380]So this code will help you to add this the best.
- [00:06:15.950]And then how many notes is the number one time? It's a seven days.
- [00:06:19.730]You can use a memory, no like hundred GB,
- [00:06:22.580]200 CV on you. But the problem is, if you,
- [00:06:27.590]if you use the more note, your priority will be less.
- [00:06:31.760]If you use the less,
- [00:06:33.410]not your priority will be more like if I use the aid note,
- [00:06:37.460]it will be this slower.
- [00:06:39.950]It'll your code will not start right away. It'll take awhile.
- [00:06:44.990]And in our personal computer,
- [00:06:47.750]you see the input and output at the same place, but here you have to,
- [00:06:53.030]it comes in your drive where your errors are there,
- [00:06:56.720]and output will be in different, different place. Just the,
- [00:06:59.900]you hit the model of MATLAB it's a year.
- [00:07:02.630]And then MetaLab non-displaced is how you hit the combine in the math,
- [00:07:08.270]after you're done with the command.
- [00:07:09.590]So I have not written that command in different shell and to run that
- [00:07:14.420]command heat aspect, aspect, that assets, this is my file name.
- [00:07:19.400]You can write it wherever you want.
- [00:07:21.950]And to look the status of the file,
- [00:07:25.280]you have to hit this combined skill you resolve to that's my personal
- [00:07:30.140]name. That's how you have to do it. So apprehension into the command.
- [00:07:34.220]It is your job ID, your partition, your name of the file,
- [00:07:39.080]your user name, and then it's a status.
- [00:07:42.530]It's an art it's running payments, speeding spending.
- [00:07:45.440]And the time it has been running for seven hours, but I just use the note one,
- [00:07:50.340]or there's another one.
- [00:07:54.200]And you can see I'll put an input in a file just like this.
- [00:08:00.480]Yeah, this is the good that he can introduce.
- [00:08:05.490]Like we have, I will discuss before copy and upload file.
- [00:08:10.410]If you want to cancel a job, you can just do a job scare as canceled.
- [00:08:14.070]The job that I, now,
- [00:08:15.690]the main purpose of this code was how fast will be your computer
- [00:08:20.280]versus the supercomputer.
- [00:08:22.500]Like if you use the small file,
- [00:08:26.010]you can see it takes two. This is the super computer.
- [00:08:30.450]It took like 4 million of seconds
- [00:08:35.430]for time to eat. Your department is six seconds. And
- [00:08:41.310]this takes around two to five for
- [00:08:46.020]E minus six. This has, this was, my computer is faster,
- [00:08:49.890]actually faster than the supercomputer for the small programs,
- [00:08:52.710]but for larger programs, it's a different view.
- [00:08:57.630]My complete couldn't be run. My computer couldn't run for about four.
- [00:09:01.950]Lads is heavier five. It took seven hours.
- [00:09:06.510]It's still is, you know, it's going on.
- [00:09:08.430]But my computer was the depress out of where the figure bigger supercomputer
- [00:09:12.710]supercomputers better, but for the smaller suburb, uh,
- [00:09:16.590]our personal computer is highly better.
The screen size you are trying to search captions on is too small!
You can always jump over to MediaHub and check it out there.
Log in to post comments
Embed
Copy the following code into your page
HTML
<div style="padding-top: 56.25%; overflow: hidden; position:relative; -webkit-box-flex: 1; flex-grow: 1;"> <iframe style="bottom: 0; left: 0; position: absolute; right: 0; top: 0; border: 0; height: 100%; width: 100%;" src="https://mediahub.unl.edu/media/17580?format=iframe&autoplay=0" title="Video Player: Variable to run Code in Higher Node" allowfullscreen ></iframe> </div>
Comments
0 Comments