Thursday 29 October 2009

Bug in CCP4/diffdump with RAXIS on 64 bit

A bug has been identified in diffdump from CCP4, which came from xia2 and is mostly used therein, when compiled on 64 bit. In particular, in

lib/DiffractionImage/Rigaku/RaxisImage.h, after

  // This routine assumes that the size of a long is 4 bytes.

change long to int32_t (sed 's/long/int32_t/g') in RaxisImage.h and
ReadRAXISImages.cpp

Thanks to Takaaki Fukami for pointing this one out. If you use precompiled binaries (32 bit) on the 64 bit system everything should be fine.

No comments: