Git Product home page Git Product logo

libwb's Introduction

libwb

Compiling and Running on Linux and Windows

by Tran Minh Quan

This is a tutorial explains how to compile and run your Machine Problems (MPs) offline without separating on building libwb.

Caution: If you don't have NVIDIA GPUs (CUDA Capable GPUs) on your local machine, you cannot run the executable binaries.

First, regardless your platform is, please install CUDA 5.5 and Cmake 2.8 (http://www.cmake.org/) , then set the path appropriate to these things (linux).

Check out the source codes (only skeleton codes) for MPs as following

https://github.com/hvcl/hetero13

git clone https://github.com/abduld/libwb

1. If you are under Linux environment, you should use gcc lower than 4.7 (mine is 4.4.7). Ortherwise, it will not be compatible with nvcc

cd libwb
ls
mkdir build
cd build/
cmake ..
make -j4
./MP0

2. If you are under Windows environment

Open Cmake Gui:

Where is the source code: {libwb}/
Where to build the binary: {libwb}/build

image

Press Configure, Yes and choose your compiler (in this case Visual Studio 10 (32 bit) or Visual Studio 10 Win64 (64 bit), then press Finish

image

image

Press Configure one more time and generate

image

Open your generated folder and Double click on libwb.sln

image

Right click to MP0 and click "set as startup project"

Press Ctrl F5

Whenever you do the MPs, change the MP accordingly.

Best regards,

P/s1: Sorry about the name of project, it should be hetero14 but I forget that we are already in the new year. My appologize :-P

P/s2: If you are using MAC, please consider reading this link and modify your CMakeLists.txt https://class.coursera.org/hetero-002/forum/thread?thread_id=83

libwb's People

Contributors

abduld avatar bretmckee avatar chadheim avatar jbzdak avatar morbalint avatar nirosys avatar oggy avatar profbbrown avatar sean-dougherty avatar ulidtko avatar

Watchers

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