Tuesday, May 24, 2011

Implementation of the parallel odd-even transposition sort algorithm with Open MPI


Today I want to share with you my experiments with Open MPI, an open sources implementation of the MPI interface. Open MPI is a C library that allow you to write parallel programs and run them on a computer cluster.
I start my experiments during labs of the parallel programing course at ESIAL. We implements servals algorithm including the parallel odd-even transposition sort algorithm I will show today.




Saturday, May 21, 2011

Test root apps on Android Emulator



The Android Emulator provide a powerful way to test Android applications. But it not allow you to test root apps because you can't get root privileges via su on the Emulator, although it's possible via adb shell.
So if you want to test root apps you have to get a rooted emulator. It's mean a su binary and optionally the superuser app which allow you to manage root apps.



Here is the list of commands you have to run while the emulator is running : 

 adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system  
 adb push su /system/xbin/su  
 adb shell chmod 06755 /system  
 adb shell chmod 06755 /system/xbin/su