Sometimes, one run into the problems associated with C/C++ compilers, and a lot of time, this can be resolved by using native compilers, i.e.,
export CC=clang export CXX=clang++
for example, when installing python on mac from source code, this resolves the compilation error.
For CCTBX or SASTBX, it can be useful too.
and sometimes, the following trick does the work:
python ../source/cctbx_src/libtbx/configure.py --compiler=clang -r ../source/ sastbx
To set environment flags for the compiler, use export CFLAGS=… export LDFLAGS=…
and in order to make this effective during cctbx compilation, it is necessary to run configuration.py as the following:
python /path/to/libtbx/configuration.py --use-environment-flags
“everything that is living can be understood in terms of the jiggling and wiggling of atoms”.
and now, we want to watch atoms jiggling and wiggling.
X-rays, electrons, fluorescence light, the advances of photon sciences, together with computational modeling, are making this happen.