Thank you for your answer ! I did the following change :
@sync @parallel for i=1:8 c[i] = prod(a[i], b[i]) end and now I obtain a result : [0.18576241230332016,0.23210296820071408,0.2741188848763749,0.6734257301922404, 0.4961438140080696,0.06445466347639998,0.07932590741374389,0.32153039018331936] I hope everything is correct :)
