summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-10-23 19:24:25 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-10-23 19:24:25 (GMT)
commit8999dd751dc2995790f3aa3ee08bcb0cb5720a12 (patch)
tree129b7742551e6cd58b6f98c476f8772f8c202795 /src
parenta90330d723fde1af85625809eeea53a199c14775 (diff)
downloadhdf5-8999dd751dc2995790f3aa3ee08bcb0cb5720a12.zip
hdf5-8999dd751dc2995790f3aa3ee08bcb0cb5720a12.tar.gz
hdf5-8999dd751dc2995790f3aa3ee08bcb0cb5720a12.tar.bz2
[svn-r6023] Purpose:
Feature Add Description: Added some error messages for the Flexible Parallel HDF5 stuff. Platforms tested: Arabica Eirene Modi4
Diffstat (limited to 'src')
-rw-r--r--src/H5E.c25
-rw-r--r--src/H5Epublic.h46
2 files changed, 48 insertions, 23 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 8be524e..321a58b 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -1,7 +1,18 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
/*
- * Copyright (C) 1998-2001 NCSA HDF
- * All rights reserved.
- *
* Purpose: Provides error handling in the form of a stack. The
* FUNC_ENTER() macro clears the error stack whenever an API
* function is entered. When an error is detected, an entry is
@@ -60,6 +71,7 @@ static const H5E_major_mesg_t H5E_major_mesg_g[] = {
{H5E_REFERENCE, "References layer"},
{H5E_VFL, "Virtual File Layer"},
{H5E_TBBT, "Threaded, Balanced, Binary Trees"},
+ {H5E_FPHDF5, "Flexible Parallel HDF5"},
};
static const H5E_minor_mesg_t H5E_minor_mesg_g[] = {
@@ -153,7 +165,12 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = {
/* Parallel MPI errors */
{H5E_MPI, "Some MPI function failed"},
- {H5E_MPIERRSTR, "MPI Error String"}
+ {H5E_MPIERRSTR, "MPI Error String"},
+
+ /* FPHDF5 errors */
+ {H5E_CANTMAKETREE, "Can't create a binary tree node"},
+ {H5E_CANTRECV, "Can't receive messages from processes"},
+ {H5E_CANTSENDMDATA, "Can't send metadata message"}
};
/* Interface initialization? */
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index 2227285..ef44f3a 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -1,14 +1,16 @@
-/****************************************************************************
- * NCSA HDF *
- * Software Development Group *
- * National Center for Supercomputing Applications *
- * University of Illinois at Urbana-Champaign *
- * 605 E. Springfield, Champaign IL 61820 *
- * *
- * For conditions of distribution and use, see the accompanying *
- * hdf/COPYING file. *
- * *
- ****************************************************************************/
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This file contains public declarations for the H5E module.
@@ -98,7 +100,8 @@ typedef enum H5E_major_t {
H5E_EFL, /*External file list */
H5E_REFERENCE, /*References */
H5E_VFL, /*Virtual File Layer */
- H5E_TBBT /*Threaded, Balanced, Binary Trees */
+ H5E_TBBT, /*Threaded, Balanced, Binary Trees */
+ H5E_FPHDF5 /*Flexible Parallel HDF5 */
} H5E_major_t;
/* Declare an enumerated type which holds all the valid minor HDF error codes */
@@ -179,21 +182,26 @@ typedef enum H5E_minor_t {
H5E_SLINK, /*symbolic link error */
/* Datatype conversion errors */
- H5E_CANTCONVERT, /*Can't convert datatypes */
- H5E_BADSIZE, /*Bad size for object */
+ H5E_CANTCONVERT, /*Can't convert datatypes */
+ H5E_BADSIZE, /*Bad size for object */
/* Dataspace errors */
- H5E_CANTCLIP, /*Can't clip hyperslab region */
- H5E_CANTCOUNT, /*Can't count elements */
+ H5E_CANTCLIP, /*Can't clip hyperslab region */
+ H5E_CANTCOUNT, /*Can't count elements */
/* Property list errors */
- H5E_CANTGET, /*Can't get value */
- H5E_CANTSET, /*Can't set value */
+ H5E_CANTGET, /*Can't get value */
+ H5E_CANTSET, /*Can't set value */
H5E_DUPCLASS, /*Duplicate class name in parent class */
/* Parallel errors */
H5E_MPI, /*some MPI function failed */
- H5E_MPIERRSTR /*MPI Error String */
+ H5E_MPIERRSTR, /*MPI Error String */
+
+ /* FPHDF5 errors */
+ H5E_CANTMAKETREE, /*can't make a TBBT tree */
+ H5E_CANTRECV, /*can't receive messages from processes */
+ H5E_CANTSENDMDATA /*can't send metadata message */
} H5E_minor_t;
/* Information about an error */