| Last Modified On : | June 24, 2009 12:20 PM PDT |
Rate |
|
Intel® Visual Fortran Compiler Professional Edition 11.1 for Windows* (Intel® Visual Fortran) integrates with Microsoft developer tools to provide outstanding application performance on Intel processors as well as with compatible processors from other manufacturers. Intel Visual Fortran is a full-language Fortran 95 compiler with a majority of Fortran 2003 features plus a wide range of popular industry extensions.
Intel Visual Fortran is the successor to Compaq* Visual Fortran (CVF) and comes from the same development team. Intel Visual Fortran is highly compatible with CVF andm for most customers. migrating is easy. This article will lead you through the process.
In most cases, you can rebuild existing CVF applications with the new compilers without source changes, but some applications may need minor coding changes, and build methods may need minor adjustments. This article describes the key differences you are likely to encounter. For additional details, refer to the appropriate compiler release notes and the compiler documentation.
If you already have installed Microsoft Visual Studio 2008*, Microsoft Visual Studio 2005* or Microsoft Visual Studio .NET 2003*, Intel Visual Fortran will integrate into that Visual Studio development environment allowing you to create, build and debug Fortran and mixed-language applications. If you do not have a supported version of Microsoft Visual Studio installed, Intel Visual Fortran will install Microsoft Visual Studio 2008 Shell to provide a rich development environment for Fortran programming on IA-32 and Intel® 64 systems. (Note that some license types of Intel Visual Fortran do not provide Microsoft Visual Studio 2008 Shell. Please read the compiler's System Requirements for details.)
The Intel Visual Fortran product can coexist on a system with CVF, and you can continue using the older product if you wish. However, Intel Visual Fortran does not integrate with Microsoft Visual Studio 6 environment used by CVF, whereas CVF does not integrate with the newer versions of Microsoft Visual Studio. The Intel and Compaq products install into separate folder trees and use separate registry variables.
All Fortran sources must be recompiled with Intel Visual Fortran; you cannot use CVF-compiled objects, modules, or static libraries with Intel Visual Fortran. You can, however, use CVF-built dynamic link libraries (DLLs) with applications compiled with the Intel Visual Fortran Compiler, as long as you do not try to share input/ output units across the two environments. Note also that third-party libraries built for use with CVF may not work with Intel Visual Fortran . Contact the library supplier for more information.
Common Features
Intel Visual Fortran supports all of the CVF language syntax, including extensions from Digital Equipment Corporation (DEC) Fortran and Microsoft Fortran PowerStation* 4. All CVF library routines are supported, including those from the QuickWin and Portability libraries, as are all of the system-interface modules. In most cases, a simple rebuild of the application with the Intel compiler is all that is needed. Source changes that you may need to make are described below.
Features Not Supported
Intel Visual Fortran supports all of the language syntax supported by CVF. However, some of the CVF product features are not supported by Intel Visual Fortran. These include the following:
If you have existing applications that were created by the CVF COM Server Wizard, you may be able to rebuild them with Intel Visual Fortran. If you need to make changes to the interfaces, you can do so in CVF if you have left it installed. CVF COM Server Wizard projects cannot be converted to Intel® COM Server Wizard projects.
Although Intel Visual Fortran supports all CVF language syntax, incorrect programs which were compilable with CVF may result in error messages when compiled with Intel Visual Fortran. If you encounter unexpected error messages and need assistance resolving them, please see Getting Help
Behavior Differences
Some applications may be affected by changes in defaults:
If you are using Microsoft Visual Studio 2008 Shell, the following limitations apply:
These limitations do not apply when using a retail edition of Microsoft Visual Studio.
Intel Visual Fortran includes project-conversion wizards to make it easy to migrate from CVF. Note that the project conversion wizards are not available if you are using Microsoft Visual Studio Premier Partner Edition. The steps and illustrations below assume use of Visual Studio 2008. The process using other versions of Visual Studio is similar.
Conversion is a two-step process:
1. Open the CVF workspace in Visual Studio by right-clicking on the workspace's .DSW file and selecting Open With... Microsoft Visual Studio 2008. You will see a message similar to the following:
Figure 1. Initial Project Conversion Dialog
Click Yes To All to convert each project to a Visual C++ project in a "solution" (similar to a workspace).
2. In the right or left pane, you will see the Solution Explorer with the project(s) present. If you do not see the Solution Explorer pane, select View>Solution Explorer. At this point, the conversion to Fortran project(s) is not yet complete. For each project, right-click the project name and select Extract Compaq Visual Fortran Project Items.
Figure 2. Extract Fortran Project Items Dialog
The project will now be converted.
Figure 3. Converted Project
If the CVF project contains both Fortran and C sources, it must be converted into two single-language projects under a solution - one builds a static library and the other links to that library - because Microsoft Visual Studio does not allow multiple languages in a single project. The project conversion wizard asks you which language has the main (linkable) project, Fortran or C, and makes the appropriate adjustments. Figure 4 is an example of converting a mixed-language project.
Figure 4. Mixed Language Project Dialog Box
In this example, the main (executable) program is in C, so we select "The Visual C++ Project".
After conversion, the mixed-language project looks like Figure 5.
Figure 5. Converted Mixed Language Project
In the prior example, the CVF NODLL project was split into a C++ executable project named NODLL and an Intel Fortran static library project NODLL_lib. The conversion wizard automatically makes NODLL_lib a dependent of NODLL, so that the library is built first and then is linked into the C code.
If you convert a CVF project, the conversion wizard will change project settings from the default to enhance compatibility with CVF. An important change is the default calling convention: if it was "Default" in CVF, the conversion wizard changes it to "CVF." (The following section provides more information on calling conventions.) Unless you had a mixed-language application that depended on CVF-specific calling conventions, you should set the default calling convention back to the default, in most cases.
If your mixed-language project was a static library project, two static library projects will be created, one a dependent of the other. Visual Studio will automatically combine the child library with the parent when the solution is built.
The Microsoft Visual Studio Integrated Development Environment (IDE) is so different from the one shared by CVF that some users may at first find it difficult to perform common tasks. This paper covers some of the major changes, but it is not comprehensive. For more information on using the IDE, see the MSDN Library* documentation that accompanies Microsoft Visual Studio. (If you are using Microsoft Visual Studio 2008 Shell, you can access the MSDN Library at http://msdn2.microsoft.com/en-us/library)
Projects and Solutions
In CVF (and Visual C++ 6.0), "projects" were placed in "workspaces." A CVF workspace was little more than a container for one or more projects and was not involved in the build process. A project built something (an EXE, LIB or DLL file in most cases), and it could contain both Fortran and C code. One project was always designated as "active."
In Visual Studio, projects are substantially the same, but a project can be associated with only one language. For example, if you add C files to a Fortran project, the C files will be ignored. A solution holds multiple projects, but it is different from a workspace because you can build a solution, which builds all of the contained projects in a specified, user-configurable order.
When you have a mixed Fortran and C application, you must put the Fortran code into a Fortran project and the C code into a C (or C++) project. The projects get built separately and then, if appropriate, they are linked together. If the old project was a static library, two static library projects are created, with the objects going into a combined .LIB file. In this case, it does not matter which project you select as being the "main" project.
Changing Settings
Changing settings in the new Visual Studio environment is different as well. Instead of a tabbed dialog box for Settings, there is a tree-view set of "Property Pages." Figure 6 shows a set of property pages for an example project.
Figure 6. Property Pages
In this example, the Fortran General Property Page is displayed. Current property values that are the defaults are shown bolded, and a brief description of the highlighted property is displayed at the bottom of the pane.
To change a property value that has specific options, click on the value. An arrow icon displays to the right of the value.
Figure 7. Changing a Property
Click on the arrow to display the options and select the desired option. Properties that offer a list of items, such as Additional Include Directories in the example above, display a list icon (three dots).
3. Click the icon to open a separate dialog box, where you can enter the values. If you have only one value, type it directly on the Property page. You can directly type properties that are a single text string. In some cases, an arrow icon is available to allow you to select "Inherit from project defaults."
Debugging with the Intel Visual Fortran Compiler is similar to using CVF, but some of the controls are in different places.
Unlike in CVF, there is not a default button on the toolbar for "Start Without Debugging". You can access this function by selecting it under the Debug menu or by pressing Ctrl+F5. If you want to add the button, select Tools>Customize. In the Commands tab, select Debug under Categories and drag the Start Without Debugging button to the toolbar.
Figure 8. Setting a Breakpoint
While Intel has taken great care to avoid the need for source changes to permit "rebuild and go," a number of implementation differences between the Intel and Compaq compilers necessitate making changes for selected applications. For the latest information on changes, please refer to the Intel Visual Fortran Compiler Release Notes.
While the part of the compiler that handles Fortran syntax and semantics, often referred to as the "front end," is derived from CVF, improvements have been made in detecting incorrect usage, and you may find that the new compiler issues diagnostic messages
for certain usages where the older compiler did not. For example, the compiler now gives an error for a source that makes a call to a non-pure intrinsic such as RANDOM_NUMBER from inside a pure procedure. In such cases, you will need to correct the coding errors. If you believe a diagnostic is inappropriate, please see Getting Help.
Default Calling Conventions Have Changed
In CVF, the default calling mechanism was STDCALL, and routine names were ‘decorated ' by adding @n to the end, where n was the number of bytes of argument list. Intel Visual Fortran Compiler adopts the more common C calling mechanism used by versions 7.1 and earlier of the Intel Fortran Compiler. Routine names are still converted to uppercase by default, and a leading underscore is added, but there is no @n suffix.
Another change is the manner in which CHARACTER argument lengths are passed. In CVF, these were passed immediately following the address of the CHARACTER item, but in Intel Visual Fortran Compiler, all the lengths are passed at the end of the argument list. In other words, the default has changed from /iface: mixed_str_len_arg to /iface:nomixed_str_len_arg.
If you have a Fortran-only application, this change may not be important to you. If, on the other hand, you have a mixed-language application, you need to be aware of the impact of the change in compiler default. You can tell the compiler to use the CVF default on the External Procedures property page, or with the /iface:cvf command-line switch.
A special case where the convention change matters is if your application uses "callback procedures". This is where you pass a routine name from your program as an argument to a library routine. Some kinds of library routines which use callbacks are Win_2 API and IMSL libraries, the QSORT routine from the Intel Fortran Portability Library, and also the USEROPEN keyword of the Fortran OPEN statement. Callback routines assume a specific calling convention and if there is a mismatch it can cause stack corruption and unpredictable results.
The Win32 API always uses the STDCALL convention, so if you are passing Fortran routines to Win_2 API routines, be sure to add the directive
!DEC$ ATTRIBUTES STDCALL,REFERENCE :: routine-name
to the callback routine. Most other uses of callbacks, including the IMSL library, assume the compiler 's default conventions. If you encounter unexpected run-time errors, try setting the calling convention to "Default" to see if that resolves the issue.
GETARG, IARGC and NARGS Are Now Intrinsic
The command-line inquiry routines GETARG, IARGC and NARGS are now recognized as intrinsic procedures by the compiler. If your application source declares any of these names as EXTERNAL or provides an explicit procedure interface for them, you must remove those declarations to prevent link-time errors.
New Module Names for System and Library Declarations
Compaq Visual Fortran provided modules with definitions of Win32* API routines and symbols, as well as modules for Fortran library routines. These modules had names such as DFWIN, DFLIB, etc. Intel Visual Fortran Compiler provides compatible modules with the same names, but these are wrappers around modules with new names. You do not need to change your sources, but you should begin using the new names in new development. In DFLIB, symbols have been relocated into one of three new modules: IFCORE, IFPORT and IFQWIN.
You may find it useful to select the specific module containing the symbols you are interested in.
| Old Name | New Name | Description |
|---|---|---|
| DFAUTO | IFAUTO | Automation |
| DFCOM | IFCOM | COM and OLE |
| DFCOMTY | IFCOMTY | Obsolete, use IFWINTY |
| DFLIB | IFCORE, IFPORT, IFQWIN | General library, Portability library, QuickWin |
| DFLOGM, DFLOGMT | IFLOGM, IFLOGMT | Dialogs |
| DFMT | IFMT | Multithread routines (obsolete) |
| DFNLS | IFNLS | National language support |
| DFOPNGL, DFOPNGLT | IFOPNGL, IFOPNGLT | OpenGL* |
| DFPORT | IFPORT | Portability routines |
| DFWBASE | IFWBASE | Deprecated WIN16 routines (not supported on 64-bit architectures |
| DFWIN | IFWIN | Win32 APIs (use of individual modules such as KERNEL32 is recommended instead) |
| DFWINA | IFWINA | Renamed Win32 routines that conflict with QuickWin names |
| DFWINTY | IFWINTY | Win32 API types and constants |
The individual Win32 API modules such as KERNEL32 have the same names as in CVF. Note that new Win32 modules, such as PSAPI, have been added.
In most cases, you will not need to make changes in your build procedures. However, to provide for compatibility with future versions of Intel Fortran compilers, some changes are recommended. This section describes differences that affect building applications.
Compile Command is Now ifort
Under CVF, four command names were provided for invoking the compiler: df, f90, f77 and fl32. df and f90 were equivalent, f77 added options for compatibility with Compaq Fortran 77,and fl32 added options for compatibility with Microsoft Fortran PowerStation. In Intel Visual Fortran Compiler, ifort is the preferred command name to invoke the compiler. df is also accepted, but gives a warning that can be suppressed with /quiet. f77 and fl32 are not provided.
If you leave CVF installed on your system, it coexists with Intel Visual Fortran. When using the command line, be sure to use the appropriate shortcut in the Start menu to start your command session. For CVF, use "Fortran Command Prompt." For Intel Visual Fortran , it is "Fortran Build Environment for applications running on IA-32". Each of these will establish the proper environment for the selected compiler. The IDEs are separate and do not interfere with each other.
Intel Visual Fortran Compiler, Professional Edition with IMSL*, includes the IMSL Fortran Numeric Library* 6.0 from Visual Numerics, Inc. In addition to many new and updated routines, the new version adds the following features not included in Compaq Visual Fortran Professional Edition:
The IMSL libraries are installed separarely from the compiler. Please be sure to install the compiler first.
An existing application that uses the IMSL libraries will need few or no changes, unless you want to take advantage of the new features. You will need to make a change in how the application is built to reference the proper libraries. Below is an overview of this change. See the Intel Visual Fortran Compiler on-disk documentation under Building Applications, Using Libraries for additional details.
A change that may be needed is if your calls to the IMSL library pass callback routines. These are often used to evaluate user functions in "solver" routines. You must make sure that your callback routines use the default calling convention and not CVF 's STDCALL. See the above section on the change in calling conventions for more information.
Locating and Referencing the IMSL Libraries
In Compaq Visual Fortran, there was just one set of IMSL libraries: static and non-threaded. In Intel Visual Fortran Compiler, Professional Edition, there are four sets of libraries with different names. Rather than explicitly list the libraries, as was commonly done with CVF, you should instead specify the path to the folder containing the libraries and use one of the supplied INCLUDE files to create a reference to the specific libraries required.
For details on how to specify the IMSL libraries, please see Installing and using the IMSL* LibrariesFor additional options and details, please refer to the Building Applications manual on-disk documentation section on using the IMSL libraries (Building Applications > Using Libraries > Using the IMSL* Mathematical and Statistical Libraries).
Intel Visual Fortran Compiler provides a rich feature set that delivers winning performance for both legacy and cutting-edge technologies:
For more information on these and other features, see the compiler Release Notes.
| November 27, 2008 2:11 PM PST
Steve Lionel (Intel)
|
Intel Visual Fortran supports development from the command line. The command to invoke the compiler is "ifort". Most of the Microsoft Fortran PowerStation (fl32) switches are supported. We recommend using "ifort" to link, but you can use "link" if you know what you're doing. Note that Microsoft removed the static single-threaded libraries (/ML). /MW for QuickWin works. Your comment mentioned makefiles but your example didn't. The "nmake" utility is supplied by Microsoft Visual Studio. I suggest that if you have further questions you ask them in our user forum at http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows Steve |
| December 14, 2008 1:24 AM PST
SeyedReza Nabavi |
I am trying calling a Fortran subroutine in C. I use Microsoft visual C++ 2008 Express Edition. I did the "Converting CVF Projects" sction I saw first step,( I opened my fortran subrotine DWS. file in C++) but I did not see the other stages. When I rigth click on project menu there is not "Extract compaq visual project item". what is the problem? Please help me. All the best |
| December 15, 2008 8:55 AM PST
Steve Lionel (Intel)
| You are using Visual C++ Express Edition. This does not support Fortran in the IDE. Please use the included Visual Studio 2005 Premier Partner Edition instead. |
| December 28, 2008 5:05 PM PST
Stephen Welch | I have successfully installed Visual Studio 2005 and Intel(R) Visual Fortran Compiler 9.1.028. I open my Compaq Visual Fortran .dsw (or .dsp) (containing a few hundred Fortran files, plus one .c) and I get the "Visual C++ Project" prompt and respond "Yes to all". With "Solution Explorer" pane selected, and clicking on the Project name there, I go to the Project menu but I don't see any entries for "Extract Compaq Visual Fortran". The menu item "New Filter" is followed by "Show all files" and "Unload project". Selecting other items in the SE pane makes no difference, still now "Extract ..." menu entry. I've been stuck here for a few months unable to use the new compiler, any help greatly appreciated. Also, can it convert from old Digital Visual Fortran projects too? |
| December 29, 2008 8:57 AM PST
Steve Lionel (Intel)
|
Stephen, This suggests to me that the Intel Fortran Integration to Microsoft Visual Studio is not installed. Please go to our user forum (http://software.intel.com/en-us/forums/intel-visual-fortran-.....r-windows/) to obtain help with this. Note that version 9.1 is no longer supported, but what you are trying to do should work. The project extractor is tested for use with CVF 6.6 projects. It may or may not work with older CVF/DVF projects. However, if all else fails you can simply create new projects and add the source files to them. (The C file will need to go in a C static library project). |
| January 26, 2009 8:08 AM PST
Gabor CSABA |
Dear Mr. Lionel! On the basis of Norman Lawrence's "Guide to Creating Windows Applications" I've written a Win32 application with menus and main callbacks with a lot of dialog forms. After filling up the forms the main technical calculation can be called, as a subroutine. The program works properly, but now I need to call one of the dialog in the main callbacks from the subroutine. How can I do it from the subroutine? Could you send a simple sample to show it? Sincerely Yours G. Csaba |
| January 26, 2009 8:31 AM PST
Steve Lionel (Intel)
|
Gabor, this is a perfect question for our user forum. Please ask it there. http://software.intel.com/en-us/forums/intel-visual-fortran-.....r-windows/ Steve |
| February 11, 2009 9:19 AM PST
d.shalashilinleeds.ac.uk
|
Hello Steve I am trying to migrate from Compaq to Intel fortran. I did what this page tells me to do. After trying to build the project I get fatal error LNK1561: entry point must be defined How to fix it? Please help |
| February 11, 2009 9:51 AM PST
Steve Lionel (Intel)
| Please ask this in the user forum and, if possible, attach a ZIP file of the solution folder (do a Build > Clean) first. See the "announcement" in the forum for how to attach files. |
| February 28, 2009 4:24 AM PST
Laabidi |
Hello, Could you please help me in this prolem, I have a fortran code(30 subroutines each one in separated file) If I try to create a project he ask me if its a dynamic librairies link or static or a makefile wich one I can use. and wich athor configuration must be set up, because I alredy compil my code in another compiler but with visual frotran 5.0 after compilation a have many link errors, thanks |
| February 28, 2009 11:58 AM PST
Mixay |
I have FORTRAN 90 code which compiles and run on Campaq Visual Fortran Professional Edition 6.1 on Window Exp2000. But right now need to compile and run on Intel Fortran, Linux system. If I would lie to edit existing code file to make it can run on Intel Fortran, Linux system; what I need to change and revise in this code file. Please help me |
| March 2, 2009 7:10 AM PST
Steve Lionel (Intel)
|
Laabidi, it sounds as if you are using Digital Visual Fortran 5.0, which is not our product. But you can ask questions in our user forum: http://software.intel.com/en-us/forums/intel-visual-fortran-.....r-windows/ Mixay, please ask your question in our user forum: http://software.intel.com/en-us/forums/intel-fortran-compile..... -mac-os-x/ |
| March 10, 2009 5:31 AM PDT
anthonyrichards
|
Hi Steve, I have finally bitten the bullet and I have just installed VS 2008 Pro 30-day evaluation and SP1. There was one bug when I restarted and got a message 'SQLDUMPER library failed initialisation...yadda...yadda'. I have ignored this as the VS installer finished by saying it had successfully installed VS 2008 OK. I then downloaded and installed IVF 11.0 evaluation (after some to-ing and fro-ing involving registering and getting the registration key (apparently failing then finding I had tried to register twice!) and not knowing or being told what to do with the .LIC file that came as an attachment to an e-mail giving me a link to the download page - I nearly gave up here, then I closed all tabs and went back to the download page to find that I had finally been registered as allowed to download the eval version). ALthough somewhat nervous at first, I followed your article on conversion from CVF using a test project copied from my CVF folder. I have since converted my first CVF workspace. I made no changes to the code and it went seamlessly well! Amazing. My only quibble so far is a lament that the INTEL Help does not include the Programmers guide that came with CVF. I find this extremely useful. Is this really missing from this eval and the full versions of IVF compiler? Can the CVF guide be integrated with the IVF Help? |
| March 10, 2009 8:07 AM PDT
Steve Lionel (Intel)
|
Tony, The material that was in the "Programmer's Guide" is in the section of the documentation called "Building Applications". It is present in all editions of the product. I'm glad to hear that the guide was helpful. If you have further questions or comments, please enter them in the user forum. |
| June 26, 2009 3:32 PM PDT
Chuck S |
I have object files that were apparently created from CVF. I have IVF on my machine and need to convert the CVF object files to IVF object files in order to compile and create a library file from them. I do not have CVF installed on my machine. I have IVF version 10.1 install on my machine. Any help with this attempt would be greatly appreciated. |
| June 29, 2009 7:12 AM PDT
Steve Lionel (Intel)
|
Chuck, It is not possible to convert object files. You must recompile the Fortran sources with IVF. |
| July 15, 2009 8:25 AM PDT
Giacomo Taini |
Hello, I have just installed the Intel Visual Fortran v.11.1 and I cann't convert the old file using the procedure of below for the mitigation or porting (and the white paper) from the Compaq to the Intel VF. Last year, with the Intel Demo version 10.0 I could to do it.... The error reports : "file has been corrupted and cannot be opened" Thanks a lot for your help Regards Giacomo |
| July 15, 2009 8:32 AM PDT
Steve Lionel (Intel)
|
Giacomo, I don't know what causes this problem. The easiest solution is to create a new project and add your source files to it. This takes much less effort than trying to resolve the conversion error. I would like to see a copy of the .dsw and .dsp files from the CVF project - you can email them to me at steve.lionel at intel.com Steve |
| July 16, 2009 9:13 AM PDT
Rich Keller |
Hi Steve, I have MSVS 2008, v9.0.30729.1 SP and have Intel Fortran Compiler 10.1.4159.2008. I created a simple HelloWorld project where C call Fortran. I did this in MSVS 6.0 w/ CVF then I followed your instructions for the conversion to the new 2008 w/ the intel and it compiles great, runs and works fine. I also tried doing a project from scratch. I created a C project with my c code that calls the fortran. Then I created a separate fortran project as a static lib under the solution per all the instructions I've seen. I also made sure I had the proper mixed language settings per http://software.intel.com/en-us/articles/configuring-visual-.....lications/ The project from scratch still cannot see the Fortran lib, what else am I missing?? I've compared the auto-converted project settings with my scratch build and nothing appears different. Thanks for any help you can provide. Rich My C code is as follows: (main.c) #include <stdio.h> extern void __stdcall HELLOFOR(); int main() { for(;;) { printf ("Hello World from C !n"); HELLOFOR(); } } and Fortran is (fortfunc.f): subroutine HELLOFOR() print *,'Hello from fortran' return end |
| July 16, 2009 9:19 AM PDT
Steve Lionel (Intel)
|
Rich, the problem I see here is your use of __stdcall. That is not correct for Intel Visual Fortran's default. It worked for your converted project because the converter applies the "Use CVF semantics" options that includes STDCALL. If you need more help, please post in the user forum - this comments section is not suitable for support questions. |
| July 24, 2009 9:15 AM PDT
Ken |
I have also encountered the same problem that Giacomo Taini has reported above where I cannot port a CVF project. I get the same error "project file 'pathfilename.dsp' has been corrupted and cannot be opened." Any input would be appreciated. Regards, Ken |
| July 24, 2009 12:19 PM PDT
Ken |
I suppose I should read the entire page in detail before posting. Copied from above: "Microsoft Visual Studio 2008 Shell* If you are using Microsoft Visual Studio 2008 Shell, the following limitations apply: -No Microsoft language processors such as Visual C++* or Visual BASIC* are supplied. -CVF projects cannot be converted to Intel Visual Fortran projects. Instead, create a new Intel Visual Fortran project and add your sources to it. " That solves my problem since I am running the Shell. Thanks Steve. |
| August 19, 2009 9:01 AM PDT
seilerfort
|
Steve, I've been working to migrate from CV 6.6 to IVF 8.1. I've been able to compile and have been able to make runs. However, the data is not being handled correctly during the run. I have a common structure writtten in CV 6.6 which is not getting initialized when I run the source in IVF 8.1 (i.e. the structure members are being set to the correct values). Only the first two or three members in the structure are initialized and the remaining are being set to the same numbers. I haven't been able to find any answers in Intel's documentation. Thanks for the help. Regards, Seiler |
| August 19, 2009 9:07 AM PDT
Steve Lionel (Intel)
|
Seller, have you tried a current compiler? 11.1 is the current version. If you still need help, please ask in our user forum and provide a test case. I do know of an issue where IVF and CVF differ in laying out a SEQUENCEd structure with a UNION in that IVF incorrectly adds padding. This can be worked around by compiling with /noalign, but my guess is that your problem is something else. Everyone - please do not use these comments to ask for technical assistance - use the user forum instead! |
| November 18, 2009 3:29 AM PST
tom |
So, if I understand this article correctly, with IVF and VS 2005 PPE there is no way to convert CVF's .dsw and .dsp files to the new format AND there is no source browser any more? My colleagues will not be delighted to hear that. Is there any plan to enable the source browser in the near future or do you have an alternative, as I found it very helpful when trying to understand complex code? You know, it can be a pain to search 10 modules to find out how all those variables are defined, especially when porting from CVF to IVF and the compiler pops up a whole bunch of new errors and warnings. Best regards, Thomas |

English | 中文 | Русский | Français
Steve Lionel (Intel)
|
james doyle
fl32 /c /MW
and link options similat to
link kernal32.lib /subsystem:windows
thanks. jfd