Code Monkey home page Code Monkey logo

mpispec's Introduction

MPISpec

A Behavior Driven Development Framework for MPI Programs, based on CUnit, CSpec and MPIUnit.

Requirements

Install

$ git clone https://github.com/calorie/mpispec.git
$ cd mpispec
$ ./autogen.sh
$ ./configure
$ make
$ make install

if you have errors, you have to write in your .bashrc etc:

export C_INCLUDE_PATH=$C_INCLUDE_PATH:/your/openmpi/include/path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/shared-object-file/path

Sample

$ cd sample
$ mpispec -np 3

if you have errors of undefined reference, you probably need to install binutils.

$ apt-get install binutils

Development

$ make format
$ clib install -o src
$ make memcheck

======= LGPL Lisence

Author: Yuu Shigetani

Year: 2013-2015

mpispec's People

Contributors

calorie avatar

Watchers

 avatar

mpispec's Issues

remove asprintf [src/mpispec/mpispec_output_junit_xml.c]

filename : src/mpispec/mpispec_output_junit_xml.c
line # : 416
tag : TODO
md5 : e9acef0992836a3ea2f03ce2de3af336

  // [TODO] - remove asprintf
  asprintf(name, "%s %s", prefix, descr);
}

static void descrPrefixName(char** prefix)
{
  int i;
  for( i = 0; i < MPISPEC_MAX_NEST_NUM; i++ ) {
    if( descr_name_prefix_array[i] != NULL ) {
      // [TODO] - remove asprintf
      if (*prefix == NULL)
        asprintf(prefix, "%s", descr_name_prefix_array[i]);
      else
        asprintf(prefix, "%s %s", *prefix, descr_name_prefix_array[i]);
    } else {
      break;
    }

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.