0% found this document useful (0 votes)
164 views5 pages

New Imsl Configuration

This document contains environment variable and path configuration information for compiling and linking programs that use the IMSL Fortran Numerical Library. It lists include paths, library paths, and default compiler options for the tools. It also shows the library names and options used for static and shared linking of IMSL routines. Finally, it displays output from running a sample program that tests eigenvalue perturbation bounds computed by the LIN_EIG_GEN routine.

Uploaded by

sujayan2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views5 pages

New Imsl Configuration

This document contains environment variable and path configuration information for compiling and linking programs that use the IMSL Fortran Numerical Library. It lists include paths, library paths, and default compiler options for the tools. It also shows the library names and options used for static and shared linking of IMSL routines. Finally, it displays output from running a sample program that tests eigenvalue perturbation bounds computed by the LIN_EIG_GEN routine.

Uploaded by

sujayan2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

General:

C:\Program Files (x86)\VNI\imsl\fnl600\IA32\include\dll


Linker:
C:\Program Files (x86)\VNI\imsl\fnl600\IA32\lib
-------------------------------------------------
Tools Executable:
$(IFortInstallDir)bin\ia32
$(VSInstallDir)Common7\IDE
$(VCInstallDir)BIN
$(VSInstallDir)Common7\Tools
$(VSInstallDir)Common7\Tools\bin
$(FrameworkDir)$(FrameworkVersion)
$(WindowsSdkDir)bin
$(PATH)
------------------------------------------
Tools include:
$(IFortInstallDir)compiler\include
$(IFortInstallDir)compiler\include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(WindowsSdkDir)include
$(FrameworkSDKDir)include
$(c:\)disifc.lib
$(C:\Program Files (x86)\VNI)imsl\fnl600\IA32\include
Tools lib:
$(IFortInstallDir)compiler\lib\ia32
$(IFortInstallDir)mkl\lib\ia32
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)lib
$(WindowsSdkDir)lib
$(FrameworkSDKDir)lib
$(c:)disifc.lib
$(C:\Program Files (x86)\VNI)imsl\fnl600\IA32\lib

Default option:
/Qvc10 /Qlocation,link,"$(VCInstallDir)\bin"



environment
FNL_COMPILER_VERSION: Intel(R) Visual Fortran Compiler for applications running on IA-32, Version
11.0

FNL_DIR: C:\Program Files (x86)\VNI\imsl\fnl600

FNL_LICENSE_NUMBER:999999

INCLUDE:
C:\Program Files (x86)\VNI\imsl\fnl600\IA32\include\dll;C:\Program Files\Microsoft Visual
Studio\DF98\IMSL\INCLUDE;C:\Program Files\Microsoft Visual Studio\DF98\INCLUDE;C:\Program
Files\Microsoft Visual Studio\VC98\INCLUDE

INCLUDE_DIR: C:\Program Files (x86)\VNI\imsl\fnl600\IA32\include\dll

INTEL_DEV_REDIST:
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\

LIB:C:\Program Files (x86)\VNI\imsl\fnl600\IA32\lib;C:\Program Files\Microsoft Visual
Studio\DF98\IMSL\LIB;C:\Program Files\Microsoft Visual Studio\DF98\LIB;C:\Program Files\Microsoft
Visual Studio\VC98\LIB


LINK_F90:imsl.lib imsls_err.lib imslmpistub.lib


LINK_FNL:imsl_dll.lib /libs:dll

LINK_FNL_HPC:imslmkl_dll.lib /libs:dll /link /force:multiple

LINK_FNL_SHARED:imsl_dll.lib /libs:dll

LINK_FNL_SHARED_HPC:imslmkl_dll.lib /libs:dll /link /force:multiple

LINK_FNL_STATIC: imsl.lib imslsuperlu.lib imslscalar.lib imslblas.lib imsls_err.lib imslmpistub.lib lmgr.lib
kernel32.lib user32.lib netapi32.lib advapi32.lib gdi32.lib comdlg32.lib comctl32.lib wsock32.lib
libcrvs.lib libFNPload.lib libsb.lib /link /nodefaultlib:msvcrt.lib /ignore:4217 /ignore:4006 /ignore:4098


LINK_FNL_STATIC_HPC: imsl.lib imslsuperlu.lib imslhpc_l.lib imsls_err.lib imslmpistub.lib mkl_intel_c.lib
mkl_intel_thread.lib mkl_core.lib libiomp5md.lib lmgr.lib kernel32.lib user32.lib netapi32.lib
advapi32.lib gdi32.lib comdlg32.lib comctl32.lib wsock32.lib libcrvs.lib libFNPload.lib libsb.lib /link
/nodefaultlib:msvcrt.lib /ignore:4217 /ignore:4006 /ignore:4098

LM_LICENSE_FILE: C:\Program Files (x86)\VNI\License

VNI_DIR:C:\Program Files (x86)\VNI\

VNI_F90_MSG:C:\Program Files (x86)\VNI\imsl\fnl600\IA32\bin


[IMSL Fortran Numerical Library]
Version=6.00
VNI license
number=9999999999999999999999999999999999999999999999999999999999999999999999999999
999999





















program Console3
$OBJCOMMENT LIB:'libiomp5md.lib'
INCLUDE 'link_fnl_shared.h'
!subroutine lin_eig_gen_ex4
$qimsl
uselin_eig_gen_int
userand_gen_int

implicit none

! This is Example 4 for LIN_EIG_GEN.

Integer i
integer, parameter :: n=17
real(kind(1d0)), parameter :: one=1d0
real(kind(1d0)) a(n,n), c(n,n), variation(n), y(n*n), temp(n), &
norm_of_a, eta
complex(kind(1d0)), dimension(n,n) :: e(n), d(n), u, v

! Set Random Number generator seed


real(kind(1d0)),parameter::zero_par=0.d0
real(kind(1d0))::dummy_par(0)
integeriseed_par
type(d_options)::iopti_par(2)

iseed_par = 53976279
iopti_par(1)=d_options(d_rand_gen_generator_seed,zero_par)
iopti_par(2)=d_options(iseed_par,zero_par)

callrand_gen(dummy_par,iopt=iopti_par)

! Generate a random matrix.
callrand_gen(y)
a = reshape(y,(/n,n/))

! Compute the eigenvalues, left- and right- eigenvectors.
calllin_eig_gen(a, e, v=v, v_adj=u)

! Compute condition numbers and variations of eigenvalues.
norm_of_a = sqrt(sum(a**2)/n)
doi=1, n
variation(i) = norm_of_a/abs(dot_product(u(1:n,i), &
v(1:n,i)))
end do

! Now perturb the data in the matrix by the relative factors
! eta=sqrt(epsilon) and solve for values again. Check the
! differences compared to the estimates. They should not exceed
! the bounds.

eta = sqrt(epsilon(one))
doi=1, n
callrand_gen(temp)
c(1:n,i) = a(1:n,i) + (2*temp - 1)*eta*a(1:n,i)
end do

calllin_eig_gen(c,d)

! Looking at the differences of absolute values accounts for
! switching signs on the imaginary parts.
if (count(abs(d)-abs(e) > eta*variation) == 0) then
write (*,*) 'LIN_EIG_GEN_EX4 Passed on pcdsms.'
else
write(*,*) 'LIN_EIG_GEN_EX4 ********** Failed on pcdsms **********'
end if

! end
end program Console3

You might also like