cksystemsgroup / scal Goto Github PK
View Code? Open in Web Editor NEWHigh-performance multicore-scalable data structures and benchmarks
Home Page: http://scal.cs.uni-salzburg.at
License: Other
High-performance multicore-scalable data structures and benchmarks
Home Page: http://scal.cs.uni-salzburg.at
License: Other
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
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.