Skip to content
/ fresh Public

Fresh-mc is a ruby gem for exploring many-core programming with mpi.

License

Notifications You must be signed in to change notification settings

medols/fresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fresh

Build Status Code Climate Test Coverage Issue Count Gem Version

Fresh-mc is a ruby gem for exploring many-core programming with mpi.

Installation

    $ gem install "fresh-mc"

Usage

    require 'fresh-mc'

    proc{
      3.times{|i|
        sleep rank
        puts "Hi #{i} from node #{rank}/#{size}"
        sleep 3-rank
      }
    }*3

Docker container

  1. Install docker.

    https://hub.docker.com/r/fresh/fresh
  2. Run an instance of the container.

    $ docker run -it fresh/fresh
  3. Run your application.

    $ echo "proc{ p sleep rank }*4" | docker run -i fresh/fresh

Credits

Copyright 2015-2019  Jaume Masip-Torne <jmasip@fresh-mc.com>
          2015-2019  Ismael Merodio-Codinachs <ismael@fresh-mc.com>

Running the specs

First, resolve the fresh-mc gem dependencies:

    $ gem install rubinius-actor

Next, clone this repository:

    $ git clone https://github.com/medols/fresh.git

Then move to it:

    $ cd fresh

Clone MSpec:

    $ git clone https://github.com/ruby/mspec.git ../mspec

And run the Fresh suite:

    $ ../mspec/bin/mspec

This will execute all the Fresh specs.

About

Fresh-mc is a ruby gem for exploring many-core programming with mpi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published