Tag Archives: C

Profile of the code on Cirrus

To see the profile on a code, we are going to work with gprof on Cirrus. Let’s use the percolate code: Include the flag -pg for Intel compiler in the Makefile to compile. After compiling, we will see that gmon.out was … Continue reading

Posted in τεχνολογια :: Technology | Tagged , , , , , , | Leave a comment

Running MPI on DICE

Hello World We are going to use C to write the hello world programNow we can compile with mpicc mpicc -o hello hello.c Now we are ready to run in 4 processors: mpirun -np 4 hello Printing ranks and the … Continue reading

Posted in Education, τεχνολογια :: Technology | Tagged , , , , | Leave a comment

Proposal of the program “Peru Rumbo al GSoC 2018”

About the program After our last experience as a group with the GNOME PERU CHALLENGE, members of our community can do a better job in this new program called “Peru in the way of GSoC 2018”.  Please see some posts … Continue reading

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , , , , | 4 Comments

GTK talk at UNAC

Today I did a talk regarded to GTK on Fedora and GNOME. Thanks to the group Codefiis for organizing the workshop at the Faculty of Industrial and Systems Engineering UNAC. We started by installing a Virtual Box and Fedora 26. … Continue reading

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , , , , | 3 Comments

Running Your First Programs in C – Part 2

This post begins where Part 1 left off.  Common programs such as calculating area of basic forms and scan inputs to print a result are developed in this post. 1.1- Calculate the diameter, perimeter and the area of a circle … Continue reading

Posted in FEDORA, GNOME, τεχνολογια :: Technology | Tagged , , , , , , , | 4 Comments

Running Your First Programs in C

One of my duties at National University of Engineering is to teach C to first year students.  I have talk about paradigms of programming and some history regarded to C language, starting with the year of creation 1969 – 1973 … Continue reading

Posted in τεχνολογια :: Technology | Tagged , , , , , , , | Leave a comment

Punteros en C

Primero agradecer al profesor de Lenguaje de programación de la PUCP: Miguel Guanira!!! Ahora estoy aprendiendo punteros genéricos, punteros a funciones y argumentos en líneas de comando para lograr codear quicksort en C, utilizando estos conceptos. Verlos aquí.      … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment