Adrian,
I greatly appreciate your help.
I could solve the issue following your suggestions. I would just like to mention that in getResults
I added NSlattice.communicate()
and also ADlattice.communicate()
for it to output the results properly.
Thank you very much,
Ramiro