- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am building HDF5 DLL fortran libraries with intel fortran integration with visual c++ .Net 2003. All of the static library can be built with intel fortran sucessfully. But when I am trying to build DLL fortran libraries, the following warnings happened:
ifort: Command line warning: unrecognized source type 'BUILD_HDF5_DLL'; object file assumed
Although it says the library was built sucessfully, there is not library file created at all.
Anybody can help? Thanks a lot!
Fang
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you sure you have named your library correctly it looks as if it should be called
BUILD_HDF5.DLL rather than
BUILD_HDF5_DLL
Without the extension .DLL it would seem unlikely that it would be recognised as a DLL or possibly that the linker would expect to find a file called BUILD_HDF5_DLL.DLL which I presume doesn't exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would never have a DLL on the ifort command line, anyway, except as an output file specification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you twoso much for your quickresponse.
I found the problem. I put BUILD_HDF5_DLL in the intel fortranpreprocessor definitions. I think intel fortran can not recognize space as a delimiter between symbols. I replace the space with semicolon, it works when I build the release version. But when I build the debug version, it crashed with a window poped up. The error message said:
Run time Error!
Program Microsoft../../devenv.exe
Program Microsoft../../devenv.exe
Looking forward to help!
Fang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The delimiter issue is a change in VS.NET - has nothing to do with the compiler.
There's not enough information to help with the VS.NET failure. Perhaps you should submit this to Intel Premier Support with a ZIP file of your project.
There's not enough information to help with the VS.NET failure. Perhaps you should submit this to Intel Premier Support with a ZIP file of your project.

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