Coder Social home page Coder Social logo

flamenco's Introduction

Flamenco

Project for Distributed Processing course at university. Entirety written i C, using MPI for distributed computing.

Specification

W małej hiszpańskiej wioseczce mieszkają gitarzyści i tancerki flamenco. Od czasu do czasu dobierają się w pary i dają występy.

Danych jest G gitarzytów i T tancerek. Najpierw muszą się dobrać w pary. Następnie ubiegają się o jedną z S rozróżnialnych sal. Później dają występ.

Specifying numbers T, G and S

Number T is set in file watek_glowny.c in definition #define NUM_OF_TANCERKI

Number G is equal to SIZE-T. Where SIZE is the size of MPI domain (number of processes)

Number S is set in file watek_glowny.c in definition #define ROOMS

Run time

Process runs in infinite loop. Process ends when local logical clock (lamport in watek_glowny.c) reaches #define MAX_LAMPORT (main.h)

Compiling

make debug for verbose version (debugging info).

make for normal version (only info required by project specifications)

Running

make run - compile normal version and run mpirun -np 8 --oversubscribe ./main

mpirun -np [number_of_processes] ./main - run [number_of_processes] instances.

flamenco's People

Contributors

zimoslaw avatar

Watchers

 avatar

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.