- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a former user of CVF and now transer to IVF.
I got a lot of troubles with IVF for installation, finally, I made it, but still I could not use IMSL,
here are the error information, can anyone tell me what is the problem.
Thanks
1>------ Build started: Project: Console17, Configuration: Debug Win32 ------
1>Compiling with Intel Fortran 9.1 C:Program FilesIntelCompilerFortran9.1IA32...
1>Console17.f90
1>Linking...
1>Fatal error cannot open "ifconsol"
1>Link: error: problem during multi-file optimization compilation (code 1)
1>Link: error: problem during multi-file optimization compilation (code 1)
1>
1>Build log written to "file://\userdata.niehs.nih.govyangm2My DocumentsVisual Studio 2005ProjectsConsole17Console17DebugBuildLog.htm"
1>Console17 build
! Console17.f90
!
! FUNCTIONS:
! Console17 - Entry point of console application.
!
!****************************************************************************
!
! PROGRAM: Console17
!
! PURPOSE: Entry point for the console application.
!
!****************************************************************************
program Console17
!INCLUDE 'link_f90_static.h'
INCLUDE 'link_f90_dll.h'
implicit none
integer, parameter:: n=10000, k=5000
real,dimension(n)::x
real,dimension(k,2):: res
integer::i, j
real:: a=3.0, std=2.0, mux, stdx, t1, t2, k0, k1
call rnset(0)
write(*,*) " integer division 11/7 is ", 11/7
write(*,*) " conversion of 11/7 is " , 11.0/7
do i =1, k
call rnnor(n,x)
call sscal(n, std, x,1)
call sadd(n, a, x,1)
res(i,1)= sum(x)/real(n)
res(i,2)=sqrt(sum(x**2)/real(n)-res(i,1)**2)
end do
mux=sum( res(1:k,1) )/real(k)
stdx=sum( res(1:k,2) )/real(k)
end program Console17
I got a lot of troubles with IVF for installation, finally, I made it, but still I could not use IMSL,
here are the error information, can anyone tell me what is the problem.
Thanks
1>------ Build started: Project: Console17, Configuration: Debug Win32 ------
1>Compiling with Intel Fortran 9.1 C:Program FilesIntelCompilerFortran9.1IA32...
1>Console17.f90
1>Linking...
1>Fatal error cannot open "ifconsol"
1>Link: error: problem during multi-file optimization compilation (code 1)
1>Link: error: problem during multi-file optimization compilation (code 1)
1>
1>Build log written to "file://\userdata.niehs.nih.govyangm2My DocumentsVisual Studio 2005ProjectsConsole17Console17DebugBuildLog.htm"
1>Console17 build
! Console17.f90
!
! FUNCTIONS:
! Console17 - Entry point of console application.
!
!****************************************************************************
!
! PROGRAM: Console17
!
! PURPOSE: Entry point for the console application.
!
!****************************************************************************
program Console17
!INCLUDE 'link_f90_static.h'
INCLUDE 'link_f90_dll.h'
implicit none
integer, parameter:: n=10000, k=5000
real,dimension(n)::x
real,dimension(k,2):: res
integer::i, j
real:: a=3.0, std=2.0, mux, stdx, t1, t2, k0, k1
call rnset(0)
write(*,*) " integer division 11/7 is ", 11/7
write(*,*) " conversion of 11/7 is " , 11.0/7
do i =1, k
call rnnor(n,x)
call sscal(n, std, x,1)
call sadd(n, a, x,1)
res(i,1)= sum(x)/real(n)
res(i,2)=sqrt(sum(x**2)/real(n)-res(i,1)**2)
end do
mux=sum( res(1:k,1) )/real(k)
stdx=sum( res(1:k,2) )/real(k)
end program Console17
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems as if the library paths were not set up properly for you. Select Tools..Options..Intel Fortran..general. Click on the button to the right of Libraries. The list should resemble this:
$(IFORTInstallDir)Lib
$(VCInstallDir)lib
$(VCInstallDir)atlmfclib
$(VCInstallDir)atlmfclibi386
$(VCInstallDir)PlatformSDKlib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:Program FilesMicrosoft Visual Studio 8VCATLMFCLIB
C:Program FilesMicrosoft Visual Studio 8VCLIB
C:Program FilesMicrosoft Visual Studio 8VCPlatformSDKlib
C:Program FilesMicrosoft Visual Studio 8SDKv2.0lib
C:Program FilesVNICTT6.0LIBIA32
The most important are the lines which start with $ and the last one. You might not have the (FrameworkSDKDir) line.
Also for the Include directories it should look like this:
$(IFORTInstallDir)Include
$(VCInstallDir)include
$(VCInstallDir)atlmfcinclude
$(VCInstallDir)PlatformSDKinclude
$(FrameworkSDKDir)include
C:Program FilesMicrosoft Visual Studio 8VCATLMFCINCLUDE
C:Program FilesMicrosoft Visual Studio 8VCINCLUDE
C:Program FilesMicrosoft Visual Studio 8VCPlatformSDKinclude
C:Program FilesMicrosoft Visual Studio 8SDKv2.0include
C:Program FilesVNICTT6.0INCLUDEIA32
If you have VS.NET 2002 or 2003, the "Visual Studio 8" will be different.
Please read the section on using IMSL in the Building Applications manual as well as the "Porting from CVF" whitepaper.
Let me know if this helps.
$(IFORTInstallDir)Lib
$(VCInstallDir)lib
$(VCInstallDir)atlmfclib
$(VCInstallDir)atlmfclibi386
$(VCInstallDir)PlatformSDKlib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:Program FilesMicrosoft Visual Studio 8VCATLMFCLIB
C:Program FilesMicrosoft Visual Studio 8VCLIB
C:Program FilesMicrosoft Visual Studio 8VCPlatformSDKlib
C:Program FilesMicrosoft Visual Studio 8SDKv2.0lib
C:Program FilesVNICTT6.0LIBIA32
The most important are the lines which start with $ and the last one. You might not have the (FrameworkSDKDir) line.
Also for the Include directories it should look like this:
$(IFORTInstallDir)Include
$(VCInstallDir)include
$(VCInstallDir)atlmfcinclude
$(VCInstallDir)PlatformSDKinclude
$(FrameworkSDKDir)include
C:Program FilesMicrosoft Visual Studio 8VCATLMFCINCLUDE
C:Program FilesMicrosoft Visual Studio 8VCINCLUDE
C:Program FilesMicrosoft Visual Studio 8VCPlatformSDKinclude
C:Program FilesMicrosoft Visual Studio 8SDKv2.0include
C:Program FilesVNICTT6.0INCLUDEIA32
If you have VS.NET 2002 or 2003, the "Visual Studio 8" will be different.
Please read the section on using IMSL in the Building Applications manual as well as the "Porting from CVF" whitepaper.
Let me know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Additionally, if one wants to do mixed VC++ (native)-Fortran programming, Tools/Options/Projects/VC++ Directories/Library files the entries
C:Program FilesIntelCompilerFortran9.1IA32Lib
C:Program FilesVNICTT6.0LIBIA32
are required. You can call IMSL from VC++ provided the IMSL is that which comes with IVF.

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