[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo] compilation on AIX
From: |
Olaf Lenz |
Subject: |
Re: [ESPResSo] compilation on AIX |
Date: |
Wed, 26 Sep 2007 15:31:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
After I have done some tests myself, I can now give you detailed
instructions on how to compile ESPResSo on JUMP.
The first problem is to install Tcl correctly. The Tcl implementation
found in
/usr/local/beta/tcl
does not seem to work, therefore you'll have to compile it yourself.
However, this is pretty easy - when you know the right options to give
to the configure script. Here they are:
* unpack it
* configure it with
CC=xlc ./configure --prefix=$HOME/espresso --enable-64bit --disable-load
# Short description:
# CC=xlc set the right compiler
# --enable-64bit 64 bit mode
# --disable-load build static libraries
* compile it with
make
make install
Now you can compile ESPResSo:
* unpack it
* configure it
./configure \
--host=Power4mpi-ibm-aix \
CC=mpCC \
CFLAGS="-q64" \
CPPFLAGS="-I$HOME/espresso/include" \
LDFLAGS="-L$HOME/espresso/lib"
# Short description:
# --host=... cross-compile (to avoid tests that run compiled programs)
# CC=mpCC set the right compiler
# CPPFLAGS=... set the include path for Tcl
# LDFLAGS=... set the lib path for Tcl
* compile it:
make
on JUMP you can actually even use "make -j" which will build ES in 5
seconds.
I hope that works. In case of trouble, contact me.
Best regards
Olaf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG+l9KtQ3riQ3oo/oRAn/ZAJ4z5/7Au8caotQhm6g49eAw7nCegACgqmwI
YWtiRCwljI4hx7L2BHeVeoE=
=JpgX
-----END PGP SIGNATURE-----