- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running Fortran 2021.7.1 with oneAPI and Visual Studio 2022. I want to use HDF5 2.1.0.
I think I can put file names from HDF5 into QWin Property Pages. Which file names do I need ?
Do I need a more recent Fortran version ?
Kind regards,
Knut Eldhuset
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you explain in more detail what you want to do, what you have tried, and what goes wrong? HDF5 is just a file format - Intel Fortran and Quickwin doesn't know anything about it, nor should it. If you're looking to do file selection, then you may want to look at the filename filter component of the GETOPENFILENAME structure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve
Thanks for your reply. I try to explain.
I want to read NISAR (JPL/NASA - ISRO) data on HDF5 file format.
ChatGPT has told me following:
In QWin1 Property Pages:
In Fortran - General - Additional Include Directories: Put C:\Program Files\HDF5\2.1.0\include and C:\ProgramFiles\HDF5\2.1.0\mod\shared
In Linker - Input -Additional Dependencies : Put C:\Program Files\HDF_Group\HDF5\2.1.0\lib\hdf5.lib and
C:\Program Files\HDF_Group\HDF5\2.1.0\lib\hdf5_fortran.lib
Then I take Build - BuildQWin1
I then get: error#7012: The module file cannot be read. Its format requires a more recent F90.
My question is: Has ChatGPT told me the correct input files. Or do I need a more recent Fortran version ?
Kind regards Knut
Norwegian Defence Research Establishment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a .mod file in the HDF5 \mod\shared folder that is not in the format expected by the compiler. It could be that it was compiled for a 32-bit compiler and the current Intel Fortran is 64-bit only. If the .f90 source for the module(s) is available, you can just add those source files to your project.
If you'll provide a link to where you downloaded HDF5 I can take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve
hdf5-2.1.0-win-vs2022_intel.msi
The installation files I use:
one_w_BaseKit_p_2022.2.0.252
one_HPCKit_p_2022.3.1.19755
I think I use 64-bit compiler
I try to compile again when you have looked at this.
Regards ,
Knut
PS. I have tried to read NISAR HDF5 SLC (complex pixels) file with IDL, however, it is hanging, 24GB data file. The metafile is OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just tried it - no issue with the modules and I did not get the error you did. The library and modules are indeed 64-bit. I could compile all the sources of one of the examples.
If you have problems running a program using the library, we can't help with that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rubenquantum
Sorry, I cant help you
Regards Knut
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page