Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Intel_C_Intel
Employee
55 Views

Random number generation example for Fortran

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
55 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