- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After upgrading to the 2017 ifort compiler for Windows I am having a problem with passing an array dimensioned as Array(n) to a subroutine that has it dimensioned as Array(n,1). It seems like the array indices are getting scrambled in the subroutine. The problem doesn't occur in the 2017 32-bit compiler or in any previous versions of the 64-bit compiler.
Has something changed that makes this practice now illegal or is it potentially a bug?
See attached example.
Peter
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rather than specifically linking mkl_rt.lib, can I just change the Include and Library folders for MKL in Visual Studio? For example, in VS I just go to Tools => Options => Intel Compilers and Tools => Visual Fortran => Compilers and then in the [...] buttons next to "Includes" and "Libraries" I just change the mkl path to point to the version of MKL I want to use. Is that correct?
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Similarly, when you run the program, the path should contain the directory with the desired version of the MKL DLLs earlier than other versions of MKL, if any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The loop index problem is expected to be fixed in Update 2 to Parallel Studio XE 2017.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »