mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Libz dependency
This commit is contained in:
parent
a16b1e134e
commit
0494feec98
@ -184,6 +184,10 @@ AC_SEARCH_LIBS([limeCreateReader], [lime],
|
|||||||
In order to use ILGG file format please install or provide the correct path to your installation
|
In order to use ILGG file format please install or provide the correct path to your installation
|
||||||
Info at: http://usqcd.jlab.org/usqcd-docs/c-lime/)])
|
Info at: http://usqcd.jlab.org/usqcd-docs/c-lime/)])
|
||||||
|
|
||||||
|
AC_SEARCH_LIBS([crc32], [z],
|
||||||
|
[AC_DEFINE([HAVE_ZLIB], [1], [Define to 1 if you have the `LIBZ' library])]
|
||||||
|
[have_zlib=true],
|
||||||
|
[AC_MSG_ERROR(zlib library was not found in your system.)])
|
||||||
|
|
||||||
AC_SEARCH_LIBS([H5Fopen], [hdf5_cpp],
|
AC_SEARCH_LIBS([H5Fopen], [hdf5_cpp],
|
||||||
[AC_DEFINE([HAVE_HDF5], [1], [Define to 1 if you have the `HDF5' library])]
|
[AC_DEFINE([HAVE_HDF5], [1], [Define to 1 if you have the `HDF5' library])]
|
||||||
|
@ -379,6 +379,9 @@ class IldgIO : public BinaryIO {
|
|||||||
assert( scidac_csuma ==FieldMetaData_.scidac_checksuma);
|
assert( scidac_csuma ==FieldMetaData_.scidac_checksuma);
|
||||||
assert( scidac_csumb ==FieldMetaData_.scidac_checksumb);
|
assert( scidac_csumb ==FieldMetaData_.scidac_checksumb);
|
||||||
std::cout << GridLogMessage<<"SciDAC checksums match " << std::endl;
|
std::cout << GridLogMessage<<"SciDAC checksums match " << std::endl;
|
||||||
|
} else {
|
||||||
|
std::cout << GridLogWarning<<"SciDAC checksums not found. This is unsafe. " << std::endl;
|
||||||
|
//Could choose to fail ?
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( found_FieldMetaData || found_usqcdInfo ) {
|
if ( found_FieldMetaData || found_usqcdInfo ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user