Following what Marcin said, if you have a compiler other than gcc/gfortran
then I would definitely recommend compiling from source. Generally they
give much better performance and in addition there
might be optimised maths functions.


Adam







> One reason to compile refmac on Linux is that it can be faster.
> I've just run $CEXAM/unix/runnable/refmac5-simple.exam example
> with refmac from CCP4 6.3.0, from Garib's website and compiled with
> GCC 4.7.2 only with -O3 option (all are 64-bit versions).
> Running times were, correspondingly, 32.2s, 35.1s and 18.7s.
> I'd speculate that most of the difference was caused by different
> compiler version (GCC 4.7 vs 4.4). Times are avg of two runs, on i7
> (sandy bridge), Fedora 18.


> It's good for us if some users test new versions before they are in
> ccp4 release, so we try to make compilation of individual programs easy.
> If you like to try what's in bazaar repository, here is instruction
> http://devtools.fg.oisin.rc-harwell.ac.uk/
> I'm also putting repository snapshot here:
> http://devtools.fg.oisin.rc-harwell.ac.uk/nightly/ccp4-latest-source.tar.bz2
> with all programs/modules in a separate top-level directory.
> Have a look at the build-all.sh script there to see how it can be built.
> For example, in case of refmac, with $HOME local as installation dir,
> in mmdb and libccp4 subdirectories do:
> ./configure --prefix=$HOME/local && make install
> and in lapack and refmac directories:
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/local . && make install

> compiler options can be passed through env vars, e.g.
> export CFLAGS="-O2"
> export CXXFLAGS="-O2"
> export FFLAGS="-O2"

> Marcin

Reply via email to