LLNL / Silo

Mesh and Field I/O Library and Scientific Database
https://silo.llnl.gov
Other
30 stars 24 forks source link

build failure in hdf5_drv with 4.11 #303

Closed gregfi closed 1 year ago

gregfi commented 1 year ago

I receive the following build error with Intel compilers (19.0.0.117 20180804) in hdf5_drv when trying to compile against HDF5 Version 1.12.1. Does anyone know the issue?

Making all in hdf5_drv
make[4]: Entering directory '/local/fischega/silo/build/src/hdf5_drv'
/bin/sh ../../libtool  --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I. -I../../../silo-4.11-bsd/src/hdf5_drv -I../..  -I./../silo -I../../../silo-4.11-bsd/src/hdf5_drv/../silo   -DH5_HAVE_FILTER_ZFP -DH5Z_ZFP_AS_LIB -DAS_SILO_BUILTIN -I../../../silo-4.11-bsd/src/hdf5_drv/../zfp-0.5.5/include -I/tools/hdf5-1.12.1/serial/include   -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdeclaration-after-statement -MT H5FDsilo.lo -MD -MP -MF .deps/H5FDsilo.Tpo -c -o H5FDsilo.lo ../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c
libtool: compile:  icc -DHAVE_CONFIG_H -I. -I../../../silo-4.11-bsd/src/hdf5_drv -I../.. -I./../silo -I../../../silo-4.11-bsd/src/hdf5_drv/../silo -DH5_HAVE_FILTER_ZFP -DH5Z_ZFP_AS_LIB -DAS_SILO_BUILTIN -I../../../silo-4.11-bsd/src/hdf5_drv/../zfp-0.5.5/include -I/tools/hdf5-1.12.1/serial/include -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdeclaration-after-statement -MT H5FDsilo.lo -MD -MP -MF .deps/H5FDsilo.Tpo -c ../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c -o H5FDsilo.o
../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(500): warning #1224: #warning directive: REMOVE ME
  #warning REMOVE ME
   ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(848): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "addr undefined", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(850): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "addr overflow", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(856): error: expected a ";"
              H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_SEEKERROR, "HDlseek failed", -1, errno)
              ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(868): error: expected a ";"
              H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_WRITEERROR, "HDwrite failed", -1, errno)
              ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(907): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "addr undefined", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(909): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "addr overflow", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(915): error: expected a ";"
              H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_IO, H5E_SEEKERROR, "HDlseek failed", -1, errno)
              ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(927): error: expected a ";"
              H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_IO, H5E_READERROR, "HDread failed", -1, errno)
              ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(971): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_WRITEERROR, "file_write_block failed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1010): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_READERROR, "file_read_block failed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1220): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_BADTYPE, "not a file access property list", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1223): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTINSERT, "can't insert " SILO_BLKSZ_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1225): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTINSERT, "can't insert " SILO_BLKCNT_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1227): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTINSERT, "can't insert " SILO_LOGSTS_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1229): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTINSERT, "can't insert " SILO_USEDIR_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1232): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set " SILO_BLKSZ_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1234): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set " SILO_BLKCNT_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1236): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set " SILO_LOGSTS_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1238): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set " SILO_USEDIR_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1253): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_BADTYPE, "not a file access property list", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1255): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set silo_block_size", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1257): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set silo_block_count", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1272): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_BADTYPE, "not a file access property list", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1274): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set silo_log_stats", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1289): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_BADTYPE, "not a file access property list", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1291): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTSET, "can't set " SILO_USEDIR_PROPNAME, -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1360): error: expected a ";"
      return 0;
      ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1388): error: expected a ";"
      buf += 8;
      ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1394): error: expected a ";"
      ap = (hsize_t*)x;
      ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1458): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_ARGS, H5E_BADVALUE, "invalid file name", NULL, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1460): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_ARGS, H5E_BADRANGE, "bogus maxaddr", NULL, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1462): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_ARGS, H5E_OVERFLOW, "maxaddr too large", NULL, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1466): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTGET, "can't get " SILO_BLKSZ_PROPNAME, 0, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1469): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTGET, "can't get " SILO_BLKCNT_PROPNAME, 0, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1471): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTGET, "silo_block_count<1", 0, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1474): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTGET, "can't get " SILO_LOGSTS_PROPNAME, 0, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1476): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTGET, "can't get " SILO_USEDIR_PROPNAME, 0, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1494): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_IO, H5E_CANTOPENFILE, "HDopen failed", NULL, errno)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1499): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_FILE, H5E_BADFILE, "HDfstat failed", NULL, errno)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1509): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_RESOURCE, H5E_NOSPACE, "calloc failed", NULL, errno)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1515): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_RESOURCE, H5E_NOSPACE, "calloc failed", NULL, errno)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1535): error: expected a ";"
              H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_RESOURCE, H5E_NOSPACE, "malloc failed", NULL, errno)
              ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1618): error: expected a ";"
          H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_IO, H5E_CLOSEERROR, "close failed", -1, errno)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(1981): warning #1224: #warning directive: TAKE ADVANTAGE OF TYPE INFO HERE
  #warning TAKE ADVANTAGE OF TYPE INFO HERE
   ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2067): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "file address overflowed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2069): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "file address overflowed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2071): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "file address overflowed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2198): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "file address overflowed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2200): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "file address overflowed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2202): error: expected a ";"
          H5E_PUSH_HELPER (func, H5E_ERR_CLS, H5E_IO, H5E_OVERFLOW, "file address overflowed", -1, -1)
          ^

../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c(2342): error: expected a ";"
              H5E_PUSH_HELPER(func, H5E_ERR_CLS, H5E_IO, H5E_SEEKERROR, "HDftruncate failed", -1, errno)
              ^

compilation aborted for ../../../silo-4.11-bsd/src/hdf5_drv/H5FDsilo.c (code 2)
Makefile:505: recipe for target 'H5FDsilo.lo' failed
make[4]: *** [H5FDsilo.lo] Error 1
make[4]: Leaving directory '/local/fischega/silo/build/src/hdf5_drv'
markcmiller86 commented 1 year ago

Thanks for the report. These are failing due to change in semi-colon termination of internal HDF5 error macros. Was fixed on the 4.11RC in https://github.com/LLNL/Silo/pull/227/files and on main in https://github.com/LLNL/Silo/pull/230