Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Intel w/IMSL from IA32 to Intel64

bnrssmith
Beginner
671 Views
I am trying to port a mixed language program from IA-32 to Intel64 platform. I have changed the libraries and includes for the 64bit machnine, but when I link, I get 500 linker errors consistant with these:

Error 28 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 30 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 31 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 32 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 168 error LNK2001: unresolved external symbol _for_deallocate
Error 169 error LNK2001: unresolved external symbol _for_deallocate
Error 170 error LNK2001: unresolved external symbol _for_deallocate
Error 171 error LNK2001: unresolved external symbol _for_deallocate
Error 172 error LNK2001: unresolved external symbol _for_deallocate

Any suggestions, I haven't changed any source code.
.
Thanks,
Steve


0 Kudos
6 Replies
Steven_L_Intel1
Employee
671 Views
It looks as if you have some 32-bit code in there - without seeing the project I can't say exactly where. Is this a Visual Studio project? If so, have you changed the configuration to add the "x64" platform as described in the Fortran documentation?
0 Kudos
bnrssmith
Beginner
671 Views
Yes and when I try to compile on the x64 platform it says it is not installed.
0 Kudos
Steven_L_Intel1
Employee
671 Views
What does it say is not installed?

In order to build for the x64 platform you need to have the "x64 Compiler and Tools" component of Visual Studio 2005 installed. This is not selected in a default install of VS2005 Professional and above, though it is default in VS2005 Standard (and the bundled VS2005 Premier Partner Edition.) If you don't have that, do a "modify" of VS2005 in Add/Remove Programs and add that feature (under Visual C++).

You also need the Intel Fortran Compiler for applications running on Intel 64. If you have not previously installed that, you can download it from the Intel Registration Center.
0 Kudos
bnrssmith
Beginner
671 Views
Ok, this may have been the problem, but now the line INCLUDE 'link_fnl_shared.h' does not seem to work. Is this different for Intel64?
0 Kudos
bnrssmith
Beginner
671 Views
Actually, I was originally using INCLUDE 'link_fnl_shared_hpc.h'.
0 Kudos
bnrssmith
Beginner
671 Views
Thanks, I fixed that part.
0 Kudos
Reply