- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a program that is very sensitive to the random number generator. I've been using VS Mersenne Twister but am starting to have issues with it on multiple-week multiple-thread use. I'd like to try a xoshiro routine which is not available in VS but is available in GFortran. Can I compile the GFortran & call it somehow from IFORT?
thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be more convenient to use the C source codes provided at https://prng.di.unimi.it/ , if one of those meets your needs. The VS C compiler or the Intel C compiler can be used.
The availability of jump functions may also be a factor in the choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, the Application Binary Interface (ABI) is different betwen gfortran and Intel. You cannot mix binaries between the 2 compilers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is generally true for any two Fortran compilers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks everyone. I haven't been able to find a Fortran version of the generator, which would be easiest for me (after having it being in VS).
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page