Git Product home page Git Product logo

exafmm-beta's Introduction

exafmm

History: 2017/03/03 - Now
Branch: dev, learning
Kernel: Laplace, LaplaceKI, Helmholtz, Stokes
Periodic: yes
SIMD: vec.h
Thread: OpenMP tasks
MPI: HOT (global histogram sort)
GPU: no
Build: autoconf
Wrapper: none
Plotting: Python


exafmm/ contains the following directories.

kernels/: FMM kernels

include/: Other FMM functions

tests/: Unit tests

m4/, build-aux/, autom4te.cache/: Used by Autoconf


The "tests" folder contains the following unit tests.

kernel: Tests the P2M, M2M, M2L, L2L, L2P, P2P kernels

build_tree: Tests the tree build

traversal: Tests the interaction lists

fmm: Tests the entire FMM


There are some Python scripts for plotting and unit testing

plot_bodies.py: Plots the data in bodies*.dat (generated by fmm.cxx)

plot_cells.py: Plots the data in cells*.dat (generated by fmm.cxx)

check_all.py: Performs unit testing for wide range of runtime parameters

exafmm-beta's People

Contributors

hdoi avatar hudaibeid avatar jcharris avatar keisukefukuda avatar kentaura avatar knepley avatar labarba avatar mlochbaum avatar mustafabar avatar pizzooid avatar rioyokota avatar taura avatar

Stargazers

 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

exafmm-beta's Issues

Does not build

This is the error I get.

g++ -std=c++11 -I../include -I../uniform -c serial.cxx -o serial.o -DHelmholtz -DSpherical -DUSE_SIMD -DASSERT -DOPENMP -DEXPANSION=4 -DMASS -DDIRECT -DFP64
In file included from ../include/types.h:6:0,
from ../include/bound_box.h:5,
from serial.cxx:2:
../include/macros.h:24:2: error: #error no SIMD
#error no SIMD
^
In file included from ../include/bound_box.h:5:0,
from serial.cxx:2:
../include/types.h:26:19: error: ‘SIMD_BYTES’ was not declared in this scope
const int NSIMD = SIMD_BYTES / sizeof(real_t); //!< SIMD vector length (SIMD_BYTES defined in macros.h)
^
../include/types.h:27:38: error: invalid type in declaration before ‘;’ token
typedef vec<NSIMD,real_t> simdvec; //!< SIMD vector type
^
../include/types.h:94:31: error: ‘SIMD_BYTES’ was not declared in this scope
typedef AlignedAllocator<Body,SIMD_BYTES> BodyAllocator; //!< Body alignment allocator
^
../include/types.h:94:41: error: template argument 2 is invalid
typedef AlignedAllocator<Body,SIMD_BYTES> BodyAllocator; //!< Body alignment allocator
^
../include/types.h:94:56: error: invalid type in declaration before ‘;’ token
typedef AlignedAllocator<Body,SIMD_BYTES> BodyAllocator; //!< Body alignment allocator
^
In file included from /usr/include/c++/4.8/bits/stl_tree.h:66:0,
from /usr/include/c++/4.8/map:60,
from ../include/logger.h:7,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’:
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:90:43: error: ‘int’ is not a class, struct, or union type
typedef typename _Alloc::value_type value_type;
^
/usr/include/c++/4.8/bits/alloc_traits.h:100:1: error: no matching function for call to ‘std::allocator_traits::S_pointer_helper(int)’
GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type)
^
/usr/include/c++/4.8/bits/alloc_traits.h:100:1: note: candidate is:
/usr/include/c++/4.8/bits/alloc_traits.h:100:1: note: template static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int]
GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type)
^
/usr/include/c++/4.8/bits/alloc_traits.h:100:1: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int] [with _Tp = int]’:
/usr/include/c++/4.8/bits/alloc_traits.h:100:1: required from ‘struct std::allocator_traits’
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:100:1: error: ‘int’ is not a class, struct, or union type
/usr/include/c++/4.8/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’:
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:109:1: error: no matching function for call to ‘std::allocator_traits::S_const_pointer_helper(int)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
^
/usr/include/c++/4.8/bits/alloc_traits.h:109:1: note: candidate is:
/usr/include/c++/4.8/bits/alloc_traits.h:109:1: note: template static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
^
/usr/include/c++/4.8/bits/alloc_traits.h:109:1: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int] [with _Tp = int]’:
/usr/include/c++/4.8/bits/alloc_traits.h:109:1: required from ‘struct std::allocator_traits’
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:109:1: error: ‘int’ is not a class, struct, or union type
/usr/include/c++/4.8/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’:
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:120:1: error: no matching function for call to ‘std::allocator_traits::S_void_pointer_helper(int)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer,
^
/usr/include/c++/4.8/bits/alloc_traits.h:120:1: note: candidate is:
/usr/include/c++/4.8/bits/alloc_traits.h:120:1: note: template static typename _Tp::void_pointer std::allocator_traits<_Alloc>::_S_void_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer,
^
/usr/include/c++/4.8/bits/alloc_traits.h:120:1: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::void_pointer std::allocator_traits<_Alloc>::_S_void_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int] [with _Tp = int]’:
/usr/include/c++/4.8/bits/alloc_traits.h:120:1: required from ‘struct std::allocator_traits’
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:120:1: error: ‘int’ is not a class, struct, or union type
/usr/include/c++/4.8/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’:
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:131:1: error: no matching function for call to ‘std::allocator_traits::S_const_void_pointer_helper(int)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(const_void_pointer,
^
/usr/include/c++/4.8/bits/alloc_traits.h:131:1: note: candidate is:
/usr/include/c++/4.8/bits/alloc_traits.h:131:1: note: template static typename _Tp::const_void_pointer std::allocator_traits<_Alloc>::_S_const_void_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(const_void_pointer,
^
/usr/include/c++/4.8/bits/alloc_traits.h:131:1: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::const_void_pointer std::allocator_traits<_Alloc>::_S_const_void_pointer_helper(Tp) [with _Tp = _Tp; _Alloc = int] [with _Tp = int]’:
/usr/include/c++/4.8/bits/alloc_traits.h:131:1: required from ‘struct std::allocator_traits’
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:131:1: error: ‘int’ is not a class, struct, or union type
/usr/include/c++/4.8/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’:
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:142:1: error: no matching function for call to ‘std::allocator_traits::S_difference_type_helper(int)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
^
/usr/include/c++/4.8/bits/alloc_traits.h:142:1: note: candidate is:
/usr/include/c++/4.8/bits/alloc_traits.h:142:1: note: template static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(Tp) [with _Tp = _Tp; _Alloc = int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type,
^
/usr/include/c++/4.8/bits/alloc_traits.h:142:1: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(Tp) [with _Tp = _Tp; _Alloc = int] [with _Tp = int]’:
/usr/include/c++/4.8/bits/alloc_traits.h:142:1: required from ‘struct std::allocator_traits’
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:142:1: error: ‘int’ is not a class, struct, or union type
/usr/include/c++/4.8/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits’:
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:153:1: error: no matching function for call to ‘std::allocator_traits::S_size_type_helper(int)’
_GLIBCXX_ALLOC_TR_NESTED_TYPE(size_type,
^
/usr/include/c++/4.8/bits/alloc_traits.h:153:1: note: candidate is:
/usr/include/c++/4.8/bits/alloc_traits.h:153:1: note: template static typename _Tp::size_type std::allocator_traits<_Alloc>::_S_size_type_helper(Tp) [with _Tp = _Tp; _Alloc = int]
_GLIBCXX_ALLOC_TR_NESTED_TYPE(size_type,
^
/usr/include/c++/4.8/bits/alloc_traits.h:153:1: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template static typename _Tp::size_type std::allocator_traits<_Alloc>::_S_size_type_helper(Tp) [with _Tp = _Tp; _Alloc = int] [with _Tp = int]’:
/usr/include/c++/4.8/bits/alloc_traits.h:153:1: required from ‘struct std::allocator_traits’
/usr/include/c++/4.8/ext/alloc_traits.h:121:10: required from ‘struct __gnu_cxx::__alloc_traits’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:153:1: error: ‘int’ is not a class, struct, or union type
In file included from /usr/include/c++/4.8/bits/stl_construct.h:61:0,
from /usr/include/c++/4.8/deque:62,
from /usr/include/c++/4.8/queue:60,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/ext/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits’:
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/ext/alloc_traits.h:137:23: error: no members matching ‘__gnu_cxx::__alloc_traits::_Base_type {aka std::allocator_traits}::allocate’ in ‘__gnu_cxx::__alloc_traits::_Base_type {aka struct std::allocator_traits}’
using _Base_type::allocate;
^
/usr/include/c++/4.8/ext/alloc_traits.h:138:23: error: no members matching ‘__gnu_cxx::__alloc_traits::_Base_type {aka std::allocator_traits}::deallocate’ in ‘__gnu_cxx::__alloc_traits::_Base_type {aka struct std::allocator_traits}’
using _Base_type::deallocate;
^
/usr/include/c++/4.8/ext/alloc_traits.h:141:23: error: no members matching ‘__gnu_cxx::__alloc_traits::_Base_type {aka std::allocator_traits}::max_size’ in ‘__gnu_cxx::__alloc_traits::_Base_type {aka struct std::allocator_traits}’
using _Base_type::max_size;
^
In file included from /usr/include/c++/4.8/bits/stl_tree.h:66:0,
from /usr/include/c++/4.8/map:60,
from ../include/logger.h:7,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/alloc_traits.h: In substitution of ‘template template using rebind_alloc = typename std::__alloctr_rebind<_Alloc, _Tp>::__type [with _Tp = Body; _Alloc = int]’:
/usr/include/c++/4.8/ext/alloc_traits.h:196:65: required from ‘struct __gnu_cxx::__alloc_traits::rebind’
/usr/include/c++/4.8/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<Body, int>’
/usr/include/c++/4.8/bits/stl_vector.h:210:11: required from ‘class std::vector<Body, int>’
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/alloc_traits.h:202:76: error: invalid use of incomplete type ‘struct std::__alloctr_rebind<int, Body, false>’
using rebind_alloc = typename __alloctr_rebind<_Alloc, _Tp>::__type;
^
/usr/include/c++/4.8/bits/alloc_traits.h:65:12: error: declaration of ‘struct std::__alloctr_rebind<int, Body, false>’
struct __alloctr_rebind;
^
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘class std::vector<Body, int>’:
../include/types.h:97:15: required from here
/usr/include/c++/4.8/bits/stl_vector.h:213:58: error: ‘int’ is not a class, struct, or union type
typedef typename _Alloc::value_type _Alloc_value_type;
^
/usr/include/c++/4.8/bits/stl_vector.h:237:20: error: no members matching ‘std::vector<Body, int>::_Base {aka std::_Vector_base<Body, int>}::_M_allocate’ in ‘std::vector<Body, int>::_Base {aka struct std::_Vector_base<Body, int>}’
using _Base::_M_allocate;
^
/usr/include/c++/4.8/bits/stl_vector.h:238:20: error: no members matching ‘std::vector<Body, int>::_Base {aka std::_Vector_base<Body, int>}::_M_deallocate’ in ‘std::vector<Body, int>::_Base {aka struct std::_Vector_base<Body, int>}’
using _Base::_M_deallocate;
^
/usr/include/c++/4.8/bits/stl_vector.h:240:20: error: no members matching ‘std::vector<Body, int>::_Base {aka std::_Vector_base<Body, int>}::_M_get_Tp_allocator’ in ‘std::vector<Body, int>::_Base {aka struct std::_Vector_base<Body, int>}’
using _Base::_M_get_Tp_allocator;
^
In file included from ../include/bound_box.h:5:0,
from serial.cxx:2:
../include/types.h:110:3: error: ‘B_iter’ does not name a type
B_iter BODY; //!< Iterator of first body
^
In file included from serial.cxx:2:0:
../include/bound_box.h:13:5: error: ‘B_iter’ does not name a type
B_iter BiBegin; //!< Begin iterator of bodies
^
../include/bound_box.h:14:5: error: ‘B_iter’ does not name a type
B_iter BiEnd; //!< End iterator of bodies
^
../include/bound_box.h:17:28: error: expected ‘)’ before ‘_BiBegin’
BodiesRecursion(B_iter _BiBegin, B_iter _BiEnd, Bounds & bounds, int nspawn) : // Constructor
^
In file included from /usr/include/c++/4.8/cassert:43:0,
from ../include/macros.h:11,
from ../include/types.h:6,
from ../include/bound_box.h:5,
from serial.cxx:2:
../include/bound_box.h: In member function ‘void BoundBox::BodiesRecursion::operator()()’:
../include/bound_box.h:20:14: error: ‘BiEnd’ was not declared in this scope
assert(BiEnd - BiBegin > 0); // Validate range
^
../include/bound_box.h:20:22: error: ‘BiBegin’ was not declared in this scope
assert(BiEnd - BiBegin > 0); // Validate range
^
In file included from serial.cxx:2:0:
../include/bound_box.h:22:7: error: ‘B_iter’ was not declared in this scope
for (B_iter B=BiBegin; B!=BiEnd; B++) { // Loop over range of bodies
^
../include/bound_box.h:22:14: error: expected ‘;’ before ‘B’
for (B_iter B=BiBegin; B!=BiEnd; B++) { // Loop over range of bodies
^
../include/bound_box.h:22:25: error: ‘B’ was not declared in this scope
for (B_iter B=BiBegin; B!=BiEnd; B++) { // Loop over range of bodies
^
../include/bound_box.h:27:2: error: ‘B_iter’ was not declared in this scope
B_iter BiMid = BiBegin + (BiEnd - BiBegin) / 2; // Middle iterator
^
../include/bound_box.h:27:9: error: expected ‘;’ before ‘BiMid’
B_iter BiMid = BiBegin + (BiEnd - BiBegin) / 2; // Middle iterator
^
../include/bound_box.h:30:45: error: ‘BiMid’ was not declared in this scope
BodiesRecursion leftBranch(BiBegin, BiMid, bounds, nspawn);// Instantiate recursive functor
^
../include/bound_box.h: In member function ‘Bounds BoundBox::getBounds(Bodies&)’:
../include/bound_box.h:82:42: error: ‘Bodies’ has no member named ‘front’
bounds.Xmin = bounds.Xmax = bodies.front().X; // Initialize Xmin, Xmax
^
../include/bound_box.h:83:46: error: ‘Bodies’ has no member named ‘begin’
BodiesRecursion bodiesRecursion(bodies.begin(),bodies.end(),bounds,nspawn);// Instantiate recursive functor
^
../include/bound_box.h:83:61: error: ‘Bodies’ has no member named ‘end’
BodiesRecursion bodiesRecursion(bodies.begin(),bodies.end(),bounds,nspawn);// Instantiate recursive functor
^
../include/bound_box.h: In member function ‘Bounds BoundBox::getBounds(Bodies, Bounds)’:
../include/bound_box.h:93:44: error: ‘Bodies’ has no member named ‘begin’
BodiesRecursion bodiesRecursion(bodies.begin(),bodies.end(),bounds,nspawn);// Instantiate recursive functor
^
../include/bound_box.h:93:59: error: ‘Bodies’ has no member named ‘end’
BodiesRecursion bodiesRecursion(bodies.begin(),bodies.end(),bounds,nspawn);// Instantiate recursive functor
^
In file included from ../include/build_tree.h:13:0,
from serial.cxx:3:
../include/build_tree_omp.h: In member function ‘void BuildTree::getKey(Bodies&, uint64_t
, Bounds, int)’:
../include/build_tree_omp.h:41:7: error: ‘B_iter’ was not declared in this scope
B_iter B=bodies.begin()+b; // Body iterator
^
../include/build_tree_omp.h:41:14: error: expected ‘;’ before ‘B’
B_iter B=bodies.begin()+b; // Body iterator
^
../include/build_tree_omp.h:42:17: error: ‘B’ was not declared in this scope
int ix = (B->X[0] - bounds.Xmin[0]) / d; // Index in x dimension
^
../include/build_tree_omp.h: In member function ‘void BuildTree::permute(Bodies&, Bodies&, int
)’:
../include/build_tree_omp.h:127:13: error: no match for ‘operator[]’ (operand types are ‘Bodies {aka std::vector<Body, int>}’ and ‘int’)
bodies[b] = buffer[index[b]];
^
../include/build_tree_omp.h:127:25: error: no match for ‘operator[]’ (operand types are ‘Bodies {aka std::vector<Body, int>}’ and ‘int’)
bodies[b] = buffer[index[b]];
^
../include/build_tree_omp.h: In member function ‘void BuildTree::bodies2leafs(Bodies&, Cells&, Bounds, int)’:
../include/build_tree_omp.h:136:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) {
^
../include/build_tree_omp.h:136:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) {
^
../include/build_tree_omp.h:136:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) {
^
../include/build_tree_omp.h:136:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) {
^
../include/build_tree_omp.h:146:7: error: ‘struct Cell’ has no member named ‘BODY’
cell.BODY = B;
^
../include/build_tree_omp.h: In member function ‘void BuildTree::leafs2cells(Cells&, Bounds, int)’:
../include/build_tree_omp.h:170:2: error: ‘B_iter’ was not declared in this scope
B_iter B = cells[c].BODY;
^
../include/build_tree_omp.h:170:9: error: expected ‘;’ before ‘B’
B_iter B = cells[c].BODY;
^
../include/build_tree_omp.h:171:11: error: ‘B’ was not declared in this scope
int IC = B->ICELL / div;
^
../include/build_tree_omp.h:180:9: error: ‘struct Cell’ has no member named ‘BODY’
cell.BODY = cells[c].BODY;
^
../include/build_tree_omp.h:180:27: error: ‘__gnu_cxx::__alloc_traitsstd::allocator::value_type’ has no member named ‘BODY’
cell.BODY = cells[c].BODY;
^
In file included from serial.cxx:4:0:
../include/dataset.h: In member function ‘Bodies Dataset::lattice(int, int, int)’:
../include/dataset.h:37:5: error: ‘B_iter’ was not declared in this scope
B_iter B = bodies.begin(); // Initialize body iterator
^
../include/dataset.h:37:12: error: expected ‘;’ before ‘B’
B_iter B = bodies.begin(); // Initialize body iterator
^
../include/dataset.h:40:42: error: ‘B’ was not declared in this scope
for (int iz=begin; iz<end; iz++, B++) { // Loop over z direction
^
../include/dataset.h: In member function ‘Bodies Dataset::cube(int, int, int)’:
../include/dataset.h:58:12: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:58:19: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:58:43: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:58:53: error: ‘Bodies’ has no member named ‘begin’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h: In member function ‘Bodies Dataset::sphere(int, int, int)’:
../include/dataset.h:75:12: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:75:19: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:75:43: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:75:53: error: ‘Bodies’ has no member named ‘begin’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:79:32: error: ‘norm’ was not declared in this scope
real_t r = std::sqrt(norm(B->X)); // Distance from center
^
../include/dataset.h:79:32: note: suggested alternatives:
In file included from ../include/types.h:9:0,
from ../include/bound_box.h:5,
from serial.cxx:2:
../include/vec.h:163:12: note: ‘norm’
friend T norm(const vec & v) { // L2 norm squared
^
In file included from ../include/types.h:4:0,
from ../include/bound_box.h:5,
from serial.cxx:2:
/usr/include/c++/4.8/complex:1842:5: note: ‘std::norm’
norm(Tp __x)
^
In file included from serial.cxx:4:0:
../include/dataset.h: In member function ‘Bodies Dataset::octant(int, int, int)’:
../include/dataset.h:96:12: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:96:19: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:96:43: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:96:53: error: ‘Bodies’ has no member named ‘begin’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h: In member function ‘Bodies Dataset::plummer(int, int, int)’:
../include/dataset.h:115:7: error: ‘B_iter’ was not declared in this scope
B_iter B=bodies.begin()+begin; // Body begin iterator
^
../include/dataset.h:115:14: error: expected ‘;’ before ‘B’
B_iter B=bodies.begin()+begin; // Body begin iterator
^
../include/dataset.h:116:14: error: ‘B’ was not declared in this scope
while (B != bodies.begin()+end) { // While body iterator is within range
^
../include/dataset.h:116:26: error: ‘Bodies’ has no member named ‘begin’
while (B != bodies.begin()+end) { // While body iterator is within range
^
../include/dataset.h: In member function ‘void Dataset::initSource(Bodies&, int, int)’:
../include/dataset.h:166:12: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:166:19: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:166:43: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h:166:53: error: ‘Bodies’ has no member named ‘begin’
for (B_iter B=bodies.begin()+begin; B!=bodies.begin()+end; B++) {// Loop over bodies
^
../include/dataset.h: In member function ‘void Dataset::initTarget(Bodies&)’:
../include/dataset.h:175:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:175:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:175:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:175:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:177:27: error: ‘Bodies’ has no member named ‘begin’
B->IBODY = B-bodies.begin(); // Initial body numbering
^
../include/dataset.h: In member function ‘void Dataset::readSources(Bodies&, int)’:
../include/dataset.h:217:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:217:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:217:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:217:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h: In member function ‘void Dataset::writeSources(Bodies&, int)’:
../include/dataset.h:233:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:233:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:233:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:233:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h: In member function ‘void Dataset::readTargets(Bodies&, int)’:
../include/dataset.h:249:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:249:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:249:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:249:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h: In member function ‘void Dataset::writeTargets(Bodies&, int)’:
../include/dataset.h:265:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:265:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:265:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h:265:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/dataset.h: In member function ‘void Dataset::sampleBodies(Bodies&, int)’:
../include/dataset.h:279:15: error: no match for ‘operator[]’ (operand types are ‘Bodies {aka std::vector<Body, int>}’ and ‘int’)
bodies[i] = bodies[i_stride]; // Sample targets
^
../include/dataset.h:279:27: error: no match for ‘operator[]’ (operand types are ‘Bodies {aka std::vector<Body, int>}’ and ‘int’)
bodies[i] = bodies[i_stride]; // Sample targets
^
In file included from serial.cxx:6:0:
../include/traversal.h: In member function ‘void Traversal::DirectRecursion::operator()()’:
../include/traversal.h:354:7: error: ‘struct Cell’ has no member named ‘BODY’
Ci2->BODY = Ci->BODY + Ci->NBODY / 2; // Set begin iterator to handle latter half
^
../include/traversal.h:354:18: error: ‘struct Cell’ has no member named ‘BODY’
Ci2->BODY = Ci->BODY + Ci->NBODY / 2; // Set begin iterator to handle latter half
^
../include/traversal.h: In member function ‘void Traversal::direct(Bodies&, Bodies&, real_t)’:
../include/traversal.h:371:9: error: ‘struct Cell’ has no member named ‘BODY’
Ci->BODY = ibodies.begin(); // Iterator of first target body
^
../include/traversal.h:371:24: error: ‘Bodies’ has no member named ‘begin’
Ci->BODY = ibodies.begin(); // Iterator of first target body
^
../include/traversal.h:373:9: error: ‘struct Cell’ has no member named ‘BODY’
Cj->BODY = jbodies.begin(); // Iterator of first source body
^
../include/traversal.h:373:24: error: ‘Bodies’ has no member named ‘begin’
Cj->BODY = jbodies.begin(); // Iterator of first source body
^
../include/traversal.h: In member function ‘void Traversal::normalize(Bodies&)’:
../include/traversal.h:385:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/traversal.h:385:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/traversal.h:385:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/traversal.h:385:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
In file included from serial.cxx:7:0:
../include/up_down_pass.h: In member function ‘void UpDownPass::PostOrderTraversal::setRmax()’:
../include/up_down_pass.h:74:7: error: ‘B_iter’ was not declared in this scope
for (B_iter B=C->BODY; B!=C->BODY+C->NBODY; B++) { // Loop over bodies in cell
^
../include/up_down_pass.h:74:14: error: expected ‘;’ before ‘B’
for (B_iter B=C->BODY; B!=C->BODY+C->NBODY; B++) { // Loop over bodies in cell
^
../include/up_down_pass.h:74:25: error: ‘B’ was not declared in this scope
for (B_iter B=C->BODY; B!=C->BODY+C->NBODY; B++) { // Loop over bodies in cell
^
../include/up_down_pass.h:74:31: error: ‘struct Cell’ has no member named ‘BODY’
for (B_iter B=C->BODY; B!=C->BODY+C->NBODY; B++) { // Loop over bodies in cell
^
../include/up_down_pass.h: In member function ‘vec3 UpDownPass::getDipole(Bodies&, vec3)’:
../include/up_down_pass.h:181:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h:181:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h:181:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h:181:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h: In member function ‘void UpDownPass::dipoleCorrection(Bodies&, vec3, int, real_t)’:
../include/up_down_pass.h:190:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h:190:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h:190:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/up_down_pass.h:190:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
In file included from serial.cxx:8:0:
../include/verify.h: In member function ‘target_t Verify::getSumScalar(Bodies&)’:
../include/verify.h:17:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:17:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:17:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:17:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h: In member function ‘target_t Verify::getNrmScalar(Bodies&)’:
../include/verify.h:26:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:26:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:26:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:26:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h: In member function ‘target_t Verify::getDifScalar(Bodies&, Bodies&)’:
../include/verify.h:35:5: error: ‘B_iter’ was not declared in this scope
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:35:12: error: expected ‘;’ before ‘B2’
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:36:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:36:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:36:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:36:57: error: ‘B2’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h: In member function ‘target_t Verify::getRelScalar(Bodies&, Bodies&)’:
../include/verify.h:45:5: error: ‘B_iter’ was not declared in this scope
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:45:12: error: expected ‘;’ before ‘B2’
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:46:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:46:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:46:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:46:57: error: ‘B2’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h: In member function ‘target_t Verify::getNrmVector(Bodies&)’:
../include/verify.h:56:10: error: ‘B_iter’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:56:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:56:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h:56:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++) { // Loop over bodies
^
../include/verify.h: In member function ‘target_t Verify::getDifVector(Bodies&, Bodies&)’:
../include/verify.h:67:5: error: ‘B_iter’ was not declared in this scope
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:67:12: error: expected ‘;’ before ‘B2’
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:68:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:68:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:68:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:68:57: error: ‘B2’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h: In member function ‘target_t Verify::getRelVector(Bodies&, Bodies&)’:
../include/verify.h:79:5: error: ‘B_iter’ was not declared in this scope
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:79:12: error: expected ‘;’ before ‘B2’
B_iter B2 = bodies2.begin(); // Set iterator of bodies2
^
../include/verify.h:80:17: error: expected ‘;’ before ‘B’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:80:35: error: ‘B’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:80:45: error: ‘Bodies’ has no member named ‘end’
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
../include/verify.h:80:57: error: ‘B2’ was not declared in this scope
for (B_iter B=bodies.begin(); B!=bodies.end(); B++, B2++) { // Loop over bodies & bodies2
^
serial.cxx: In function ‘int main(int, char*
)’:
serial.cxx:83:56: error: cannot convert ‘target_t {aka std::complex}’ to ‘double’ in initialization
double potDif = verify.getDifScalar(bodies, bodies2);
^
serial.cxx:84:47: error: cannot convert ‘target_t {aka std::complex}’ to ‘double’ in initialization
double potNrm = verify.getNrmScalar(bodies);
^
serial.cxx:85:56: error: cannot convert ‘target_t {aka std::complex}’ to ‘double’ in initialization
double accDif = verify.getDifVector(bodies, bodies2);
^
serial.cxx:86:47: error: cannot convert ‘target_t {aka std::complex}’ to ‘double’ in initialization
double accNrm = verify.getNrmVector(bodies);
^
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘bool std::vector<_Tp, _Alloc>::empty() const [with _Tp = Body; _Alloc = int]’:
../include/bound_box.h:79:22: required from here
/usr/include/c++/4.8/bits/stl_vector.h:735:31: error: no matching function for call to ‘end()’
{ return begin() == end(); }
^
/usr/include/c++/4.8/bits/stl_vector.h:735:31: note: candidates are:
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:68:5: note: template decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
/usr/include/c++/4.8/bits/range_access.h:68:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:31: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:78:5: note: template decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
/usr/include/c++/4.8/bits/range_access.h:78:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:31: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:97:5: note: template<class _Tp, unsigned int _Nm> Tp std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
/usr/include/c++/4.8/bits/range_access.h:97:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:31: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:42:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/initializer_list:99:5: note: template constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
/usr/include/c++/4.8/initializer_list:99:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:31: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
/usr/include/c++/4.8/bits/stl_vector.h:735:22: error: no matching function for call to ‘begin()’
{ return begin() == end(); }
^
/usr/include/c++/4.8/bits/stl_vector.h:735:22: note: candidates are:
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:48:5: note: template decltype (__cont.begin()) std::begin(_Container&)
begin(_Container& __cont) -> decltype(__cont.begin())
^
/usr/include/c++/4.8/bits/range_access.h:48:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:22: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:58:5: note: template decltype (__cont.begin()) std::begin(const _Container&)
begin(const _Container& __cont) -> decltype(__cont.begin())
^
/usr/include/c++/4.8/bits/range_access.h:58:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:22: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:87:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
begin(_Tp (&__arr)[_Nm])
^
/usr/include/c++/4.8/bits/range_access.h:87:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:22: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:42:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/initializer_list:89:5: note: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
begin(initializer_list<_Tp> __ils) noexcept
^
/usr/include/c++/4.8/initializer_list:89:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h:735:22: note: candidate expects 1 argument, 0 provided
{ return begin() == end(); }
^
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’:
../include/build_tree_omp.h:40:37: required from here
/usr/include/c++/4.8/bits/stl_vector.h:646:50: error: ‘const struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
{ return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
^
/usr/include/c++/4.8/bits/stl_vector.h:646:50: error: ‘const struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc: In instantiation of ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Body; _Alloc = int]’:
../include/build_tree_omp.h:238:12: required from here
/usr/include/c++/4.8/bits/vector.tcc:169:37: error: ‘const class std::vector<Body, int>’ has no member named ‘_M_get_Tp_allocator’
&& _M_get_Tp_allocator() != __x._M_get_Tp_allocator())
^
/usr/include/c++/4.8/bits/vector.tcc:169:35: error: ‘_M_get_Tp_allocator’ was not declared in this scope
&& _M_get_Tp_allocator() != __x._M_get_Tp_allocator())
^
/usr/include/c++/4.8/bits/vector.tcc:175:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:175:5: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:175:5: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
/usr/include/c++/4.8/bits/vector.tcc:175:29: error: ‘_M_deallocate’ was not declared in this scope
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:176:28: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_start = nullptr;
^
/usr/include/c++/4.8/bits/vector.tcc:177:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
this->_M_impl._M_finish = nullptr;
^
/usr/include/c++/4.8/bits/vector.tcc:178:37: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
this->_M_impl._M_end_of_storage = nullptr;
^
/usr/include/c++/4.8/bits/vector.tcc:180:49: error: ‘_M_get_Tp_allocator’ was not declared in this scope
std::__alloc_on_copy(_M_get_Tp_allocator(),
^
/usr/include/c++/4.8/bits/vector.tcc:181:33: error: ‘const class std::vector<Body, int>’ has no member named ‘_M_get_Tp_allocator’
__x._M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:190:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:190:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
/usr/include/c++/4.8/bits/vector.tcc:190:28: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:193:32: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:193:8: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:193:8: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
/usr/include/c++/4.8/bits/vector.tcc:193:32: error: ‘_M_deallocate’ was not declared in this scope
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:194:31: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_start = __tmp;
^
/usr/include/c++/4.8/bits/vector.tcc:195:65: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __xlen;
^
/usr/include/c++/4.8/bits/vector.tcc:195:40: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __xlen;
^
/usr/include/c++/4.8/bits/vector.tcc:199:63: error: ‘const class std::vector<Body, int>’ has no member named ‘begin’
std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
^
/usr/include/c++/4.8/bits/vector.tcc:199:63: error: ‘const class std::vector<Body, int>’ has no member named ‘end’
/usr/include/c++/4.8/bits/vector.tcc:199:62: error: no matching function for call to ‘begin()’
std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
^
/usr/include/c++/4.8/bits/vector.tcc:199:62: note: candidates are:
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:48:5: note: template decltype (__cont.begin()) std::begin(_Container&)
begin(_Container& __cont) -> decltype(__cont.begin())
^
/usr/include/c++/4.8/bits/range_access.h:48:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:199:62: note: candidate expects 1 argument, 0 provided
std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:58:5: note: template decltype (__cont.begin()) std::begin(const _Container&)
begin(const _Container& __cont) -> decltype(__cont.begin())
^
/usr/include/c++/4.8/bits/range_access.h:58:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:199:62: note: candidate expects 1 argument, 0 provided
std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:87:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::begin(_Tp (&)[_Nm])
begin(_Tp (&__arr)[_Nm])
^
/usr/include/c++/4.8/bits/range_access.h:87:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:199:62: note: candidate expects 1 argument, 0 provided
std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:42:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/initializer_list:89:5: note: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>)
begin(initializer_list<_Tp> __ils) noexcept
^
/usr/include/c++/4.8/initializer_list:89:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:199:62: note: candidate expects 1 argument, 0 provided
std::_Destroy(std::copy(__x.begin(), __x.end(), begin()),
^
/usr/include/c++/4.8/bits/vector.tcc:200:12: error: no matching function for call to ‘end()’
end(), _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:200:12: note: candidates are:
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:68:5: note: template decltype (__cont.end()) std::end(_Container&)
end(_Container& __cont) -> decltype(__cont.end())
^
/usr/include/c++/4.8/bits/range_access.h:68:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:200:12: note: candidate expects 1 argument, 0 provided
end(), _M_get_Tp_allocator());
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:78:5: note: template decltype (__cont.end()) std::end(const _Container&)
end(const _Container& __cont) -> decltype(__cont.end())
^
/usr/include/c++/4.8/bits/range_access.h:78:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:200:12: note: candidate expects 1 argument, 0 provided
end(), _M_get_Tp_allocator());
^
In file included from /usr/include/c++/4.8/string:51:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/bits/range_access.h:97:5: note: template<class _Tp, unsigned int _Nm> _Tp* std::end(_Tp (&)[_Nm])
end(_Tp (&__arr)[_Nm])
^
/usr/include/c++/4.8/bits/range_access.h:97:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:200:12: note: candidate expects 1 argument, 0 provided
end(), _M_get_Tp_allocator());
^
In file included from /usr/include/c++/4.8/bits/basic_string.h:42:0,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from ../include/args.h:6,
from serial.cxx:1:
/usr/include/c++/4.8/initializer_list:99:5: note: template constexpr const _Tp* std::end(std::initializer_list<_Tp>)
end(initializer_list<_Tp> __ils) noexcept
^
/usr/include/c++/4.8/initializer_list:99:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc:200:12: note: candidate expects 1 argument, 0 provided
end(), _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:200:35: error: ‘_M_get_Tp_allocator’ was not declared in this scope
end(), _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:205:26: error: ‘const struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:204:61: error: ‘const struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
std::copy(__x._M_impl._M_start, __x._M_impl._M_start + size(),
^
/usr/include/c++/4.8/bits/vector.tcc:205:26: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:206:57: error: ‘const struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
std::__uninitialized_copy_a(__x._M_impl._M_start + size(),
^
/usr/include/c++/4.8/bits/vector.tcc:209:29: error: ‘const struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:209:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
/usr/include/c++/4.8/bits/vector.tcc:209:28: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:211:53: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_finish = this->_M_impl._M_start + __xlen;
^
/usr/include/c++/4.8/bits/vector.tcc:211:28: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
this->_M_impl._M_finish = this->_M_impl._M_start + __xlen;
^
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = Body; _Alloc = int]’:
../include/dataset.h:36:29: required from here
/usr/include/c++/4.8/bits/stl_vector.h:416:30: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
_M_get_Tp_allocator()); }
^
/usr/include/c++/4.8/bits/stl_vector.h:416:30: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
/usr/include/c++/4.8/bits/stl_vector.h:416:29: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator()); }
^
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’:
../include/dataset.h:281:31: required from here
/usr/include/c++/4.8/bits/stl_vector.h:669:43: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
_M_erase_at_end(this->_M_impl._M_start + __new_size);
^
/usr/include/c++/4.8/bits/stl_vector.h:669:55: error: ‘_M_erase_at_end’ was not declared in this scope
_M_erase_at_end(this->_M_impl._M_start + __new_size);
^
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = Body; _Alloc = int]’:
../include/dataset.h:287:21: required from here
/usr/include/c++/4.8/bits/stl_vector.h:312:67: error: ‘const class std::vector<Body, int>’ has no member named ‘_M_get_Tp_allocator’
_Alloc_traits::_S_select_on_copy(__x._M_get_Tp_allocator()))
^
/usr/include/c++/4.8/bits/stl_vector.h:316:32: error: ‘const class std::vector<Body, int>’ has no member named ‘begin’
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/stl_vector.h:316:32: error: ‘const class std::vector<Body, int>’ has no member named ‘end’
/usr/include/c++/4.8/bits/stl_vector.h:316:32: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
/usr/include/c++/4.8/bits/stl_vector.h:316:31: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/stl_vector.h:313:33: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
{ this->_M_impl._M_finish =
^
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’:
serial.cxx:29:31: required from here
/usr/include/c++/4.8/bits/vector.tcc:77:25: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:77:25: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
/usr/include/c++/4.8/bits/vector.tcc:77:24: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:80:28: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:80:4: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:80:4: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
/usr/include/c++/4.8/bits/vector.tcc:80:28: error: ‘_M_deallocate’ was not declared in this scope
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:81:27: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_start = __tmp;
^
/usr/include/c++/4.8/bits/vector.tcc:82:28: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
this->_M_impl._M_finish = __tmp + __old_size;
^
/usr/include/c++/4.8/bits/vector.tcc:83:61: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;
^
/usr/include/c++/4.8/bits/vector.tcc:83:36: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;
^
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(const allocator_type&) [with _Tp = Body; _Alloc = int; std::_Vector_base<_Tp, _Alloc>::allocator_type = int]’:
/usr/include/c++/4.8/bits/stl_vector.h:257:18: required from ‘std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::allocator_type = int]’
../include/dataset.h:36:29: required from here
/usr/include/c++/4.8/bits/stl_vector.h:128:20: error: no matching function for call to ‘std::_Vector_base<Body, int>::_Vector_impl::_Vector_impl(const allocator_type&)’
: _M_impl(__a) { }
^
/usr/include/c++/4.8/bits/stl_vector.h:128:20: note: candidates are:
/usr/include/c++/4.8/bits/stl_vector.h:86:2: note: std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = Body; _Alloc = int]
_Vector_impl()
^
/usr/include/c++/4.8/bits/stl_vector.h:86:2: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/4.8/bits/stl_vector.h:79:14: note: constexpr std::_Vector_base<Body, int>::_Vector_impl::_Vector_impl(const std::_Vector_base<Body, int>::_Vector_impl&)
struct _Vector_impl
^
/usr/include/c++/4.8/bits/stl_vector.h:79:14: note: no known conversion for argument 1 from ‘const allocator_type {aka const int}’ to ‘const std::_Vector_base<Body, int>::_Vector_impl&’
/usr/include/c++/4.8/bits/stl_vector.h:79:14: note: constexpr std::_Vector_base<Body, int>::_Vector_impl::_Vector_impl(std::_Vector_base<Body, int>::_Vector_impl&&)
/usr/include/c++/4.8/bits/stl_vector.h:79:14: note: no known conversion for argument 1 from ‘const allocator_type {aka const int}’ to ‘std::_Vector_base<Body, int>::_Vector_impl&&’
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::
_Vector_base() [with _Tp = Body; _Alloc = int]’:
/usr/include/c++/4.8/bits/stl_vector.h:257:18: required from ‘std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::allocator_type = int]’
../include/dataset.h:36:29: required from here
/usr/include/c++/4.8/bits/stl_vector.h:161:33: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start); }
^
/usr/include/c++/4.8/bits/stl_vector.h:161:9: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start); }
^
/usr/include/c++/4.8/bits/stl_vector.h:161:9: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
/usr/include/c++/4.8/bits/stl_vector.h:161:33: error: ‘_M_deallocate’ was not declared in this scope
- this->_M_impl._M_start); }
^
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::_Vector_base<_Tp, _Alloc>&&) [with _Tp = Body; _Alloc = int]’:
/usr/include/c++/4.8/bits/stl_vector.h:328:29: required from ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&) [with _Tp = Body; _Alloc = int]’
../include/dataset.h:47:12: required from here
/usr/include/c++/4.8/bits/stl_vector.h:143:52: error: ‘struct std::_Vector_base<Body, int>’ has no member named ‘_M_get_Tp_allocator’
: _M_impl(std::move(__x._M_get_Tp_allocator()))
^
In file included from /usr/include/c++/4.8/vector:69:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’:
/usr/include/c++/4.8/bits/stl_vector.h:667:41: required from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’
../include/dataset.h:281:31: required from here
/usr/include/c++/4.8/bits/vector.tcc:538:4: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
- this->_M_impl._M_finish) >= __n)
^
/usr/include/c++/4.8/bits/vector.tcc:538:4: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
/usr/include/c++/4.8/bits/vector.tcc:541:39: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
__n, _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:541:38: error: ‘_M_get_Tp_allocator’ was not declared in this scope
__n, _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:542:32: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
this->_M_impl._M_finish += __n;
^
/usr/include/c++/4.8/bits/vector.tcc:556:42: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
__new_start, _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:556:42: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
/usr/include/c++/4.8/bits/vector.tcc:556:41: error: ‘_M_get_Tp_allocator’ was not declared in this scope
__new_start, _M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:564:25: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:565:37: error: ‘_M_deallocate’ was not declared in this scope
_M_deallocate(__new_start, __len);
^
/usr/include/c++/4.8/bits/vector.tcc:569:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:569:29: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
/usr/include/c++/4.8/bits/vector.tcc:569:28: error: ‘_M_get_Tp_allocator’ was not declared in this scope
_M_get_Tp_allocator());
^
/usr/include/c++/4.8/bits/vector.tcc:572:32: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:572:8: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:572:8: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
/usr/include/c++/4.8/bits/vector.tcc:572:32: error: ‘_M_deallocate’ was not declared in this scope
- this->_M_impl._M_start);
^
/usr/include/c++/4.8/bits/vector.tcc:573:31: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_start’
this->_M_impl._M_start = __new_start;
^
/usr/include/c++/4.8/bits/vector.tcc:574:32: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_finish’
this->_M_impl._M_finish = __new_finish;
^
/usr/include/c++/4.8/bits/vector.tcc:575:40: error: ‘struct std::_Vector_base<Body, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’
this->_M_impl._M_end_of_storage = __new_start + __len;
^
In file included from /usr/include/c++/4.8/vector:64:0,
from /usr/include/c++/4.8/queue:61,
from ../include/logger.h:9,
from ../include/bound_box.h:3,
from serial.cxx:2:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::max_size() const [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’:
/usr/include/c++/4.8/bits/vector.tcc:68:15: required from ‘void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type) [with _Tp = Body; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = unsigned int]’
serial.cxx:29:31: required from here
/usr/include/c++/4.8/bits/stl_vector.h:651:60: error: ‘_M_get_Tp_allocator’ was not declared in this scope
{ return _Alloc_traits::max_size(_M_get_Tp_allocator()); }
^
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = Body; _Alloc = int]’:
/usr/include/c++/4.8/bits/stl_vector.h:125:17: required from ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = Body; _Alloc = int]’
/usr/include/c++/4.8/bits/stl_vector.h:249:15: required from ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = Body; _Alloc = int]’
../include/dataset.h:185:12: required from here
/usr/include/c++/4.8/bits/stl_vector.h:87:68: error: using invalid field ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_start’
: _Tp_alloc_type(), _M_start(0), _M_finish(0), _M_end_of_storage(0)
^
/usr/include/c++/4.8/bits/stl_vector.h:87:68: error: using invalid field ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_finish’
/usr/include/c++/4.8/bits/stl_vector.h:87:68: error: using invalid field ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_end_of_storage’
make: *** [serial.o] Error 1

Feature Request: Templated Kernel and Bodies

Hi, i think it would be nice to have:

  • templated kernel classes, what i mean by that is that the kernel type gets passed to every class using the kernel functions and instead of declaring the multipole order and the kernel type in the makefile.am different kernels could be used at runtime, which would make it much easier to share it with other libraries and compile multiple kernels into one executable
  • templated Source/Body, this would allow Kernels with different kinds of sources, in combiniation with the other feature Body and Source type could be referenced by the kernel class

Rio, would you be interested in anything of the sort? I could also help with the implementation.

Regards
Pietro

Compilation crashes with (at least?) inlining failed in call to always_inline

Hi,

I wanted to test your FMM implementation but it fails to compile. Here is what I did:

git clone https://github.com/exafmm/exafmm.git
cd exafmm
./configure # Seems fine. No error message nor warnings. See https://gist.github.com/maxlevesque/c196a51842eaacabaa1af074bd4bca43
make

Sadly, make reports the following error:

make  all-recursive
make[1]: Entering directory '/tmp/exafmm'
Making all in examples
make[2]: Entering directory '/tmp/exafmm/examples'
g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I../vectorclass -I../kernels   -DEXAFMM_USE_SIMD        -DNDEBUG -DEXAFMM_PMAX=10  -ffast-math -funroll-loops -fabi-version=6 -Wfatal-errors          -MT fmm-fmm.o -MD -MP -MF .deps/fmm-fmm.Tpo -c -o fmm-fmm.o `test -f 'fmm.cxx' || echo './'`fmm.cxx
In file included from ../include/vec.h:1220:0,
                 from ../include/types.h:9,
                 from ../include/args.h:10,
                 from fmm.cxx:1:
/usr/lib/gcc/x86_64-linux-gnu/6/include/pmmintrin.h: In function ‘double exafmm::sum(const exafmm::vec<2, double>&)’:
/usr/lib/gcc/x86_64-linux-gnu/6/include/pmmintrin.h:86:1: error: inlining failed in call to always_inline ‘__m128d exafmm::_mm_hadd_pd(__m128d, __m128d)’: target specific option mismatch
 _mm_hadd_pd (__m128d __X, __m128d __Y)
 ^~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
Makefile:648: recipe for target 'fmm-fmm.o' failed
make[2]: *** [fmm-fmm.o] Error 1
make[2]: Leaving directory '/tmp/exafmm/examples'
Makefile:374: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/exafmm'
Makefile:314: recipe for target 'all' failed
make: *** [all] Error 2

Of course, I read the INSTALL file, but found nothing to be of help in this case. I also tested branch develop and same problem there.

I wish this report can be useful. Please don't hesitate if I can help in any way.

Cartesian Error with Multipole Order

In cartesian multipole expansion the error should be (\alpha/2)^P with the multipole order P.

Using exafmm with configuration
./configure --enable-assert --enable-float --enable-avx CXXFLAGS=-O2 CC=gcc CXX=g++
-DEXAFMM_EXPANSION=3..5 (examples/Makefile.am)
make laplace_cartesian
gives following results.

ORDER Rel. L2 Error (pot)

3 2.8357316e-03
4 2.8172146e-03
5 2.8788317e-03

Is this intended behaviour?
Best Pietro

Cannot build from master branch using CMake

Is CMake building supported, or has this been deprecated in favour of using GNU Autoconf? I couldn't get Exafmm to build using CMake, with the problems seemingly due to changes in the setup - the macro EXPANSION looks like it's been replaced with EXAFMM_EXPANSION for example.

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.