HI ALL: I have a program: it will create 10 threads to read and write 10 file at same time. You can see the attachment that include the source code. Sometimes ,it work will.But , it alway report "section error". Thank you for any advice. My enviroment: linux ubuntu 9.0. HDF:hdf5-1.8.5-linux-staticHdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
HI ALL:
I have a program: it will create 10 threads to read and write 10 file at same time. You can see the attachment that include the source code.
Sometimes ,it work will.But , it alway report "section error".
Thank you for any advice.
My enviroment: linux ubuntu 9.0.
HDF:hdf5-1.8.5-linux-static
Hdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Are you using a version of the HDF5 library that has been built with the "--enable-threadsafe" configure flag?
HI Quincey Koziol:
Thank you for your help.Today , I have resolve this problem through --enable-threadsafe. But I found , the --enable-threadsafe is incompatilbe --enable-cxx in IA 64-LINUX-SYSTEM. but it good for linux-32bit. So,I write C program for IA64-linux-SYSTEM.
Hi,
On Jul 4, 2010, at 1:08 AM, 张廼强 wrote:
HI ALL: I have a program: it will create 10 threads to read and write 10 file at same time. You can see the attachment that include the source code. Sometimes ,it work will.But , it alway report "section error". Thank you for any advice. My enviroment: linux ubuntu 9.0. HDF:hdf5-1.8.5-linux-staticHdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Are you using a version of the HDF5 library that has been built with the "--enable-threadsafe" configure flag?
Quincey