I want to know if its possible to make array as loop index. I have arbitrary number of summations and my sum is a function of various loop indices. I have done programming before in fortran and didn't find such option there. Highly appreciate your help.