Posts in Category: Research

Applied Electronics Conference

On September 25 to 27, UTN Bahía Blanca will host the uEA2013 conference. The event is an excellent place to meet students, academia, and industry related to electronics in Argentina. I hope to see you there!

Applied Electronics Conference

Applied Electronics Conference

NVIDIA Toolkit and Debian (OpenCL and CUDA)

#1 Here is my system configuration [1]

javier@delfin:~$ cat /etc/apt/apt.conf.d/70debconf
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
APT::Default-Release "testing";

javier@delfin:~$ cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.de.debian.org/debian/ testing main non-free contrib

deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ unstable main non-free contrib

deb http://ftp.de.debian.org/debian/ experimental main non-free contrib
deb-src http://ftp.de.debian.org/debian/ experimental main non-free contrib

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

#2 Install NVIDIA drivers [2]

root@dorado:~#aptitude install module-assistant
root@dorado:~#aptitude install nvidia-kernel-common
root@dorado:~#aptitude install build-essential
root@dorado:~#aptitude install nvidia-kernel-dkms
root@dorado:~#m-a auto-install nvidia-kernel${VERSION}-source
root@dorado:~#aptitude install nvidia-glx${VERSION}
root@dorado:~#aptitude install nvidia-xconfig
root@dorado:~#nvidia-xconfig
root@dorado:~#aptitude install nvidia-settings
root@dorado:~#reboot

#3 Instal NVIDIA CUDA Toolkit and OpenCL development files

Installing:

aptitude install nvidia-cuda-toolkit
aptitude install nvidia-opencl-icd

Packages status:

root@orca:~# aptitude search opencl | grep nvidia
i A nvidia-libopencl1 - NVIDIA OpenCL library
p nvidia-libopencl1-ia32 - NVIDIA OpenCL 32-bit library
i A nvidia-opencl-common - NVIDIA OpenCL driver
i A nvidia-opencl-dev - NVIDIA OpenCL development files
i nvidia-opencl-icd - NVIDIA OpenCL ICD
p nvidia-opencl-icd-ia32 - NVIDIA OpenCL ICD (32-bit)
root@orca:~# aptitude search cuda | grep nvidia
p boinc-nvidia-cuda - metapackage for CUDA-savvy BOINC client an
i A nvidia-cuda-dev - NVIDIA CUDA development files
i A nvidia-cuda-doc - NVIDIA CUDA and OpenCL documentation
i A nvidia-cuda-gdb - NVIDIA CUDA GDB
i nvidia-cuda-toolkit - NVIDIA CUDA toolkit

#4 OpenCL headers [3]

There is a problem with OpenCL headers in Debian (it may be solved soon). Just downgrade the headers:

cd /usr/include/CL/
mkdir 1.2
mv cl.hpp ./1.2/
mv *.h ./1.2/
wget http://www.khronos.org/registry/cl/api/1.1/cl.hpp
wget http://www.khronos.org/registry/cl/api/1.1/opencl.h
wget http://www.khronos.org/registry/cl/api/1.1/cl_platform.h
wget http://www.khronos.org/registry/cl/api/1.1/cl.h
wget http://www.khronos.org/registry/cl/api/1.1/cl_ext.h
wget http://www.khronos.org/registry/cl/api/1.1/cl_d3d10.h
wget http://www.khronos.org/registry/cl/api/1.1/cl_gl.h
wget http://www.khronos.org/registry/cl/api/1.1/cl_gl_ext.h

References
[1] Debian Wiki for apt configuration: http://wiki.debian.org/AptConf
[2] Debian Wiki for NVIDIA drivers: http://wiki.debian.org/NvidiaGraphicsDrivers
[3] OpenCL headrs: http://www.khronos.org/registry/cl/

Our Work Presented at Shanghai!

Our work was presented at Edu-Par 12. It was part of the 26th IEEE International Parallel & Distributed Processing Symposium (IPDPS) located at Shanghai, China.

  • You can see the program here
  • Link to the conference here
  • Our parallel processing course at UTN here
  • A reference in the news (in Spanish) here

NSF/IEEE Award!

National Science Foundation (NSF) and the Technical Committee on Parallel Processing (TCPP) awarded me for a proposal about teaching parallel processing to undergrad students. The initiative is supported by the rest of the professors at UTN. You can see the complete list of the awarded initiaves here. Our material is here.

IEEE Computer

IEEE Computer

The Edges of Big Buck Bunny

Here you can see a sample of the work we are doing on video processing. In this case we are using an edge-detection filter. The original material is available at www.bigbuckbunny.org

Our Work Presented in HPC Event

Last week I took part of the HPC 2010 Symposium. I found an energetic community that is growing year by year. We presented a work that shows some test we did using UtraSPARC T2 in visual computing.
The app in action

The app in action

Debian GNU-Linux on 8-core UltraSPARC T2 Processor

First of all, you got to boot from de CD-ROM. You got to deal with ILOM
> set /HOST/bootmode script="setenv auto-boot? false"
Set 'script' to 'setenv auto-boot? false'

-> set /HOST send_break_action=break
Set 'send_break_action' to 'break'

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started.  To stop, type #.
Once you reach the OK menu:
{0} ok boot cdrom
From that point, you install Debian as usual :)
More data at the HPC course I teach

We are running Debian GNU/Linux on a Sun SPARC Enterprise T5120 Server. The machine is powered by 8-core UltraSPARC T2 Processor. The machine supports 64 hardware threads. Lisandro helped me in this project.
Take a look at the output of htop command. We got a visualization problem ;)
Debian on ultraSPARC

64 threads and htop