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

Which one do I have to download?

Khoshghalb__Arman
999 Views
Hi all,
I have recently purchased the licence for IVF version 11.1.056 including visual studio 2008 and IMSL library. On the download page, I have several options for download among them are:

Intel Visual Fortran for IA-32 and Intel 64 (with Microsoft Visual Studio 2008 Shell and Libraries*) 875 MB
Intel Visual Fortran for Intel 64 (for customers who have Microsoft Visual Studio* already installed) 353 MB
Intel Visual Fortran for IA-64 372 MB
Redistributable Libraries for IA-32 32 MB
Redistributable Libraries for Intel 64 28 MB
Redistributable Libraries for IA-64 32 MB
IMSL* Library for IA-32 65 MB
IMSL* Library for Intel 64 72 MB
IMSL* Library for IA-64 120 MB

I am not sure which one should I install.
My OS is Windows 7, 64 bit and my processor is Intel Core i5 CPU 750@ 2.67 GHz 2.66 GHz.

I have already installed the first option and IMSL* Library for IA-64 and I have done all the modifications in Microsoft visual studio (in includes and libraries) . But it gives me some errors like : " cannot open include file 'link_fnl_static.h' "

I thought I might have installed the wrong one.
Any help would be appreciated.
Arman
0 Kudos
8 Replies
Steven_L_Intel1
Employee
999 Views

Please uninstall the IA-64 file you downloaded. It is for Intel Itanium systems, which you don't have.

I recommend the file w_cprof_p_11.1.054_novsshell.exe This assumes that you already have Visual Studio installed, which it seems you do.

This will give you the 32-bit and 64-bit compilers for your platform. You will then want to download and install IMSL for Intel 64 (and optionally, IMSL for IA-32).

Follow the instructions in the IMSL setup article, which I pointed you to earlier. Make sure that when you go to Tools > Options > Intel Visual Fortran > Compilers that you select x64 as the platform and then make the changes for the Include and Library directory lists. Repeat this for "Win32" if you have installed the IA-32 IMSL.

When you create a project in Visual Studio, it will be 32-bit (Win32) by default. To select a 64-bit build, select Build > Configuration Manager. Under Active Solution Platform select . Make sure the New platform is "x64" then click OK then Close.
0 Kudos
Khoshghalb__Arman
999 Views

Please uninstall the IA-64 file you downloaded. It is for Intel Itanium systems, which you don't have.

I recommend the file w_cprof_p_11.1.054_novsshell.exe This assumes that you already have Visual Studio installed, which it seems you do.

This will give you the 32-bit and 64-bit compilers for your platform. You will then want to download and install IMSL for Intel 64 (and optionally, IMSL for IA-32).

Follow the instructions in the IMSL setup article, which I pointed you to earlier. Make sure that when you go to Tools > Options > Intel Visual Fortran > Compilers that you select x64 as the platform and then make the changes for the Include and Library directory lists. Repeat this for "Win32" if you have installed the IA-32 IMSL.

When you create a project in Visual Studio, it will be 32-bit (Win32) by default. To select a 64-bit build, select Build > Configuration Manager. Under Active Solution Platform select . Make sure the New platform is "x64" then click OK then Close.

Hi Steve,
Thanks for your prompt reply.

I uninstalled the IA-64 file and installed the one you recommended. I also installed IMSL for Intel 64. when I tried to make the changes specifiedon the "Installing and using the IMSL* Libraries" page, the location of the 'ifortvars_intel64.bat' file on my computer was C:Program Files (x86)IntelCompiler11.1�54binintel64 which is slightly different from one specified on the page. anyway, I changed that one as well an added the specified line (IF EXIST "C:Program FilesVNIimslfnl600Intel64binfnlsetup.bat" @call "C:Program FilesVNIimslfnl600Intel64binfnlsetup.bat") at the end of the file. I also made all changes regarding 64bit windows as you said. (for Build > Configuration Manager, there are two options for Active solution configuration: Release and Debug, which one should I choose? I tried both for now)
but the problem still exists and I get this error: " cannot open include file 'link_fnl_static.h' " (with some other errors which are not important at the moment)

What do you recommend?
Regards,
Arman
0 Kudos
Steven_L_Intel1
Employee
999 Views

Arman,

The text in the article about editing ifortvars.bat does not apply to version 11.1. I will remove it. In any event this does not affect use from Visual Studio.

When you select Build > Configuration Manager you do not have to worry about Release vs. Debug. Just follow the instructions to add a new Solution Platform and it will define this for both Debug and Release configurations.

It sounds as if you did not follow the steps under "Configuring for Use under Microsoft Visual Studio". In particular, note the fourth bullet where it talks about changing the Target Platform. You want to select "x64" here before making changes in the directory lists.
0 Kudos
Khoshghalb__Arman
999 Views

Arman,

The text in the article about editing ifortvars.bat does not apply to version 11.1. I will remove it. In any event this does not affect use from Visual Studio.

When you select Build > Configuration Manager you do not have to worry about Release vs. Debug. Just follow the instructions to add a new Solution Platform and it will define this for both Debug and Release configurations.

It sounds as if you did not follow the steps under "Configuring for Use under Microsoft Visual Studio". In particular, note the fourth bullet where it talks about changing the Target Platform. You want to select "x64" here before making changes in the directory lists.

Steve,
Thanks for your help. I removed the line from iforvat.bat. I checked everything one more time and I found the problem. the location of library files in my computer was a bit different from those mentioned on the "Installing and using the IMSL* Libraries" page; instead of 'Program Files' I have 'Program Files (x86)' folder! (I don't know why!) (I think itmight behelpful to add on that page that the location of library files could be different from those mentioned there)
But now, I get another error; for my main file and those subroutinesin them I used IMSL,when I build them, it gives"Compilation error (code 1)". I searched the help, but I did not get anything.
they all were fine on CVF!
What are your suggestions?
Arman

I forgot to add something, those above errors happen when I use the line " USE IMSL_LIBRARIES", when I change this to "USE NUMERICAL_LIBRARIES" I don't get Compilation errors anymore, instead I get "rc.exe not found". I have no idea what they mean.
Arman
0 Kudos
Steven_L_Intel1
Employee
999 Views

Yes, you are right. When installing on a 64-bit system, the paths with have (x86) in them. I will amend the article.

There is a known problem that shows when you use IMSL_LIBRARIES on x64, but you probably don't want that anyway unless you have modified your code to use the "Fortran 90" bindings for IMSL. If you are interested in the fix for the error, see this article.

The error about not finding rc.exe has several possible causes. My guess is that you have the Professional Edition of Visual Studio and did not do the Custom install needed to get the x64 support. Do this:


1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005
(or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear.
Click Next.
2. Click Add or Remove Features
3. Under Select features to install, expand Language Tools > Visual C++
4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the
box is already checked, click Cancel.
0 Kudos
Khoshghalb__Arman
999 Views

Yes, you are right. When installing on a 64-bit system, the paths with have (x86) in them. I will amend the article.

There is a known problem that shows when you use IMSL_LIBRARIES on x64, but you probably don't want that anyway unless you have modified your code to use the "Fortran 90" bindings for IMSL. If you are interested in the fix for the error, see this article.

The error about not finding rc.exe has several possible causes. My guess is that you have the Professional Edition of Visual Studio and did not do the Custom install needed to get the x64 support. Do this:


1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005
(or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear.
Click Next.
2. Click Add or Remove Features
3. Under Select features to install, expand Language Tools > Visual C++
4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the
box is already checked, click Cancel.

Steve,
I fixed the first issue from the article you mentioned.

but for the second one, I do not find the "Select features to install" option.

In control panel I have:
Microsoft visual studio 2008 shell (integrated mode) - ENU
Microsoft visual studio 2008Remote Debugger- ENU

I tried with both and there is not such an option.

I also have "Microsoft Visual C++2008 Redistributable - x86 9.0.30729.17" installed in control panel.
is that the one you are after?
Arman
0 Kudos
Steven_L_Intel1
Employee
999 Views

Ok, different problem then. Please uninstall the compiler, uninstall Visual Studio Shell, then reinstall the compiler from the download that includes Visual Studio shell (w_cprof_p_11.1.054.exe). That should fix it.
0 Kudos
Khoshghalb__Arman
999 Views

Ok, different problem then. Please uninstall the compiler, uninstall Visual Studio Shell, then reinstall the compiler from the download that includes Visual Studio shell (w_cprof_p_11.1.054.exe). That should fix it.

Yes, That is it!
Many many thanks,
Arman
0 Kudos
Reply