- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
11 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
There is not separate documentation for error messages. All messages have full text that is supposed to be descriptive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
I installed the Visual C++ 2005 Express Edition, but the message didn't change.
Eryk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
You don't need the "/link" in that command. You can give a library name to the ifort command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
The install message is trying to tell you that the Visual Studio graphical IDE integration is not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I can download from CERN the free source of the packlib.lib, but how one can compile/build the library from this???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page