On Mon, 4 Jan 2016, Tim Adowski wrote: > However, all versions of GCC were unable to vectorize the Ke loop > due to "bad data ref", and both Intel versions required "#pragma > ivdep" in order to vectorize the Ke loop.
One last thought: is it possible that what is confusing gcc isn't your class, but rather the DenseMatrix class? Try replacing "Ke(i,j)" with "my_vector[i*M+j]" or whatever and see if gcc can handle that? --- Roy ------------------------------------------------------------------------------ _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel