[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo] compilation on AIX--solved?
From: |
Xinghua Shi |
Subject: |
Re: [ESPResSo] compilation on AIX--solved? |
Date: |
Wed, 16 Jan 2008 10:28:23 -0500 |
Hi Axel and guys,
Since the fftw libraries in the AIX system (/usr/local/lib) and my
pre-compiled fftw (/Home5/hpc/hpc0611/code/fftw3-64/lib) did not work
in the compiling of Espresso, I recompiled fftw3 with the following
steps:
setenv CC "xlc_r -q64"
setenv MPICC "mpcc_r -q64"
setenv OBJECT_MODE 64
setenv CFLAGS "-O3 -qarch=pwr5 -qtune=pwr5 -qansialias -w"
setenv FFLAGS "-O3 -qarch=pwr5 -qtune=pwr5 -qansialias -qstrict -w"
./configure --prefix=/Home5/hpc/hpc0611/code/fftw3-64 --disable-float
--enable-static --enable-64bit
make
make install
then compile Espresso with
./configure --host=Power5-ibm-aix5.2 CFLAGS=-q64
CPPFLAGS="-I/Home5/hpc/hpc0611/code/tcl/include
-I/Home5/hpc/hpc0611/code/fftw3-64/include"
LDFLAGS="-L/Home5/hpc/hpc0611/code/tcl/lib
-L/Home5/hpc/hpc0611/code/fftw3-64/lib" --with-tcl=tcl8.4
--with-fftw=3 --prefix=/Home5/hpc/hpc0611/code/dpd CC=mpCC LIBS="-lm"
make
make install
It works!
But I still doubt why my pre-compiled fftw did not work.....
Xinghua
On 1/16/08, Axel Arnold <address@hidden> wrote:
> Am Dienstag 15 Januar 2008 20:56 schrieben Sie:
> > Hi all,
> >
> > Many thanks to Axel. Following Axel's instruction I recompiled the
> > Tcl8.4 with --disable-shared (if I use --disable-load, there is error
> > in the compiling) and the file libtcl8.4.a was successfully created.
> > Still I have a question. Since we didn't specify the fftw library, so
> > fftw actually didn't been used in the compiling, am I right? What we
> > need to do is to copy the fftw libraries here from elsewhere (just as
> > described in the manual), is that true?
> Hi,
>
> according to your first mail, you specified the directory where you compiled
> the FFTW for the configure script. As far as I know, FFTW always builds the
> static variant, i.e. libfftw3.a. Therefore, Espresso should automatically use
> it - and would tell so. If it doesn't find the FFTW, then I need to look into
> the obj-Pwoer5mpi-ibm-aix/config.log to see why not.
>
> Axel
>
> --
> Dr. Axel Arnold
> Fraunhofer Institute for Algorithms and Scientific Computing (SCAI)
> Schloss Birlinghoven
> 53754 Sankt Augustin
> Germany
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [ESPResSo] compilation on AIX--solved?,
Xinghua Shi <=