Posted by Javier Delgado | 0 comment(s)
Picture during my final presentation
Picture of Gabriel and I working at Esteban's Media Lab
Keywords: cuda, uff, weekly report
Posted by Javier Delgado | 0 comment(s)
Posted by Javier Delgado | 0 comment(s)
Last weekend, Gabriel invited me for lunch at his house on Saturday. There I met his maid and his menagerie of cats and dogs. After that, I went back to Rio for some more exploration and picture-taking. On Sunday, Esteban took me, Gabriel, and another temporary student who was about to leave, to the National Park of Tijuca Corcovado, where the statue of Christ the Redeemer, which I had been seeing from my balcony since day one, is located. The trip to the top is long and fun, as it involves a pretty long drive up the mountain, with several twists in between. The size and construction of the statue is very impressive. The view of Rio from up there is spectacular. After that we went to Praia do Pepe in Rio. This is another very nice beach with plenty of activities going on. There we went to a place with good açai. When we got back to Niteroi, we stopped by the Parque da Cidade in Niteroi, which also gives a very nice view of the city (this time, from the other side of the ocean). To close the afternoon in style, we went to the famous serbet place in Sao Francisco, which has very good sherbet.
Ipanema at dusk
Me in front of the Christ statue
Gabriel and I at the top of Tijuca Corcovado
Praia do Pepe
View from the Parque da Cidade
This past Saturday, I went to Piratininga beach. My original intention was to go to Camboinhas, but there is no direct bus stop there and I did not want to venture. As it turns out, Piratininga is very nice. There are mountains and hills to walk up (and to dive down to the Beach, for those who dare). Apart from that, this was more of a relaxation beach. There weren't as many people playing sports as there are in Copacabana and Icarai.
Unfortunately, my cultural experience on Sunday involved going to a clinic. Apparently I lost my second battle with Brazilian cuisine, and got a bad virus. Gabriel was extremely helpful in this event, advising me on what to do and with translating for me at the clinic.
Posted by Javier Delgado | 0 comment(s)
John Michalakes, Manish Vachharajani: GPU acceleration of numerical weather prediction. IPDPS 2008: 1-7
This paper discusses the GPU implementation of the WRF WSM-5 module. The paper includes motivation for porting to CUDA as well as for the module that was ported. For the majority of the paper, the authors discuss the procedure taken to port the module from Fortran to C, some basic optimizations, and some results comparing execution time on a single CPU and on GPU. A good overview of how they did the port is provided. They describe the challenges faced when porting to C. For example, globally addressed arrays had to be addressed locally in C. They also show how they use special directives to provide some transparency in porting from C to CUDA. These directives allow them to specify which variables should go in registers, and they do automatic indexing of n-dimensional arrays going to and from the GPU. The GPU implementation resulted in a 17x speedup, and the results obtained were verified to be indistinguishable from the Fortran implementation.
Wednesday we had our first weekly meeting. Gabriel and I gave an informal overview of what we have been working on, and shared some of the problems that we are facing. Before us, Marcelo (far left) gave a presentation on CUDA in relation to a problem with Petrobras. The gentleman to his left, who works is involved in the Petrobras-UFF alliance, was kind enough to attend both of our presentations and share his insight.
Gabriel and I working at the lab
Posted by Javier Delgado | 0 comment(s)
Keywords: brazil, cuda, pire, uff, weekly report
Posted by Javier Delgado | 0 comment(s)
During the weekend, I had to pleasure of visiting the ``marvelous city'' of Rio. Esteban asked Gabriel and I to join him for a boat ride that takes you through Rio. This tour provides a great view of the city. It also gave a good view of the city I am staying at, Niteroi, since it is literally right across the water.
Esteban and I
Me on the boat, with Rio behind me
On Sunday I went on my own adventure to visit the famous beaches in Rio, Ipanema and Copacabana. The scenery and atmosphere there was awesome. The beach is full of people playing sports, sunbathing, swimming, and walking. (Copacabana alone stretches around 5km). Ipanema also has a "mini-mountain" for climbing. Definitely some of the nicestbeaches I have visited.
Tuesday morning I had to get my first batch of laundry done. Fortunately, the guys that came before me did the
grunt work of figuring out how this works and explaining our needs to the laundry department here at the apartment.
The lady knew what to do so there was not too much confusion involved.
Tuesday night was an interesting experience. I went to join the closest gym, which is about 20 minutes away. The
membership included a physical evaluation and personal training session (I guess Braziians are all about being at-your-service).
I got to work on my Portuguese in a practical setting - strength training. Somehow I managed to get through this event using several hand gestures, interpolation of words, and use of my ``portunhol.'' Fortunately, Brazilians are typically very friendly and patient, so it was a fun experience. I also learned some exercise-related words and phrases along the way.
Picture of Copacabana
Local creativity and display of affection for American pop culture
Posted by Javier Delgado | 0 comment(s)
This is my first blog related to my stay at Brazil. It is a summary of the past week and a half. I arrived on Wednesday around noon and was taken to my apartment by my host advisor, Esteban Clua's, student Marcelo Zamit. There I met with one of the guys that was already staying at the apartment and later with my main team-member at UFF, Gabriel Gazolla. Our plans for the brief first week were simply for me to get oriented with the place and prepare the systems to start working on the implementation of the modules. This included setting up WRF on Gabriel's system and setting up CUDA on my system. We were able to do this, albeit with some minor setbacks.
View from the apartment
up-close view of the "Christ the Redeemer" Photo, taken from the appartment
Compiling WRF on Gabriel's machine was not too hard. It is an Ubuntu system, which I had never compiled WRF on, but there were no major setbacks. Installing CUDA on my system was more troublesome since I have a Sony VAIO Z with the ``hybrid graphics'' system. (Basically, there are two graphics cards in the system). Linux needs some work in order to use the nVidia card, which is the one that is supported by CUDA. After some web searching and some system-administration-related troubleshooting, we eventually figured it out and were able to compile and run some CUDA examples.
Monday, while we were ready to get started with the CUDAing, we ran into a problem. I was getting "no device
found" errors. After two or so hours troubleshooting by reinstalling different versions of CUDA, it turned out to be the fact that I had desktop effects enabled on my system.
Tuesday, we accomplished another milestone by finally compiling the WSM-5 kernel and successfully running it.
Apparently, one of the compiled binaries is left behind by the makefile and helper scripts. So I was running an
old version of one of the scripts, compare_snaps, for a couple of hours and wondering what the error might be.
As with many errors, we solved it in a weird way. I copied the files from my computer to Gabriel's. Since
they are different architectures, all the programs had to be recompiled (or else the system complained). This
is where we found the problem.
The rest of the week was spent looking at code and doing some basic code-porting tasks. We finished the week off by running the SW-RAD module that we are attempting to port, using the skeleton provided by John Michaelakes, and a dummy kernel.
Perhaps the view will provide inspiration while working
Posted by Javier Delgado | 0 comment(s)
How I miss Brasil, this was probably the most incredible experience of my life. I have never had so much fun working on projects, learning, and laughing so much in my entire life. The times I shared with my fellow FIU PIRE students and the CS people at UFF will always be in my heart. (wow that is sappy) now for some great pictures.
Oh I forgot to mention my first love in Brasil. THE FOOD!
Seriously the food.

Also the drinks.

Posted by NSF Partnerships for International Research and Education - Peter Greko | 0 comment(s)
Well, as we know, Brasil is a very exotic place with very exotic plants. They also produce lots of sugarcane, which as we know can make things really delicious. From that tidbit of information, I can assure you that the drinks are incredible. I will be running you through several drinks to definately try out. The suprising thing is High Frictose Corn Syrup is never really used at all. This is definately a blessing because not only is it healthier but it tastes better too! So onto our drinks.
Guaraná
I cannot rave any more about this drink, seriously I think it is the best pop (yes I said pop instead of soda, I will be midwesterner till I DIE!!) that I have had down here. Plus you can get it in Miami, thanks to all the Brasilians.(yes I spelled Brasil with an S, as the old saying goes when in Rome, VISIT THE VATICAN, you hethans). This stuff is made out of a nut from the Amazon, how cool is that. It seems to have a lot of natural caffene which is always good. Check out the wikipedia article about it.
Wiki article about awesomness of this Amazonian nut
For you non link clickers:
As a dietary supplement, guarana is an effective energy booster_it contains about twice the caffeine found in coffee beans (about 2–4.5% caffeine in guarana seeds compared to 1–2% for coffee beans).
Did we just read that? Who needs those energy drinks when we have this gift from Mother Nature, THANKS!!!
You can also get this in larger bottles too, we polished off a 2 litre last night. It was great! There are other brands out there but I would recomend sticking to the Antarctica brand. It seems to taste the best. They are also a Brasilian company that has recently reached out to other countries, like our separate country, South Florida. Now onto other drinks.
açaí
We are all currently addicted to the wonderful smoothy that comes from this. Seriously I really am addicted. This is yet another exotic Amazonian fruit.
Now look at that image -->
you see that bowl of strawberries? They look good dont they. WELL ITS IN HERE! They blend strawberries and açaí together!!! Then add Guarana to the mix. OMG instant success! Can you believe that? Suposadly it is healthy or something. I am from the midwest so we digest the unhealthy stuff, Detroit gives you those powers. Now you can either eat it fancy like the bannana bowl one, or you can get it practically anywhere in the cup version. One day I had four of them, I have only had one today but I will be hopefully eating 3 more. Sometimes they put granola in it, but I am a purist.
Suprisingly this magical fruit comes from a palm tree of the sorts. I so want to grow this in my back yard, too bad customs will not let me take it home.
Now for the budget minded people.
Guaravita!!!!!
This stuff is really cheap and it seems to be some sort of tea drink, but it tastes INCREDIBLE. The only problem is that rich Brasilians turn their nose up at it calling it a trash drink. Whatever I am from the midwest and again can digest water from Lake Erie.
So lets get back to budget mindedness. This drink usually costs R$1. Which is like $0.54 US. BUT if you dig, you can find it for R$0.50. Can you believe that? I want to bring home a case of this stuff. It is great! They have one infused with vitamins but that is way too healthy for me.
Posted by Peter Greko | 0 comment(s)