Code Monkey home page Code Monkey logo

genetics's Introduction

Hi! I am Iy谩n 脕lvarez 馃

I am passionate about coding and teaching. The thrill of solving complex problems through programming drives me every day. I believe in the power of knowledge sharing, which is why I love teaching. Whether it's introducing beginners to the basics of programming or guiding advanced students through intricate concepts, I find immense satisfaction in helping others learn and grow. My aim is to inspire a new generation of coders who are as enthusiastic about technology as I am.

Check my LinkedIn for detailed infomation.

genetics's People

Contributors

ferchup avatar iyan22 avatar

Stargazers

 avatar

Watchers

 avatar

genetics's Issues

Write a technical report.

English:
Write a technical report: programs developed, correctly commented and explained, results obtained (data and graphs made), conclusions, etc.

Espa帽ol:
Escribir un informe t茅cnico: programas desarrollados, correctamente comentados y explicados, resultados obtenidos (datos y gr谩ficas realizadas), conclusiones, etc.

Analyze the performance obtained based on the number of threads and optimize the parallel code.

English:
Analyze the performance obtained based on the number of threads. Try to optimize the parallel code (scheduling strategies and synchronization functions) to get an efficient solution.
Once the "best" parallel version is obtained, carry out the corresponding experimentation: run the application for 2, 4, 8, 16, 24 and 32 threads; calculates the serial and parallel execution times for that number of processes, the acceleration factors and efficiencies achieved.
Obviously, carry out all the tests and experiments that seem appropriate to you.

Espa帽ol:
Analiza el rendimiento obtenido en funci贸n del n煤mero de hilos. Intenta optimizar el c贸digo paralelo (estrategias de planificaci贸n y funciones de sincronizaci贸n) para obtener una soluci贸n eficiente.
Una vez obtenida la "mejor" versi贸n paralela, realiza la experimentaci贸n correspondiente: ejecuta la aplicaci贸n para 2, 4, 8, 16, 24 y 32 hilos; calcula los tiempos de ejecuci贸n serie y paralelo para ese n煤mero de procesos, los factores de aceleraci贸n y eficiencias conseguidas.
Obviamente, realiza todas las pruebas y experimentos que te parezcan oportunos.

Check the correct operation of the parallel version in two ways.

English:
Check the correct operation of the parallel version in these two ways:
(a) in series and parallel (for example, using 3 wires) checking that the results are identical.
(b) in parallel with different threads (eg 2 and 8) to check that the results are also identical regardless of the number of threads used.

Espa帽ol:
Comprueba el correcto funcionamiento de la versi贸n paralela de estas dos formas:
(a) en serie y paralelo (por ejemplo, utilizando 3 hilos) comprobando que los resultados son id茅nticos.
(b) en paralelo con diferentes hilos (por ejemplo, con 2 y 8) para comprobar que los resultados tambi茅n son id茅nticos independientemente del n煤mero de hilos que se utilicen.

Create the parallel version of the application using OpenMP.

English:
After creating the serial version and checking its correct operation, create the parallel version of the application using OpenMP. Create a copy of all the modules of the serial version and modify it to program the parallel version (for example, gengroups_p.c, and so on for the rest of the modules). In this way, you will always have the full serial version of the program available.

Espa帽ol:
Tras crear la versi贸n serie y comprobar su correcto funcionamiento, crea la versi贸n paralela de la aplicaci贸n utilizando OpenMP. Crea una copia de todos los m贸dulos de la versi贸n serie y modif铆cala para programar la versi贸n paralela (por ejemplo, gengrupos_p.c, y as铆 para el resto de m贸dulos). De esta forma, siempre tendr谩s disponible la versi贸n serie completa del programa.

Create a command (script) to compile the entire application.

English:
Create a command (script) to compile the entire application.
To do this, edit a text file with the commands you want to run (for example, gcc -O2 -o gengroups_s gengroups_s.c fun_s.c -lm). Change the file permissions to make it an executable file: chmod700 filename
In this way, it will be sufficient to execute that command every time you want to compile the application, instead of having to write the full (long) command each time in the terminal command line. Do not forget that you must end the compilation command with the -lm option, in order to incorporate the library that includes the mathematical functions that we use.

Espa帽ol:
Crea un comando (script) para compilar toda la aplicaci贸n.
Para ello, edita un fichero de texto con los comandos que quieres ejecutar (por ejemplo, gcc -O2 -o gengrupos_s gengrupos_s.c fun_s.c -lm). Cambia los permisos del fichero para convertirlo en un fichero ejecutable:chmod700nombre_fichero
De esta forma, ser谩 suficiente ejecutar ese comando cada vez que quieras compilar la aplicaci贸n, en lugar de tener que escribir cada vez el comando completo (largo) en la l铆nea de comandos de la terminal. No olvides que debes finalizar el comando de compilaci贸n con la opci贸n -lm, para poder incorporar la librer铆a que incluye las funciones matem谩ticas que utilizamos.

Check the correct operation of the serial version of the program and compare results.

English:
Check the correct operation of the serial version of the program. Compare your results (in the dbgen_s.out file) with the results in the res.out file. To do this, you can view some lines of both files or compare both files using the following Linux command:
diff res.out dbgen_s.out
To do the initial tests, you also have a reduced results file, for 1000 samples (res1000.out).

Espa帽ol:
Comprueba el correcto funcionamiento de la versi贸n serie del programa. Compara tus resultados (en el fichero dbgen_s.out) con los resultados del fichero res.out. Para ello, puedes visualizar algunas l铆neas de ambos ficheros o comparar ambos ficheros utilizando el siguiente comando Linux:
diff res.out dbgen_s.out
Para hacer las pruebas iniciales, dispones tambi茅n de un fichero de resultados reducido, para 1000 muestras (res1000.out).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.