dash
dash copied to clipboard
unsigned long long in DASH
Hi, Met another problem in DASH. I tried to embed the below code into ArrayUDF. The compiler says that "unsigned long long" is not directly supported in DASH. The conversion to "unsigned long" is required but it fails. Any hint to resolve this ?
Thanks, Bin
Code:
dash::SizeSpec<2, unsigned long long> dash_size_spec = dash::SizeSpec<2, unsigned long long>();
Error info from compiler:
opt/dash-0.4.0//include/dash/Cartesian.h:197:7: note: candidate
constructor (the implicit copy constructor) not viable: no known
conversion from 'SizeSpec<[...], unsigned long long>' to 'const
SizeSpec<[...], unsigned long>' for 1st argument
class SizeSpec : public CartesianSpace<NumDimensions, SizeType>
@Goon I cannot seem to reproduce this issue:
#include <libdash.h>
int main()
{
dash::SizeSpec<2, unsigned long long> dash_size_spec = dash::SizeSpec<2, unsigned long long>();
return 0;
}
$ ~/opt/dash-0.4.0/bin/dash-mpicxx test_sizespec.cc
$
What compiler are you using?