Commit fd1c081a authored by Marina Nikolova's avatar Marina Nikolova
Browse files

Upload New File

parent 582a5ea6
XDS plugin for fast reading of cbf.gz files.
The plugin eliminates the need for multiple file system accesses by way of direct calls to zlib.
Please, note that XDS itself does read cbf.gz files also without this plugin.
To run a March, 2019 or a later XDS version is required.
To use a LIB=/path-to-lib/ line is needed in XDS.INP.
cmake 2.8 or higher
g++ 5.4.0 or higher
zlib (
apt-get install zlib1g-dev
yum install zlib-devel
cbflib (
apt-get install libcbf-dev
yum install CBFlib-devel
To build:
mkdir build
cd build
cmake ..
The xds-zcbf plugin can be found in the build directory.
To force debug printouts during run, in cmake step above use instead:
cmake -DCMAKE_BUILD_TYPE=Debug ..
Possible problems:
CBFlib might need libhdf5 depending on platform/version. To make sure no dependencies are missing run:
No 'not found' should be there. An update to the shared library cache (ldconfig) or to LD_LIBRARY_PATH might be needed if something shown as dependency is installed but nevertheless 'not found'.
I wish to acknowledge google and its address sanitizer for infallibly saving from armagedon the poor souls lacking the propensity to write bug-free code!
Gleb Bourenkov is credited with extensively testing the software, crashing it, and providing indispensable insights along every step of the way. The idea to speed up XDS reading of gzipped files is also his.
The XDS 'plugin' method of reading 'random' file formats was started by DECTRIS and the XDS authors. The latter were incredibly helpful in updating XDS to make this method usable also for non-hdf5 files.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment