commit
9593c46c5d
|
@ -65,7 +65,6 @@
|
||||||
} while(0)
|
} while(0)
|
||||||
#else /* ! (H5_VERS_MAJOR > 1 && H5_VERS_MINOR > 6) */
|
#else /* ! (H5_VERS_MAJOR > 1 && H5_VERS_MINOR > 6) */
|
||||||
#define HDF5_CHECK(HDF5_RETURN, MSG) do { \
|
#define HDF5_CHECK(HDF5_RETURN, MSG) do { \
|
||||||
char resultString[1024]; \
|
|
||||||
\
|
\
|
||||||
if (HDF5_RETURN < 0) { \
|
if (HDF5_RETURN < 0) { \
|
||||||
fprintf(stdout, "** error **\n"); \
|
fprintf(stdout, "** error **\n"); \
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
* NCMPI_CHECK will display a custom error message and then exit the program
|
* NCMPI_CHECK will display a custom error message and then exit the program
|
||||||
*/
|
*/
|
||||||
#define NCMPI_CHECK(NCMPI_RETURN, MSG) do { \
|
#define NCMPI_CHECK(NCMPI_RETURN, MSG) do { \
|
||||||
char resultString[1024]; \
|
|
||||||
\
|
\
|
||||||
if (NCMPI_RETURN < 0) { \
|
if (NCMPI_RETURN < 0) { \
|
||||||
fprintf(stdout, "** error **\n"); \
|
fprintf(stdout, "** error **\n"); \
|
||||||
|
|
|
@ -202,8 +202,8 @@ void ExtractHint(char *settingVal, char *valueVal, char *hintString)
|
||||||
{
|
{
|
||||||
char *settingPtr, *valuePtr, *tmpPtr1, *tmpPtr2;
|
char *settingPtr, *valuePtr, *tmpPtr1, *tmpPtr2;
|
||||||
|
|
||||||
settingPtr = (char *)strtok(hintString, "=");
|
settingPtr = (char *)strtok(hintString, " =");
|
||||||
valuePtr = (char *)strtok(NULL, " \t\r\n");
|
valuePtr = (char *)strtok(NULL, " =\t\r\n");
|
||||||
tmpPtr1 = settingPtr;
|
tmpPtr1 = settingPtr;
|
||||||
tmpPtr2 = (char *)strstr(settingPtr, "IOR_HINT__MPI__");
|
tmpPtr2 = (char *)strstr(settingPtr, "IOR_HINT__MPI__");
|
||||||
if (tmpPtr1 == tmpPtr2) {
|
if (tmpPtr1 == tmpPtr2) {
|
||||||
|
|
Loading…
Reference in New Issue