How far in the program does it get before it segfaults? Can you post the output 
from the program?

I tried a sample program on Windows 10, Intel 17, and HDF5 1.8.17, but I’m 
having issues with the HDF5 Fortran parameters not getting set when building 
the program inside Visual Studio. Can you verify the HDF5 parameters, such as 
H5T_NATIVE_INTEGER, are getting set.

I tried replacing one of the fortran examples in the source with your code and 
then compiled it with cmake. The program did not segfault and completed as 
expected.

Thanks,
Scot

> On Oct 26, 2016, at 1:05 PM, Michael Jackson <[email protected]> 
> wrote:
> 
> I have been trying to figure out an error that we are getting using the HDF5 
> library for a fairly simple program. The original error started out in our 
> project but we have been able to narrow it down to this sample. Here is the 
> setup:
> 
> Windows 10 x64, Intel Fortran v17.20160721, Visual Studio 2013 SP5, CMake 
> 3.5.1 and NMake files
> 
> We have built HDF5 1.8.15 with STATIC libraries, High Level, CPP and FORTRAN 
> interfaces.
> 
> Both our code and HDF5 were built as Debug in one folder and Release in 
> another. Neither version will execute correctly.
> 
> We then try to use CMake (not sure if this matters at all) to compile and run 
> a simple program using pure HDF5 calls (versus some higher level functions 
> that we had written earlier). When we execute the program we get the 
> following runtime error:
> 
> forrtl: severe (170): Program Exception - stack overflow
> and then a stack trace but the stack does not show anything except a bunch of 
> "unknown" files and line numbers.
> 
> The code will be included below. The same code also had issues on OS X when 
> we linked against an intermediate dynamic library but we fixed that issue. 
> This makes me think that maybe we are mixing libraries maybe? Debug and 
> Release?
> 
> Has anyone else had issues with the Intel Fortran compiler on Windows and 
> HDF5? We can not use GFORTRAN because there isn't a new enough version 
> available for Windows (we need GFortran 5.2 or newer).
> -- 
> Michael A. Jackson              400 S. Pioneer Blvd
> Owner, President                Springboro, Ohio 45066
> BlueQuartz Software, LLC        EMail: [email protected]
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to