- #1
alastor
- 4
- 0
Hello,
my colleague has a problem. He has a Monte Carlo simulation written in C. But his program gives different outputs in case he compile it using g++ or icc. He has nothing changed in his source. He is using standard random number generator drand() with initialization srand((unsigned) time (NULL)).
Didn't you have some similar problems with icc compiller?
Do you think, that the differencies in outputs could be caused by used compiller?
Thank you.
my colleague has a problem. He has a Monte Carlo simulation written in C. But his program gives different outputs in case he compile it using g++ or icc. He has nothing changed in his source. He is using standard random number generator drand() with initialization srand((unsigned) time (NULL)).
Didn't you have some similar problems with icc compiller?
Do you think, that the differencies in outputs could be caused by used compiller?
Thank you.
Last edited: