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

IMSL & Fortran

anlin168
Beginner
1,272 Views

I just boughtIMSL and Fortran and tried to install them on my computer. However after I open the commend window, I got an error message as following:

Unable to find Microsoft Visual C++ 7.1 or highrt.

Intel Visual Fortran Compiler for 32-bit applications will not function properly.

What should I do with this, did I miss some steps in the installation?

Thanks

AC

0 Kudos
11 Replies
Steven_L_Intel1
Employee
1,272 Views
What is the name and version number of the product you bought? Did you get a CD or did you download? If download, what is the filename of the download?
0 Kudos
DavidWhite
Valued Contributor II
1,272 Views

Steve,

There is a known problem with installing IVF on some machines. I have an outstanding issue (442283) in which I get the same message trying to install IVF on a machine without MSVS2005. Bonnie & Kevin on Premier Support have some work arounds which have helped some users (unfortunately, on the particular machine, I am still not there yet).

David

0 Kudos
Steven_L_Intel1
Employee
1,272 Views
David,

Thanks for the comment, but circumstances can vary and I'd like to understand the problem. I looked at your issue and it is different from the one in this thread. Also I see that Bonnie is waiting for you to provide information she requested.
0 Kudos
anlin168
Beginner
1,272 Views

Products Purchased

Product Name

VFI999WSAE1

Intel Visual Fortran Compiler Pro. Ed. With IMSL for Windows- Academic Single

I downloaded from the interent, version number is 10.0.025. thank you

An-Lin

0 Kudos
Steven_L_Intel1
Employee
1,272 Views
An-Lin,

Please uninstall the Intel Visual Fortran Compiler (you do not need to uninstall IMSL.) Log in to the Intel Registration Center and download w_fc_p_10.1.011.exe and install that. (This is a 250MB download, but it includes the necessary Visual Studio pieces.)

If after installing this you still have the problem, please contact Intel Premier Support.
0 Kudos
anlin168
Beginner
1,272 Views

Thank you Steve, I can compile ordinary f90 code now. But when I want to try if IMSL works, I will get a lot of error messages. For example I tried to compile the following code (an example from the Manual). Did I miss some steps in the compiling window? I read the manual and think I might need to type imslfnl600infnlsetup.bat before I type ifort myprog.f90. Is that true? I did and failed again with error message: 'C:program' is not recognized as an internal or external commend, operable program or batch file. Can you tell me where went wrong? Thank you very much

An-Lin

program

copy_main

real

x(10), y(10)

integer

n, incx, incy, i

n = 3

incx = 3

incy = 1

do

i = 1, 10

x(i) = i

end do

call

scopy (n, x, incx, y, incy)

print

*, Y = , (y(i), i = 1, n)

end

0 Kudos
Steven_L_Intel1
Employee
1,272 Views
You don't say what the error messages are. I'm going to assume they are link errors. Try adding the following two lines after the PROGRAM statement:

include 'link_fnl_static.h'
!DEC$ OBJCOMMENT LIB:'libguide.lib'

The first of these says to link against the IMSL static libraries, the second adds another library that is required. You do not need to run a separate IMSL setup if you use the Intel-supplied "Build Environment" shortcut or ifortvars.bat to start your build session.


0 Kudos
anlin168
Beginner
1,272 Views

Steven, I tried to include the two lines but the same error show up:


Intel Fortran Compiler for applications running on IA-32, Version 10.1.011
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.


Setting environment for IMSL Fortran Library - IA32
Q:>ifort try1.f90
Intel Visual Fortran Compiler for applications running on IA-32, Version 10.1
Build 20070913 Package ID: w_fc_p_10.1.011
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

try1.f90(15) : Error: Unrecognized token ' ?' skipped
print*, Y = , (y(i), i = 1, n)
-------^
try1.f90(15) : Error: Unrecognized token ' ?' skipped
print*, Y = , (y(i), i = 1, n)
------------^
try1.f90(15) : Error: Syntax error, found '*' when expecting one of: => = . ( :
%
print*, Y = , (y(i), i = 1, n)
-----^
compilation aborted for try1.f90 (code 1)

Q:>

0 Kudos
jparsly
New Contributor I
1,272 Views

Check the quote marksin your print statement. I see `y =`

and I think it should be 'y ='.

The"wrong" quote is the one that shows up on the same key as the ~.

Try the other one, which shows up on the same key as the ".

0 Kudos
anlin168
Beginner
1,272 Views

Thank you jparsly and Steve, the software seems working fine now. Open-mouthed smiley [:-D]

An-Lin

0 Kudos
Steven_L_Intel1
Employee
1,272 Views
That's an unfortunate problem when copying and pasting code from the manuals, as often the word processing software tries to "help" too much and changes quotes.
0 Kudos
Reply