ORNL-QCI / ExaTENSOR

Basic numerical tensor algebra library for distributed heterogeneous HPC platforms
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

duplicate tensor labels lead to exatensor hanging #1

Open aspgomes opened 4 years ago

aspgomes commented 4 years ago

while debugging code in dirac, i've noticed that if different tensors are initialized with the same label/string identifier, the code hangs.

it perhaps would be nice if exatensor/talsh catch that as an error.

DmitryLyakh commented 4 years ago

Andre, could you clarify what you mean by "initialized with the same label/string identifier"? Did you mean when they are created by exatns_tensor_create() under the same name instead? Like, exatns_tensor_create(ltens,'Tensor') and then exatns_tensor_create(rtens,'Tensor')?

aspgomes commented 4 years ago

yes, i mean precisely what you wrote.