Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- Random number generation example for Fortran

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Intel_C_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-29-2004
06:42 PM

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

Link Copied

1 Reply

Andrey_N_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-05-2004
12:00 PM

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.

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

For more complete information about compiler optimizations, see our Optimization Notice.