Thanks very much for your info
Iâve just searched for the âLâEcuyerâ and I guess the algorithm may be related to this article (according to the authorsâ name):
Efficient and portable combined Tausworthe random number generators
My another question about ifort is that the performance of the threaded version (by OpenMP) seems not very good because of the âexclusive lockâ (according to the following comment, which is something like an âatomicâ-like thing?)
The ifort RANDOM_NUMBER is known to use an exclusive lock in threaded applications, reducing performance. It might not be the best choice if youâre comparing performance.
So I feel that ifort is not trying to maximize the performance of builtin random_number(). Is this possibly because MKL provides a set of highly optimized random number generators instead (and so the users are advised to use them for more âheavyâ or computationally intensive calculations)?