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

error #10036

piasecki
Beginner
1,955 Views
Do anybody knows what the error code #10036 means?
I use the evaluation version of the Visual Fortran compiler. Where I can find the explanation od the error codes, or what is the compiler option giving more clear diagnostics?

Thank you
Eryk
0 Kudos
11 Replies
Steven_L_Intel1
Employee
1,955 Views
I assume that there is more to the message than simply a number. Please post the full output from your compile command, including the command itself.

There is not separate documentation for error messages. All messages have full text that is supposed to be descriptive.
0 Kudos
piasecki
Beginner
1,955 Views
You are right, there is also a message: unable to run 'Microsoft VC++ Dir>Bin'
I installed the Visual C++ 2005 Express Edition, but the message didn't change.

Eryk
0 Kudos
piasecki
Beginner
1,955 Views
Sorry, the command was:
ifort icare2paw.for /link packlib.lib
The library comes from the cernlib, Windows version.
Perhaps the command is wrong, this is the first time I use the ifort :)

Eryk
0 Kudos
Steven_L_Intel1
Employee
1,955 Views
Please uninstall and reinstall the Intel Fortran compiler. You must install Visual C++ before you install Intel Fortran.

You don't need the "/link" in that command. You can give a library name to the ifort command.
0 Kudos
piasecki
Beginner
1,955 Views
Thanks, it helped, but there are still some problems.
First, during the Fortran installation I got the message, that it did not find the Microsoft Visual Studio. I supposed that this is normal because I installed the evaluation version, so I continued.
Then, after the command:
ifort icare2paw.for packlib.lib
I got the message:
LINK: fatal error LNK1104: cannot open file 'dfor.lib'
What's the reason?

Eryk
0 Kudos
Steven_L_Intel1
Employee
1,955 Views
Ok. The reason for THAT message is that the packlib.lib you have was built with Compaq Visual Fortran. You will need to get one built with Intel Visual Fortran and use that instead. You cannot use object or libraries compiled with any other Fortran compiler with Intel Visual Fortran.

The install message is trying to tell you that the Visual Studio graphical IDE integration is not available.
0 Kudos
piasecki
Beginner
1,955 Views
OK, I can download from CERN the free source of the packlib.lib, but how one can compile/build the library from this???
0 Kudos
Steven_L_Intel1
Employee
1,955 Views
I suggest looking at any README or other instructions that accompany the library. In general you would do something like this:

ifort /c /libdir:noauto source1.f90
ifort /c /libdir:noauto source2.f90
ifort /c /libdir:noauto source3.f90
...
lib /out=mylib.lib source1.obj source2.obj source3.obj ...

The use of /libdir:noauto prevents adding default library directives to the compiled objects. Usually when building a static library this is what you want.

This library may require you to set up specific INCLUDE paths - I was not able to locate the sources for packlib to give you specific guidance.
0 Kudos
piasecki
Beginner
1,955 Views
The library is taken from:
http://cernlib.web.cern.ch/cernlib/version.html

From README one can see that:
"The installation has been made using Windows NT 4.0 and compilers
 f77: Digital Visual Fortran V5.0-594-3382R
C: Microsoft Visual C/C++ v.5.0 -
32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86"

The problem with your recipe is, that looking in the
src packlib contents
one can see that it consists from many thousands of files!
Doing this by hands looks pretty painfull...

Perhaps there is some better way?

Eryk
0 Kudos
Steven_L_Intel1
Employee
1,955 Views
Yes, this will require some effort on your part. The Windows precompiled version they have was compiled with Digital Visual Fortran 5.0. It cannot be used with any Fortran compiler other than DVF/CVF.
0 Kudos
Jeffrey_A_Intel
Employee
1,955 Views

Note this line in the README for the"PC Windows NT/95/98/2000/XP" release:

Last update: 13 September 2001

So this version is quite old (the READMEpage even has a link to www.compaq.com/fortran). For comparison, the latest Linux versions are from December 2006.

A brief look with Google didn't turn up anyone offering a version built with Intel Visual Fortran.

0 Kudos
Reply