- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I would like to solve a linear complex system with MKL libraries. As I have done with real system I use GETRF with GETRS. The MKL reference says that I can also use getrs also for comple system. Here my example code:
program testmkl use LAPACK95 implicit none complex ,allocatable,dimension(:,:)::AA complex ,allocatable,dimension(:) ::BB integer ,allocatable,dimension(:)::IPV integer :: info,n n=10 allocate(AA(n,n)) allocate(BB(n)) allocate(IPV(n)) call GETRF(AA,IPV,info) call GETRS(AA,IPV,BB,info) endprogram
However, I am not able to compile it. This is my error:
There is no matching specific subroutine for this generic subroutine call. [GETRS] call GETRS(AA,IPV,BB,info)
Where that am i wrong?
Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I am sorry. I get the error. Here, the correct code
program testmkl use LAPACK95 implicit none complex ,allocatable,dimension(:,:)::AA complex ,allocatable,dimension(:) ::BB integer ,allocatable,dimension(:)::IPV integer :: info,n n=10 allocate(AA(n,n)) allocate(BB(n)) allocate(IPV(n)) call GETRF(AA,IPV) call GETRS(AA,IPV,BB,'N',info) endprogram

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