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 Tools (Compilers, Debuggers, Profilers & Analyzers)
- Intel® Fortran Compiler
- Q about solving a linear system using INTEL MKL

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

Highlighted
##

WSinc

New Contributor I

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

08-26-2018
11:32 AM

28 Views

Q about solving a linear system using INTEL MKL

I want to solve the equation A*X=B, where A is a square matrix, and X and B are vectors,

Ex:** real(8) A(10,10), x(10), B(10)**

I was going to use the INTEL MKL - - -

The routine that I see for that assumes that A is a TRIANGULAR matrix

(could be upper or lower), but I could not find a routine that assumes A is any general matrix.

Nor could I find a routine that **converts A into a triangular matrix,**

Does that mean I have to write code to first convert A into the proper format ?

Of course the right side (B) must also be transformed accordingly

It would be nice to have a simple example somewhere.

7 Replies

Highlighted
##

WSinc

New Contributor I

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

08-26-2018
11:34 AM

28 Views

Highlighted
##

Steve_Lionel

Black Belt Retired Employee

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

08-26-2018
12:39 PM

28 Views

Highlighted
##

mecej4

Black Belt

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

08-26-2018
03:53 PM

28 Views

The straightforward choice of driver routine for solving simultaneous linear equations is DGESV, as you can see at https://software.intel.com/en-us/mkl-developer-reference-fortran-lapack-linear-equation-driver-routi... . The example source code for using DGESV is ...\windows\mkl\examples\lapackf\source\dgesvx.f .

Questions on MKL usage are better posted in the MKL forum, which Steve pointed out with a link.

Highlighted
##

WSinc

New Contributor I

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

08-27-2018
11:51 AM

28 Views

What is even more confusing is that I cannot use later versions of VS for a Fortran source code program.

It used to be that I could start a new project, and start adding Fortran source code, but with VS 2017 I cant do that any longer.

So * what product* should I be using for my FORTRAN project IDE ?

I would like to use the latest tools available, if possible.

Highlighted
##

Steve_Lionel

Black Belt Retired Employee

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

08-27-2018
01:44 PM

28 Views

Bill, it would help us help you if you'd actually describe the problem rather than just complaining about it.

There is an issue with the latest VS2017 update (15.0.8) and Intel Fortran. 15.0.6 works, but if you already have the newer one you are stuck, as I don't think MS makes the earlier updates available. You could uninstall Intel Parallel Studio XE and VS2017, then reinstall VS2017 and NOT UPDATE IT, then Fortran will work (after you reinstall that.)

Highlighted
##

WSinc

New Contributor I

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

08-27-2018
04:32 PM

28 Views

I looked and it says my **current version is 15.7.5. DatedJuly 26.**

That does not correspond with what you say above.

It says that the next update is 15.8.1. I did not click on that.

So, how do I get the version that **actually does work ?**

Should I abandon Intel products, like my friend recommended ?

They evidently dont care much about their customer s - - - -

Highlighted
##

Microsoft broke the integration. 15.6 is the last version known to work. As I suggested, you would have to uninstall both, reinstall and then not update VS until a resolution is provided.

Steve_Lionel

Black Belt Retired Employee

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

08-27-2018
05:07 PM

28 Views

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