[CP2K:923] Re: CP2K compilation on p5series AIX 5.3

Teodoro Laino teodor... at gmail.com
Tue Apr 8 06:02:01 UTC 2008


I have no idea which arch file you're pasting.. but if you have a  
look at AIX-PowerPC_POWER5.popt this is how it looks like in the  
repository:

------------------------------------------------------------------------ 
----------------------------------------------------
SCALAPACK= /usr/local++/SCALAPACK/pwr5/
LAPACK   = /afs/caspur.it/user/s/simonem/LAPACK
FFTW3    = /usr/local++/FFTW/fftw-3.1.2/lib
AIX_INC  = /usr/local++/FFTW/fftw-3.1.2/include
CC       = cc
CPP      = /usr/ccs/lib/cpp
FC       = mpxlf95_r -qsuffix=f=f90
LD       = mpxlf95_r
AR       = ar -r -X64
DFLAGS   = -D__AIX -D__ESSL -D__FFTSG -D__FFTESSL -D__FFTW3 \
            -D__parallel -D__BLACS -D__SCALAPACK
CPPFLAGS = -C $(DFLAGS) -P -I$(AIX_INC)
FCFLAGS  = -O2 -q64 -qarch=pwr5 -qcache=auto -qmaxmem=-1 -qtune=pwr5
FCFLAGS2 = -O0 -q64 -qarch=pwr5 -qcache=auto -qmaxmem=-1 -qtune=pwr5
LDFLAGS  = $(FCFLAGS) -L$(LAPACK) -L$(SCALAPACK) -L$(FFTW3) \
            -bnoquiet -bmaxdata:0x800000000  -bmaxstack:0x80000000
LIBS     = -lscalapack -lblacssmp -llapack_pwr5 -lpesslsmp -lesslsmp - 
lfftw3 -lmass -lhm

OBJECTS_ARCHITECTURE = machine_aix.o

pint_types.o: pint_types.F
         $(FC) -c $(FCFLAGS2) $<
------------------------------------------------------------------------ 
----------------------------------------------------

So either you have a prehistoric cvs tree or you modified it by hand.
So the standard arch file in the repository for POWER5/AIX works  
perfectly for XLF V10.1 series.

Teo

On 7 Apr 2008, at 17:39, CompilationAIX wrote:

> Very strange you're right, in fact FCFLAGS is defined like that in the
> archive (not modified by me).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20080408/ed86afcf/attachment.htm>


More information about the CP2K-user mailing list