Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6975 Discussions

Random number generation example for Fortran

Intel_C_Intel
Employee
437 Views
I am not familiar with generating random numbers.
Could some one please post a simple fortran example for generating 1000 5-dimensional numbers using Sobol generator?
thanks
0 Kudos
1 Reply
Andrey_N_Intel
Employee
437 Views

Dear customer,

Thank you for your request.
Attachedis zip file containing the sample of Fortran programgenerating 1000 5-dimensional random numbers by means of Sobol RNG.

To compile the example with Intel Fortran compiler please use the following command line:
ifl /w90 answer.f mkl_c.lib
0 Kudos
Reply