Thursday, January 28, 2010

Some tips of Amber10 installation on Mac OS X 10.6 with GNU compilers

The question was whether or not Amber10 is compatible with Mac OS X 10.6, Jason's answer from the Amber reflector mailing list is very sufficient:

Amber10 should work on Snow Leopard (as well as ambertools 1.3).However, you should make sure that you have compatible compilers (i.e. a gfortran compiler that builds 64-bit binaries, that you can get either from MacPorts or hpc.sourceforge.net).
I just want to add some extra tips for people wondering the same questions:
  1. If you are using MacPorts, do what I did: install gcc44 and gcc_select and select mp-gcc44
  2. do whatever manual told you to do, but right after the configure scripts (e.g. ./configure_amber or ./configure_at), get rid of every '-m32' from the config_amber.h and config.h files.
  3. After that you are good to go.