What version of CGNS are you using?  Did you test the install with make test, 
because most of the Fortran tests do exactly what you are doing. What compiler 
and platform are you using?
I’ve not seen this error before and it seems very odd. If you have a program 
with just that write statement (or put that write statement first before all 
the CGNS calls) does it still hang?

A small program which exhibits the problem would help.

Thanks,
Scot



On Jun 3, 2015, at 1:10 PM, Mancini, Alessandro 
<[email protected]<mailto:[email protected]>> wrote:

Hi everybody,

I am not completely sure that the problem I’m experiencing is due to the HDF5 
library, but after some tests I am quite confident it is.
I am working with a CFD code developed in Fortran and I’m using the CGNS 
library for input/output purposes. I was working with the ADF format, and then 
decided to adopt the HDF5 for compatibility with other tools. I compiled the 
libcgns.a with the --with-hdf5 flag and linked my code against libcgns.a, 
libhdf5.a and libz.a.

The problem is that now the code hangs when I try to write a string with:

Write(string,’(i4)’) integer_var

Or

Write(string,’(a)’) other_string

This doesn’t happen when using the ADF version of the library. I also tried to 
link the code with the shared versions, libcgns.so and libhdf.so (libz is no 
more required in this case), but it still hangs. Of course, editing the strings 
is mandatory in my code and I have no other way to do it.

Does anyone have a clue about what the problem could be?

Thanks in advance.

Alessandro
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]<mailto:[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