Git Product home page Git Product logo

shogun-docker's Introduction

shogun-docker

A simple python script to test Shogun locally with Docker.

Usage

cmake_configs.py config.yml --path LOCAL_SHOGUN_PATH --result-path PATH_TO_STORE_RESULTS

The cmake flags to run for each build are stored in a YAML file (only need to have a name and the cmake flags, see config.yml)

The first time the script runs will take longer as it builds the Docker image.

The results are stored in --result-path for the three steps:

  • cmake
  • build
  • valgrind

To follow the progress of the run you can stream the log files on the terminal with tail -f FILE.

If you only want to run specific tests you can pass arguments directly to gtest_filter with --gtest_filter

shogun-docker's People

Contributors

gf712 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

shogun-docker's Issues

Error setting up Docker container

I have installed the latest docker on my Mac(10.14.2) and started the daemon.

I then tried running the script after installing the required dependencies to see the following output:

โžœ  shogun-docker git:(master) python3 cmake_configs.py config.yml --path ../shogun --result_path .
Building image (could take a while)...
Stopping and deleting docker container...
Could not stop and delete container.
404 Client Error: Not Found ("No such container: shogun-memory")

Am I missing some initial setup step?

Issue with valgrind when using tmpfs

On MacOS:

  • g++ fails to compile Decomposition.cpp

On Linux:

  • valgrind fails to run: 'valgrind: mmap(0x108000, 79167488) failed in UME with error 1 (Operation not permitted).'

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.