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

Cannot open 'ifconsol.lib'

john_humble
Beginner
748 Views

I'm converting from CVF6.6 under an earlier MVS to IVF10.1 under MSV 2005 standard. Simultaneously, and unfortunately, I've had to shift to a new computer and change fromWin 2000 to Vista Business. (Yes, I know one shouldn't make all changes at once - I had no choice). In thory this should be easy - all programs are straight Fortran 90 and no multi-language builds are needed.

Compiling seems to be OK but all attempts to build produce the error message "cannot open 'ifconsol.lib'". I've gone through all thethreadsin this forum concerning this problem without finding a soloution. 'ifconsol.lib' is present in both C:Program FilesIntelCompilerFortran10.1.024em64tin and C:Program FilesIntelCompilerFortran10.1.024ia32in .

I've tried inserting $(IFORT_COMPILER101)IA32lib (have I got the right Compiler number?) in VC++ Directories, as suggested in one of the forum posts for the same error under IVF9.0, but it doesn't make any difference. Temporarily I'm stumped and would appreciate some advice.

TIA John

0 Kudos
5 Replies
Steven_L_Intel1
Employee
748 Views
$(IFORT_COMPILER10)IA32LIB

is what you want. Not 101, and no slash preceding IA32. I assume that you are building an application with a C/C++ main program.
0 Kudos
john_humble1
Beginner
748 Views

Thanks Steve. Unfortunately, making that correction hasn't fixed the problem.

I'm not (at least not knowingly) trying to build a C/C++ application. I'm trying to port a suite of working Fortran programs, which have been working satisfactorily in CVF for the past five years, to IVF underMSVS 2005 Standard Edition.

The CVF6.5came associated with the then(~2002) current version of MSVS. The book "Working with Microsoft Visual Studio 2005" distributed with the 2005 StandardEdition doesn't help much in the early stages of learning how to use VS 2005, which has a considerably different look and feel to the earlier version (in which I was never remotely expert anyway).

I guess I'm really trying to say that I'm not sure at this stage what question I should be asking. Is there, somewhere, a publically available simplerecipe for getting Hello World to compile in F90, build and run under the current system, or do you have some other pointer you could suggest?

Is it relevant that MSVS Documentation Help on my PC shows languages C#, C++, HTML, J#, JScript, VBScript, Visual Basic and XML, but no sign of Fortran? I can't decide whether or not thismeans that somehow the integration of IVF into MSVS may have not been completed.

TIA John

0 Kudos
Steven_L_Intel1
Employee
748 Views
The MSVS documentation will not show Fortran. Do Help..About. You should see Intel Fortran listed under "Installed Products".

Have you read this white paper on porting from CVF? The compiler's Getting Started manual (on-disk) leads you through a simple project. It isn't really any different from CVF in this regard. The Intel Fortran documentation does have a chapter on using Visual Studio.

After you've looked at these, if you still have problems, let us know here and we'll help you out.
0 Kudos
john_humble1
Beginner
748 Views

Thanks again Steve. I'd seen the White Paper but, probably because someone else in the organisation bought IVFfor me as a download, I'd not discovered the more extensive documentation on the Intel site. I've now found it and will work my way through it.

cheers John

0 Kudos
Steven_L_Intel1
Employee
748 Views
The "more extensive documentation on the Intel site" is a duplicate of what is installed with the product. You can get to it from Help in Visual Studio, or through the Start menu item for the compiler.
0 Kudos
Reply