NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
Hi, Ed, The default is on--it intends to help "beginners". So, you need to turn it off per run via H5Eset_auto(). It is also possible for third party libraries (e.g., netCDF) to turn it off during the setup stage if they feel their users do not need the automatic error messages. At 08:10 AM 12/29/2003, you wrote:
Hello HDF5 People! When I cause an HDF5 error get this kind of printout:HDF5-DIAG: Error detected in HDF5 library version: 1.6.1 thread 0. Back trace follows.#000: H5F.c line 2357 in H5Fcreate(): unable to create file major(04): File interface minor(15): Unable to open file #001: H5F.c line 1914 in H5F_open(): unable to open file major(04): File interface minor(15): Unable to open file #002: H5FD.c line 830 in H5FD_open(): open failed major(22): Virtual File Layer minor(27): Unable to initialize object #003: H5FDsec2.c line 321 in H5FD_sec2_open(): unable to open file major(04): File interface minor(15): Unable to open file This has been very helpful to me, but I would like to turn it off. I see the H5Eset_auto() function, but I wonder if I really have to turn this off every time I use the HDF5 library? Or did I somehow turn this on by default when I built my copy of HDF5, and for other people it will be off by default? Thanks! Ed
-- Albert Cheng Scientific Data Technologies Group, NCSA 217-244-1955 voiceUniversity of Illinois at Urbana-Champaign 217-244-1987 fax
From owner-netcdf-hdf@xxxxxxxxxxxxxxxx 29 2003 Dec -0700 08:37:17
Message-ID: <wrxllovws7m.fsf@xxxxxxxxxxxxxxxxxxxxxxx> Date: 29 Dec 2003 08:37:17 -0700 From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx> In-Reply-To: <6.0.0.22.2.20031229084554.02e927d8@xxxxxxxxxxxxxxxxx> To: netcdf-hdf@xxxxxxxxxxxxxxxx Subject: Re: question for HDF5 programmers about automatic error printing... Received: (from majordo@localhost) by unidata.ucar.edu (UCAR/Unidata) id hBTFbIc5010928 for netcdf-hdf-out; Mon, 29 Dec 2003 08:37:18 -0700 (MST) Received: from rodney.unidata.ucar.edu (rodney.unidata.ucar.edu [128.117.140.88]) by unidata.ucar.edu (UCAR/Unidata) with ESMTP id hBTFbHp2010923 for <netcdf-hdf@xxxxxxxxxxxxxxxx>; Mon, 29 Dec 2003 08:37:18 -0700 (MST) Organization: UCAR/Unidata Keywords: 200312291537.hBTFbHp2010923 References: <wrxpte7ww7w.fsf@xxxxxxxxxxxxxxxxxxxxxxx> <6.0.0.22.2.20031229084554.02e927d8@xxxxxxxxxxxxxxxxx> Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-netcdf-hdf@xxxxxxxxxxxxxxxx Precedence: bulk Reply-To: netcdf-hdf@xxxxxxxxxxxxxxxx Albert Cheng <acheng@xxxxxxxxxxxxx> writes:
Hi, Ed, The default is on--it intends to help "beginners". So, you need to turn it off per run via H5Eset_auto(). It is also possible for third party libraries (e.g., netCDF) to turn it off during the setup stage if they feel their users do not need the automatic error messages.
Can you tell me more about turning it off during the setup stage? What do you mean by setup stage? Do you mean when HDF5 is first built? Or something else? Thanks! Ed
netcdf-hdf
archives: