Jul 16, 2009
Little Over A Month
So, a little over a month ago I started my new job at SAIC, at NASA. How’s it been? It’s been up and it’s been down.
The first week was tough. That much I won’t argue. Not only was there the stress of a new job, there was the stress of torrential rains and a new, long commute. So…yeah, but that week is done.
After that, well, I started getting into a flow. Much of the first days were spent just getting used to Goddard, the computational facilites, heck, just getting an email address. Add to that the getting used to SAIC and that culture. Timesheets for the first time!
But, in the last week or so, things seem to be looking up. I have a plan for my task. I know what I’m (supposed to be) doing. In short, I’m looking into the use of NVIDIA’s CUDA to speed up calculations of a global atmospheric model. Sounds fancy, eh? Right now it’s mainly me trying to get our Tesla testbed able to compile things. And learn how to use video cards to speed up calculations. Not easy, quite a challenge in fact. Having to rewire my brain to think in a different way.
But, in my quest to learn CUDA, stream processing, uber-multiprocessing, etc., I did have one success this week. One that I’m proud of. This week, in order to test out PGI’s new Accelerator technology (think easy-CUDA: add a couple of lines and speed up your code by 50-60x). So, I followed some tutorials online and made up some simple matrix multiplication programs. The simplest did about 1 GFLOPs, using OpenMP to use 4 processors got me up to about 4 or 5. Then I used PGI’s Accelerators and got 80 GFLOP. I mean, eighty billion floating point operations aren’t bad. Especially as it was just two extra lines.
But, I knew there was a way to get more speed. What my routines were doing were, in BLAS parlance, SGEMM. Single-precision GEneral Matrix Multiply. And NVIDIA has a GPU-optimized library called CUBLAS that can get much, much better performance. The problems? Well, this library is mainly used in C and there aren’t many Fortran examples online. And the ones that are, I learned, are *not* good.
So, I spent a few days, had some struggles, and…yay! Got it! With CUBLAS I was able to get up 350 GFLOPs with just one video card. That’s a nice number to see. And, well, I’m kinda happy I figured that out. So work ain’t all bad.
This week at least.
Of course, folks, this is just work. My personal life? In many ways, work has been as joyful as tree full of monkeys on nitrous oxide compared to that. But the paean to loneliness and malaise that will be a post on personal life…that’s for another time.







Glad you are finally fitting into the groove. I hope I have a successful time as well (minus the first week!) Off to the Caribbean this week, but I’ll post amazing pictures that you can be jealous of.
I won’t pretend like I even have the faintest idea of what you’re talking about… but it does sound like it’s going well overall and you’re having some successes. That’s great! Hopefully your personal life will start working out as well soon!
.-= LostFoundAgain´s last blog ..It sucks =-.