Giter Site home page Giter Site logo

cksystemsgroup / scal Goto Github PK

View Code? Open in Web Editor NEW
132.0 132.0 28.0 7.74 MB

High-performance multicore-scalable data structures and benchmarks

Home Page: http://scal.cs.uni-salzburg.at

License: Other

Shell 0.08% C++ 81.84% C 6.35% Python 8.98% Makefile 2.13% M4 0.63%

scal's People

Contributors

anhaas avatar ckirsch avatar davidklaftenegger avatar levpachmanov avatar maxproc avatar mlippautz avatar mpreis avatar starrytale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scal's Issues

posix_memalign: Cannot allocate memory

Hello,

I run following commands on my ubuntu16.04 LTS (Oracle VM Virtualbox):
tools/make_deps.sh
build/gyp/gyp --depth=. scal.gyp
V=1 BUILDTYPE=Debug make
V=1 BUILDTYPE=Release make
V=1 BUILDTYPE=Release make prodcon-kstack
cd out/Release
sudo ./prodcon-kstack -producers=2 -consumers=2 -operations=100 -c=250 -warn_on_overflow=true

And I get following error:

posix_memalign: Cannot allocate memory

Aborted (core dumped)

Compile error

I tried to compile scal following the instructions in the README.md and it failed, the first and last errors are below and the full error output is here (https://drive.google.com/file/d/0B-KTY7zi7eZHQ3FfWGp1ZzBSekE/view?usp=sharing). I'm guessing the problem is that I'm using gcc 4.9.1, what compilers are you using?

-- Wink

CXX(target) out/Debug/obj.target/computational-load/src/benchmark/computational-load/computational-load.o
In file included from src/util/allocation.h:21:0,
from src/util/malloc-compat.h:18,
from src/util/malloc.h:8,
from src/util/atomic_value128.h:14,
from src/util/atomic_value.h:19,
from src/datastructures/distributed_queue_interface.h:8,
from src/datastructures/ms_queue.h:18,
from src/benchmark/computational-load/computational-load.cc:12:
src/util/platform.h:12:30: error: expected ‘)’ before ‘attribute
#define always_inline inline attribute((always_inline))

and the last errors were:

/usr/include/c++/4.9/atomic: In function ‘void std::atomic_flag_clear_explicit(volatile std::atomic_flag_, std::memory_order)’:
/usr/include/c++/4.9/atomic:786:10: error: ‘volatile struct std::atomic_flag’ has no member named ‘clear’
{ __a->clear(__m); }
^
In file included from /usr/include/c++/4.9/atomic:41:0,
from src/util/atomic_value_new.h:12,
from src/datastructures/pool.h:8,
from src/datastructures/queue.h:8,
from src/datastructures/ms_queue.h:19,
from src/benchmark/computational-load/computational-load.cc:12:
/usr/include/c++/4.9/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator=(std::__atomic_base<_IntTp>::__int_type) [with _ITp = bool; std::__atomic_base<_IntTp>::__int_type = bool]’:
/usr/include/c++/4.9/atomic:70:35: required from here
/usr/include/c++/4.9/bits/atomic_base.h:379:11: error: ‘store’ was not declared in this scope
store(__i);
^
/usr/include/c++/4.9/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator=(std::__atomic_base<_IntTp>::__int_type) volatile [with _ITp = bool; std::__atomic_base<IntTp>::__int_type = bool]’:
/usr/include/c++/4.9/atomic:74:35: required from here
/usr/include/c++/4.9/bits/atomic_base.h:386:11: error: ‘store’ was not declared in this scope
store(__i);
^
computational-load.target.mk:87: recipe for target 'out/Debug/obj.target/computational-load/src/benchmark/computational-load/computational-load.o' failed
make: *
* [out/Debug/obj.target/computational-load/src/benchmark/computational-load/computational-load.o] Error 1

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.