These are chat archives for elemental/chat

Mar 2017
Jack Poulson
Mar 21 2017 03:51
would you mind pasting the error and/or an example code?
Edward Vigmond
Mar 21 2017 09:01
The code is as above. error: there are no arguments to ‘DefaultGrid’ that depend on a template parameter, so a declaration of ‘DefaultGrid’ must be available [-fpermissive]
DistMatrix<F,CIRC,CIRC> tmp(n,1,DefaultGrid(),rank);
^ note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In instantiation of ‘void fromDistMatrix(El::DistMatrix<T, (El::DistNS::Dist)0u, (El::DistNS::Dist)2u, (El::DistWrapNS::DistWrap)0u>&, T, int, int, int) [with T = float; F = double]’: required from here error: ‘DefaultGrid’ was not declared in this scope
makefile:24: recipe for target 'main.o' failed
make: **
[main.o] Error 1
Jack Poulson
Mar 21 2017 19:58
ah, yes, it is Grid::Default() now
it makes more sense for it to be a static member function