- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi all,
I have installed the IMSL Library first time on my computer. Now, I try to use it but I could not use. The code I try to compile is below:
PROGRAM MAIN
USE IMSL_LIBRARIES
IMPLICIT NONE
INTEGER ISEED, NCAT, NDFEST, NELM
PARAMETER (ISEED=123457, NCAT=6, NDFEST=0, NELM=1000)
!
INTEGER I, IX(NELM), NOUT
REAL CDF, CHISQ(NCAT+1), COUNTS(NCAT), CUTP(NCAT-1), DF, &
EXPECT(NCAT), P, RNGE(2), X(NELM)
EXTERNAL CDF
!
DATA RNGE/0.0, 0.0/
DATA CUTP/.5, 1.5, 2.5, 3.5, 4.5/
!
CALL RNSET (ISEED)
! Generate the data
CALL RNBIN (5, 0.3, IX)
DO 10 I=1, NELM
X(I) = IX(I)
10 CONTINUE
!
CALL CHIGF (CDF, NELM, X, NCAT, RNGE, NDFEST, CUTP, P, &
COUNTS=COUNTS, EXPECT=EXPECT, CHISQ=CHISQ, DF=DF)
! Print results
CALL WRRRN ('Counts', COUNTS, 1, NCAT, 1)
CALL WRRRN ('Expect', EXPECT, 1, NCAT, 1)
CALL WRRRN ('Contributions to Chi-squared', CHISQ, 1, NCAT, 1)
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) CHISQ(NCAT+1), P, DF
99999 FORMAT (///'0Chi-squared ', F8.4, /, ' P-value ' &
, F8.4, /, ' Degrees of freedom', F8.4)
END
!
REAL FUNCTION CDF (Y)
REAL Y
!
INTEGER I
REAL BINDF
EXTERNAL BINDF
!
I = Y
CDF = BINDF(I,5,0.3)
RETURN
END
The compiler gives an error message at 2nd line that "error #7002: Error in opening the compiled module file. Check INCLUDE paths. [IMSL_LIBRARIES]". Is the problem related to install IMSL Library on my computer?
I have installed the IMSL Library first time on my computer. Now, I try to use it but I could not use. The code I try to compile is below:
PROGRAM MAIN
USE IMSL_LIBRARIES
IMPLICIT NONE
INTEGER ISEED, NCAT, NDFEST, NELM
PARAMETER (ISEED=123457, NCAT=6, NDFEST=0, NELM=1000)
!
INTEGER I, IX(NELM), NOUT
REAL CDF, CHISQ(NCAT+1), COUNTS(NCAT), CUTP(NCAT-1), DF, &
EXPECT(NCAT), P, RNGE(2), X(NELM)
EXTERNAL CDF
!
DATA RNGE/0.0, 0.0/
DATA CUTP/.5, 1.5, 2.5, 3.5, 4.5/
!
CALL RNSET (ISEED)
! Generate the data
CALL RNBIN (5, 0.3, IX)
DO 10 I=1, NELM
X(I) = IX(I)
10 CONTINUE
!
CALL CHIGF (CDF, NELM, X, NCAT, RNGE, NDFEST, CUTP, P, &
COUNTS=COUNTS, EXPECT=EXPECT, CHISQ=CHISQ, DF=DF)
! Print results
CALL WRRRN ('Counts', COUNTS, 1, NCAT, 1)
CALL WRRRN ('Expect', EXPECT, 1, NCAT, 1)
CALL WRRRN ('Contributions to Chi-squared', CHISQ, 1, NCAT, 1)
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) CHISQ(NCAT+1), P, DF
99999 FORMAT (///'0Chi-squared ', F8.4, /, ' P-value ' &
, F8.4, /, ' Degrees of freedom', F8.4)
END
!
REAL FUNCTION CDF (Y)
REAL Y
!
INTEGER I
REAL BINDF
EXTERNAL BINDF
!
I = Y
CDF = BINDF(I,5,0.3)
RETURN
END
The compiler gives an error message at 2nd line that "error #7002: Error in opening the compiled module file. Check INCLUDE paths. [IMSL_LIBRARIES]". Is the problem related to install IMSL Library on my computer?
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
- « Anterior
-
- 1
- 2
- Siguiente »
38 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
Please attach (see instructions below) the Buildlog.htm from the Debug or Release folder after you do a Rebuild of the solution and it fails.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Oh, I missed this before. In the Tools > Options > Intel Fortran > Compilers lists of directories, remove the $ before each line that contains C:: The $ is only for references to environment variables.
So for the Include paths, you would have:
c:Program FilesIntelArray Visualizerinclude
C:Program FilesVNIimslfnl600IA32includedll
and for Libraries:
c:Program FilesIntelArray Visualizerlib
c:Program FilesVNIimslfnl600IA32lib
So for the Include paths, you would have:
c:Program FilesIntelArray Visualizerinclude
C:Program FilesVNIimslfnl600IA32includedll
and for Libraries:
c:Program FilesIntelArray Visualizerlib
c:Program FilesVNIimslfnl600IA32lib
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
Oh, I missed this before. In the Tools > Options > Intel Fortran > Compilers lists of directories, remove the $ before each line that contains C:: The $ is only for references to environment variables.
So for the Include paths, you would have:
c:Program FilesIntelArray Visualizerinclude
C:Program FilesVNIimslfnl600IA32includedll
and for Libraries:
c:Program FilesIntelArray Visualizerlib
c:Program FilesVNIimslfnl600IA32lib
So for the Include paths, you would have:
c:Program FilesIntelArray Visualizerinclude
C:Program FilesVNIimslfnl600IA32includedll
and for Libraries:
c:Program FilesIntelArray Visualizerlib
c:Program FilesVNIimslfnl600IA32lib
cf
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Yes, the library names have changed. Remove all library names you have specified in the project. Add these two lines to your main program:
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
For the command line, make sure you are starting your session with the "Fortran Build Environment" shortcut provided. If this does not help, please attach a log of a complete command prompt session (starting with the first lines output) to show me what is happening.
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
For the command line, make sure you are starting your session with the "Fortran Build Environment" shortcut provided. If this does not help, please attach a log of a complete command prompt session (starting with the first lines output) to show me what is happening.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
Yes, the library names have changed. Remove all library names you have specified in the project. Add these two lines to your main program:
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
For the command line, make sure you are starting your session with the "Fortran Build Environment" shortcut provided. If this does not help, please attach a log of a complete command prompt session (starting with the first lines output) to show me what is happening.
include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
For the command line, make sure you are starting your session with the "Fortran Build Environment" shortcut provided. If this does not help, please attach a log of a complete command prompt session (starting with the first lines output) to show me what is happening.
Good news. I cleaned out the converted project file and was able to compile and run debug and release versions of the code in the IDE. I did not have success in the command line though and the capture file of the commands I ran and the output is attached.
christ
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Very strange. Would you please, in this command session, do a:
set > set.txt
and attach the set.txt to a reply?
set > set.txt
and attach the set.txt to a reply?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
Very strange. Would you please, in this command session, do a:
set > set.txt
and attach the set.txt to a reply?
set > set.txt
and attach the set.txt to a reply?
cf
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
The OS identification isn't used for anything important.
I notice that PATH is very long and has some duplicate entries. Try this.
Open a command prompt window. Type this:
SET PATH=
SET LIB=
SET INCLUDE=
call C:Program FilesIntelCompiler11.066fortranbinifortvars.bat ia32
Now try the compile.
I notice that PATH is very long and has some duplicate entries. Try this.
Open a command prompt window. Type this:
SET PATH=
SET LIB=
SET INCLUDE=
call C:Program FilesIntelCompiler11.066fortranbinifortvars.bat ia32
Now try the compile.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
The OS identification isn't used for anything important.
I notice that PATH is very long and has some duplicate entries. Try this.
Open a command prompt window. Type this:
SET PATH=
SET LIB=
SET INCLUDE=
call C:Program FilesIntelCompiler11.066fortranbinifortvars.bat ia32
Now try the compile.
I notice that PATH is very long and has some duplicate entries. Try this.
Open a command prompt window. Type this:
SET PATH=
SET LIB=
SET INCLUDE=
call C:Program FilesIntelCompiler11.066fortranbinifortvars.bat ia32
Now try the compile.
Sorry, got the same error window as before. I do have a different versions of libmmd.dll on my computer (Matlab and Intel) but the path statement should have fixed all that. In the spirit of voodoo debugging I downloaded a second version of the IMSL Libraries and used the repair option on installation but it did not help.
christ
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
christ, are you building from the command line or from Visual Studio?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
christ, are you building from the command line or from Visual Studio?
cf
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
cf, are you the same user as "okale"? I'm getting confused as to who is seeing what.
Please try this from the command line - add the switch /watch after %F90FLAGS% and then attach the output (copy and paste to a text file and attach the text file.)
Please try this from the command line - add the switch /watch after %F90FLAGS% and then attach the output (copy and paste to a text file and attach the text file.)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Please also do this. From the command session that gives you the error about Visual C++ 6, type:
cl
and paste the output into a reply.
cl
and paste the output into a reply.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Steve Lionel (Intel)
cf, are you the same user as "okale"? I'm getting confused as to who is seeing what.
Please try this from the command line - add the switch /watch after %F90FLAGS% and then attach the output (copy and paste to a text file and attach the text file.)
Please try this from the command line - add the switch /watch after %F90FLAGS% and then attach the output (copy and paste to a text file and attach the text file.)
Here is the watch file.
christ
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - ftaclas@ifa.hawaii.edu
Steve,
Here is the watch file.
christ
Here is the watch file.
christ
Steve,
snap of command line session and error window attached. "cl" command always gives:
Microsoft
christ
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Actually, it said 13.10, which is correct. Strange. I think you can ignore that message for now, but there's something else going on. Let me study what you have posted a bit more...
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi, I have installed Fortran 11, MVS 2008 and IMSL Library in my computer. However, the following error message appears:
"error #7002: Error in opening the compiled module file. Check INCLUDE paths. [IMSL]".
I already have read Installing and using the IMSL* Libraries. Then, I inserted the lines:
A) At the right of Libraries., click the "..." button.
C:Program FilesVNIimslfnl600IA32lib
B) At the right of Includes, click the "..." button.
C:Program FilesVNIimslfnl600IA32includedll
Unfortunately, the problem persists.
What I have to do?
Following there is a simple sample of the program that I am trying to run.
program Console1
use IMSL
implicit none
real T
! Variables
! Body of Console1
T = DTIN( 0.975 , 10.0 )
print *, 'T=', T
end program Console1
"error #7002: Error in opening the compiled module file. Check INCLUDE paths. [IMSL]".
I already have read Installing and using the IMSL* Libraries. Then, I inserted the lines:
A) At the right of Libraries., click the "..." button.
C:Program FilesVNIimslfnl600IA32lib
B) At the right of Includes, click the "..." button.
C:Program FilesVNIimslfnl600IA32includedll
Unfortunately, the problem persists.
What I have to do?
Following there is a simple sample of the program that I am trying to run.
program Console1
use IMSL
implicit none
real T
! Variables
! Body of Console1
T = DTIN( 0.975 , 10.0 )
print *, 'T=', T
end program Console1
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Replace "use IMSL" with "use NUMERICAL_LIBRARIES".
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla
- « Anterior
-
- 1
- 2
- Siguiente »