- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi there,
I used DSYGVX subroutine to find eigenvalues for matrices as in attached file however it runs with error.
Meanwhile, the IMSL subroutine can produce the results for this the same problem.
Please find attached zip file for the code and data files. I would appreciate any advices and solutions for this problem.
Sytem information:
Windows 7 Ultimate
Microsoft Visual Basic 2008
Intel Visual Fortran Compiler Professional Edition 11.1
Intel Math Kernel Library 10.3 Update 5 for Windows* OS
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Some library routines overwrite the input matrices, as described in the documentation. If you want to preserve the matrices for reuse, you have to save and restore them as needed.
The mere running of a program without error messages is not to be taken as proof that the program has run correctly.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi mecej4, in my case, I did not get any input error from the compiler; would you mind to correct any caller which you think was used incorrectly pls?
For the F77 interface, it seems a bit confusing that the code can run in windows 32, but with the same problem when I tried a run on latest Composer 2011 XE SP1 - Windows 7-64bit, it produced an error at argument (20) for lwork=-1 which used in the first call to get lwork value for workspace.
Btw, I just noticed that the dsygvx subroutine could not use in this case as the B matrix is not positive definite. Im still looking for a solution for this.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
It is the programmer's responsibility to ensure the the subroutine calls are made correctly. It serves no purpose to attempt to explain the behavior of a program when incorrect calls are known to exist.
The MKL installation contains an examples directory, and the documentation describes the arguments to be provided to the library routines.
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora