Skip to Content.
Sympa Menu

forum - IBM sp3 compilation

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

IBM sp3 compilation


Chronological Thread 
  • From: luppi.eleonora@unimore.it
  • To: forum@abinit.org
  • Subject: IBM sp3 compilation
  • Date: Thu, 5 Jun 2003 10:49:21 +0200

Hi,
I've compiled (64 bit) Abinit on IBM sp4 machine, I think that something
could
be different, but I give the makefile_macros that I've used to compile.
Maybe it can be usefull ....
I put the option -64 also when I link, and I use this command
AR_COMMAND=ar -X64

These are the main differences.

Bye Leo

My makefile_macros:


# Machine type
MACHINE=ibm
# Fortran optimized compilation
FC=mpxlf90_r
FFLAGS=-O3 -qnolm -qarch=auto -qstrict -q64
MAIN_ROUTINE_FFLAGS=-qcharlen=16000 -q64
FFLAGS_LIBS=-O3 -qnolm -qarch=auto -qstrict -qfixed -q64
FLINK=-bloadmap:loadmap -q64 -bmaxdata:2048000000
# C preprocessor, used to preprocess the fortran source.
CPP=/usr/lib/cpp
CPP_FLAGS=-P
# C optimized compilation.
CC=mpcc
CFLAGS=-O
AR_COMMAND=ar -X64
# Location of perl . Used to generate the script fldiff, in ~ABINIT/Utilities
.
PERL=/usr/local/gnu/bin/perl
# Definition of libraries
BLAS=
#LIBS= $(LAPACK) -lblas
LIBS = -lessl -L/cineca/lib/ -llapack -lblas


####################################################################
# For the parallel version

# Location of the MPI library
# Location of directory with header files *.h for parallel version
_BASE=/usr/local/mpich
INCLUDE_PAR=$(_BASE)/include
FFLAGS_PAR=$(FFLAGS) -I$(INCLUDE_PAR)

# This is a last line in makefile_macros ----------



This is the makefile_macros you use:



> ###################################################################
> # Machine type
> MACHINE=ibm
> # Fortran optimized compilation
> FC=mpxlf90_r
> FFLAGS=-O3 -qnolm -qarch=pwr3 -qstrict -q64
> MAIN_ROUTINE_FFLAGS=-qcharlen=16000
> FFLAGS_LIBS=-O3 -qnolm -qarch=pwr3 -qstrict -qfixed
> FLINK=-bloadmap:loadmap
> # C preprocessor, used to preprocess the fortran source.
> CPP=/usr/lib/cpp
> CPP_FLAGS=-P
> # C optimized compilation.
> CC=mpcc
> CFLAGS=-O
> # Location of perl . Used to generate the script fldiff, in
> ~ABINIT/Utilities .
> PERL=/usr/local/gnu/bin/perl
> # Definition of libraries
> BLAS=
> LIBS= $(LAPACK) -lblas
>
> ####################################################################
> # For the parallel version
>
> # Location of the MPI library
> # Location of directory with header files *.h for parallel version
> _BASE=/usr/lpp/ppe.poe
> INCLUDE_PAR=$(_BASE)/include
> FFLAGS_PAR=$(FFLAGS) -I$(INCLUDE_PAR)
>

>
>



Archive powered by MHonArc 2.6.16.

Top of Page