- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using an Intel Fortran compiler version 10.1.011 on Visual Studios and I'm having some issues getting the included IMSL package to work. I've included the "include" and "lib" directories as specified. And I've tried to compile the following code:
PROGRAM basic_matrix_operations
USE linear_operators
IMPLICIT NONE
REAL, DIMENSION(1:3,1:3) :: matrix, invMatrix
INTEGER :: i, j, n
INCLUDE 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libguide.lib'
PRINT *, 'please enter the 3x3 matrix'
DO i =1, 3
READ *, (matrix(i,j), j = 1, 3)
END DO
! echo back matrix
PRINT *, 'martix ='
DO i = 1, 3
PRINT *, (matrix(i,j), j = 1, 3)
END DO
PRINT *, ' '
! inverse
InvMatrix = .i. matrix
PRINT *,'Inverse Matrix:'
DO i = 1, 3
PRINT *,(InvMatrix(i,j), j = 1, 3)
END DO
END PROGRAM
When I try to compile the code I get the following error messages:
error #11035: Fatal error cannot open imsl.lib
error error_during_IPO_compilation: problem during multi-file optimization compilation(code 1)
In short: I'm stuck.
Any help would be fantastic
Max
PROGRAM basic_matrix_operations
USE linear_operators
IMPLICIT NONE
REAL, DIMENSION(1:3,1:3) :: matrix, invMatrix
INTEGER :: i, j, n
INCLUDE 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libguide.lib'
PRINT *, 'please enter the 3x3 matrix'
DO i =1, 3
READ *, (matrix(i,j), j = 1, 3)
END DO
! echo back matrix
PRINT *, 'martix ='
DO i = 1, 3
PRINT *, (matrix(i,j), j = 1, 3)
END DO
PRINT *, ' '
! inverse
InvMatrix = .i. matrix
PRINT *,'Inverse Matrix:'
DO i = 1, 3
PRINT *,(InvMatrix(i,j), j = 1, 3)
END DO
END PROGRAM
When I try to compile the code I get the following error messages:
error #11035: Fatal error cannot open imsl.lib
error error_during_IPO_compilation: problem during multi-file optimization compilation(code 1)
In short: I'm stuck.
Any help would be fantastic
Max
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to add the path to the IMSL library folder to Tools > Options > Intel Fortran > Compilers > Library Files. Please read the section on Using IMSL in the compiler documentation: Building Applications > Using Libraries > Using IMSL. It looks as if you've already done this for include files.

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