-
Recent Posts
Archives
Categories
Meta
Author Archives: mabouali
Parallelizing loops in MATLAB – Nested parfor
parallelizing a loop in MATLAB could be as easy as changing: to However, you can not have nested parfor in matlab. So, the following will NOT work: An easy work around is to combine these two loops into one loop … Continue reading
Clearing Memory Cache
Ubuntu caches the memory. While that could be useful in some cases, it could cause problem in other cases. You can clear the cache using the following command sync && echo 3 | tee /proc/sys/vm/drop_caches Make sure that you have … Continue reading
Posted in Uncategorized
Leave a comment
Interpolation Extrapolation and Curve-Fitting using higher order polynomial
There are numerous cases that you want to transfer data from one location (source grid) onto another locations (destination grid). Let’s say you have measured the concentration of some pollutants along the river every 1km from the river mouth. Now … Continue reading
Posted in Program
Leave a comment
C, CUDA-C, and MATLAB interface to CUDA-C implementation of SEBS are available for public download now.
Finally, I uploaded the code and an example on how to use the code on code.google.com. You can access the C, CUDA-C, and MATLAB interface to CUDA-C. I am going to add some more documentation. Just one note on MATLAB … Continue reading
Posted in Uncategorized
Leave a comment
slow network connection on Ubuntu
I recently got a new PC with ASUS mainboard. I installed both Windows and Ubuntu 11.10. Everything was fine except that on Ubuntu, the connection was slow, quite often disconnected, downloads from the Internet were halted without being completed or they were … Continue reading
Posted in Tech Tips
Leave a comment
exFAT for your USB Flash Drives
It is not that uncommon to use multiple different operating systems. I personally use Mac, Linux, and for some applications also Windows. In these situations it is not uncommon that you want to transfer file between different computers with different … Continue reading
Posted in Tech Tips
2 Comments
Animating Graphic Files
If you are doing any numerical simulation or modeling, it happens quite often that you want to show a series of your solution snapshots one after each other to make an animation on how the solution is evolving. There are different … Continue reading
Posted in Uncategorized
Leave a comment
New Timing on CUDA-C SEBS
Last summer, I attended the GPU Technology Conference (GTC2012) in San Jose, CA (click here for the home page of the conference). NVIDIA provided some of us with a GeForce GTX480 with 1.5GB memory. This GPU has 480 cores on it. It … Continue reading
Posted in Uncategorized
Leave a comment
Installing CUDA Under Ubuntu 10.04
Well, I wanted to write something on this topic; but noticed that almost what I wanted to write is already available here. So enjoy it.
Posted in Uncategorized
Leave a comment
@ Attribute in MAC OSX and files being in use showing in gray
It happens sometimes that you want to open a file and the finder tells you: Oopsy, can’t do that. This file is being used. (well, of course in much more professional wording). You wonder, what program is using it? and … Continue reading