- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All the info about which version of which compilers I have is at the bottom of the thread.
All I'm trying to do is compile and link one of the MKL examples for a 2D FFT. Here is the code:
program
test
! Fortran
use
mkl_dfti
Complex
:: X_2D(20,40)
Complex
:: X(800)
Equivalence
(X_2D, X)
INTEGER
:: STRIDE(2)
type
(DFTI_DESCRIPTOR), POINTER :: Desc_Handle_Dim1
type
(DFTI_DESCRIPTOR), POINTER :: Desc_Handle_Dim2
! ...
Status = DftiCreateDescriptor(Desc_Handle_Dim1, DFTI_SINGLE,&
DFTI_COMPLEX, 1, 20 )
Status = DftiCreateDescriptor(Desc_Handle_Dim2, DFTI_SINGLE,&
DFTI_COMPLEX, 1, 40 )
! perform 40 one-dimensional transforms along 1st dimension
Status = DftiSetValue( Desc_Handle_Dim1, DFTI_NUMBER_OF_TRANSFORMS, 40 )
Status = DftiSetValue( Desc_Handle_Dim1, DFTI_INPUT_DISTANCE, 20 )
Status = DftiSetValue( Desc_Handle_Dim1, DFTI_OUTPUT_DISTANCE, 20 )
Status = DftiCommitDescriptor( Desc_Handle_Dim1 )
Status = DftiComputeForward( Desc_Handle_Dim1, X )
! perform 20 one-dimensional transforms along 2nd dimension
Stride(1) = 0; Stride(2) = 20
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_NUMBER_OF_TRANSFORMS, 20 )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_INPUT_DISTANCE, 1 )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_OUTPUT_DISTANCE, 1 )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_INPUT_STRIDES, Stride )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_OUTPUT_STRIDES, Stride )
Status = DftiCommitDescriptor( Desc_Handle_Dim2 )
Status = DftiComputeForward( Desc_Handle_Dim2, X )
Status = DftiFreeDescriptor( Desc_Handle_Dim1 )
Status = DftiFreeDescriptor( Desc_Handle_Dim2 )
end
program test
When I try and compile and link the program in the DEBUG configuration I get the following error:
Error1 fatal error LNK1103: debugging information corrupt; recompile modulemkl_core.lib(pszerow7as_1_1.obj)
The RELEASE version compiles and links just fine (don't care, need to be able to debug).
Please don't refer to http://support.microsoft.com/kb/949009/en-us/.
I have already tried this and it won't install because I have SP2 of VS2005 not SP1.
Compiler Info:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP2
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41912
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0000007-41912
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77626-009-0000007-41912
Microsoft Visual C++ 2005
Microsoft Visual J# 2005 77626-009-0000007-41912
Microsoft Visual J# 2005
Microsoft Visual Studio 2005 Tools for Applications 77626-009-0000007-41912
Microsoft Visual Studio 2005 Tools for Applications
Microsoft Visual Web Developer 2005 77626-009-0000007-41912
Microsoft Visual Web Developer 2005
Microsoft Web Application Projects 2005 77626-009-0000007-41912
Microsoft Web Application Projects 2005
Version 8.0.50727.762
Intel Visual Fortran Package ID: w_fcompxe_2011.1.127
Intel Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2005, 12.0.3470.2005, Copyright (C) 2002-2010 Intel Corporation
* Other names and brands may be claimed as the property of others.
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB947738)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947738
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB971023)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/971023
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB971090)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/971090
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB973673)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/973673
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Build:
/nologo /debug:full /Od /warn:interfaces /module:"Debug\" /object:"Debug\" /traceback /check:bounds /libs:static /threads /dbglibs /c
Link:
/OUT:"Debug\fft.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"C:\Documents and Settings\lansbje1\My Documents\temp\pbj\fft\Debug\fft.exe.intermediate.manifest" /DEBUG /PDB:"C:\Documents and Settings\lansbje1\My Documents\temp\pbj\fft\Debug\fft.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\Documents and Settings\lansbje1\My Documents\temp\pbj\fft\Debug\fft.lib" mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
Code:
program
test! Fortran
use
mkl_dftiComplex
:: X_2D(20,40)
Complex
:: X(800)
Equivalence
(X_2D, X)
INTEGER
:: STRIDE(2)
type
(DFTI_DESCRIPTOR), POINTER :: Desc_Handle_Dim1
type
(DFTI_DESCRIPTOR), POINTER :: Desc_Handle_Dim2
! ...
Status = DftiCreateDescriptor(Desc_Handle_Dim1, DFTI_SINGLE,&
DFTI_COMPLEX, 1, 20 )
Status = DftiCreateDescriptor(Desc_Handle_Dim2, DFTI_SINGLE,&
DFTI_COMPLEX, 1, 40 )
! perform 40 one-dimensional transforms along 1st dimension
Status = DftiSetValue( Desc_Handle_Dim1, DFTI_NUMBER_OF_TRANSFORMS, 40 )
Status = DftiSetValue( Desc_Handle_Dim1, DFTI_INPUT_DISTANCE, 20 )
Status = DftiSetValue( Desc_Handle_Dim1, DFTI_OUTPUT_DISTANCE, 20 )
Status = DftiCommitDescriptor( Desc_Handle_Dim1 )
Status = DftiComputeForward( Desc_Handle_Dim1, X )
! perform 20 one-dimensional transforms along 2nd dimension
Stride(1) = 0; Stride(2) = 20
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_NUMBER_OF_TRANSFORMS, 20 )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_INPUT_DISTANCE, 1 )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_OUTPUT_DISTANCE, 1 )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_INPUT_STRIDES, Stride )
Status = DftiSetValue( Desc_Handle_Dim2, DFTI_OUTPUT_STRIDES, Stride )
Status = DftiCommitDescriptor( Desc_Handle_Dim2 )
Status = DftiComputeForward( Desc_Handle_Dim2, X )
Status = DftiFreeDescriptor( Desc_Handle_Dim1 )
Status = DftiFreeDescriptor( Desc_Handle_Dim2 )
end
program testThis is just straight from the MKL example code for Fortran.
Error message:
Error1 fatal error LNK1103: debugging information corrupt; recompile modulemkl_core.lib(pszerow7as_20101122.obj)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As noted in my original post (sorry, should have put it right up front), I already tried the hot fix and it would not install because I have SP2 of VS2005, not SP1. So, the hot fix is no use to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page