Closed shrshi closed 3 years ago
For a fully symmetric tensor, the CTF syntax for symmetry is int ns[] = {SY, SY, SY, NS};
, each SY/NS/AS/SH string denotes the symmetry of this index to the subsequent one. So the last member of ns[] should always be NS.
Thank you for your quick response earlier! I have some follow-up clarifications -
Y[iY] = X[iX] * U1[iU1] * U2[iU2] * U3[iU3]
Y[iY] = X[iX] * U[iU]
with sparse semi-symmetric Y and sparse symmetric XOrder | Length of each mode | Number of non-zeros | Runtime |
---|---|---|---|
6 | 50 | 1000 | 3.344377 s |
6 | 100 | 10000 | 88.492327 s |
7 | 100 | 100000 | >1hr |
Do these runtimes seem reasonable? Thank you for your time!
Will try to answer as best I can.
Hi, I am unable to create a random fourth order sparse symmetric tensor. The following code snippet fails for a single MPI process:
I've also tried explicitly creating a list of non-zeros with index tuples and values. The following fails as well:
Here, inds is the global index formed from the index tuple at every non-zero. Any help is greatly appreciated! Thanks!