Giter VIP home page Giter VIP logo

ompval's Introduction

OmpVal

How to run

run.sh a OpenMP test generator
Usage:
 ./run.sh -h | --help
 ./run.sh [ -g | --gen ] [ -r | --run] [ -d | --display ]

   -h --help          Show this screen.
   -g, --gen          Generate the tests
   -r, --run          Complile and run the tests
   -d, --display      Display the summary of the test

 Example:
CXX="icx" CXXFLAGS="-fiopenmp -fopenmp-targets=spir64=-fno-exceptions"  ./run.sh -r -d

How to read logs files.

When running with -r, two log files will be create in each directory of the omp_test (e.g. omp_tests/atomic/sound/*.log). They correspond to the output of make for compiling (exe.log) and running (run.log).

Only the code who didn't compile or run are printed when using ./run.sh -d (see result/icx.txt for one example). The error code repported are the one given by make. A quick tranlasion table is: - Aborted : Wrong value - Killed : Hanging, killed by killall -9 - Segmentation fault : ??? - Error 1 (ignored) : Something else

For more information see the log file and check for the error.

Where are the tests?!

Check omp_tests folder. They can be re-generated by run.sh -g. They are generated using the .jinja2 templates located at ompval/template/. If you don't like one test, just remove it.

Requirement

  • python 3.
  • jinja2

ompval's People

Contributors

tapplencourt avatar josemonsalve2 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.