Giter Club home page Giter Club logo

cowichan-1's People

Contributors

fractaldesigns avatar sastraxi avatar

Watchers

James Cloos avatar  avatar

Forkers

sastraxi

cowichan-1's Issues

Compile errors

System used : Ubuntu 16.04.2 LTS xenial
output of gcc -v : https://gist.github.com/afritfr/3966d7e043cc13c1a734c06067156fc6

Reproduction :
I installed the TBB library : " sudo apt-get install libtbb-dev "
Boost library : " sudo apt-get install libboost-all-dev "

Then MPICH from deb file here : https://packages.ubuntu.com/xenial/amd64/mpich/download
For example to compile the TBB version I excecute the commands in comp64.sh :

g++ -Wall -m64 -ltbb -O2 -D LIN64 -c ../cowichan/cowichan.cpp
g++ -Wall -m64 -ltbb -O2 -D LIN64 -o cowichan_tbb *.cpp cowichan.o

after reading the errors I understand that I need to add this line

#include <cstddef>

to file cowichan.hpp because that's where we find size_t and ptrdiff_t types

With MPI excecute the following :

g++ -Wall -m64 -I../../boost2/include/boost-1_37 -I../../MPICH2/Include" -L../../boost2/lib -L../../MPICH2/Lib" -lmpi -lcxx -D LIN64 -O2 -c ../cowichan/cowichan.cpp
g++ -Wall -m64 -I../../boost2/include/boost-1_37 -I../../MPICH2/Include" -L../../boost2/lib -L../../MPICH2/Lib" -lmpi -lcxx -D LIN64 -O2 -o cowichan_openmp *.cpp cowichan.o

instead of g++ I use the mpic++ command

I can't find or install libcxx required by the previous command.

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.