Skip to Content.
Sympa Menu

forum - Re: AW: AW: AW: [abinit-forum] problems with compilation on ibm power

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: AW: AW: AW: [abinit-forum] problems with compilation on ibm power


Chronological Thread 
  • From: Jean-Michel Beuken <jean-michel.beuken@uclouvain.be>
  • To: forum@abinit.org
  • Subject: Re: AW: AW: AW: [abinit-forum] problems with compilation on ibm power
  • Date: Thu, 18 Jun 2009 15:11:20 +0200
  • Organization: Université catholique de Louvain

Christian,
The output of "/opt/mpich/ch-p4/bin/mpif90 -show" is

ln -s /opt/mpich/ch-p4/include/mpif.h mpif.h
gfortran -L/opt/mpich/ch-p4/lib64 -lmpichf90 -lmpich -lpthread -lrt
rm -f mpif.h

What does this tell me?
that, the mpich wasn't compiled with xlf but with gfortran


my recipe for compiling mpich2-1.0.8p1 with suse xlf 9.1 ( openpower 720 )
and it works with abinit 5.8.3

--------------------------------------------------------------------------------------------------
#!/bin/bash
#
export CC=gcc
export CFLAGS="-O2 -m64 -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1"
#
export LDFLAGS="-q64"
#
export F77="/opt/ibmcmp/xlf/9.1/bin/xlf_r"
export FFLAGS="-O2 -qnosave -q64 -qpic=large -qmaxmem=-1"
export F90="/opt/ibmcmp/xlf/9.1/bin/xlf90_r"
export F90FLAGS="-O2 -qnosave -q64 -qpic=large -qmaxmem=-1"
#
./configure --prefix=/usr/local/mpich2_r \
--enable-fast=O2 \
--enable-f77 --enable-f90 --disable-cxx \
--enable-sharedlibs=none
--------------------------------------------------------------------------------------------------


regards

jmb



Archive powered by MHonArc 2.6.16.

Top of Page