forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- 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" isthat, the mpich wasn't compiled with xlf but with gfortran
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?
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
- Re: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, ludwigc, 06/18/2009
- Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Jean-Michel Beuken, 06/18/2009
- AW: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/18/2009
- Re: AW: AW: AW: [abinit-forum] problems with compilation on ibm power, Jean-Michel Beuken, 06/18/2009
- AW: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/18/2009
- Re: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Yann Pouillon, 06/18/2009
- AW: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/18/2009
- AW: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/19/2009
- AW: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/19/2009
- AW: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/25/2009
- AW: Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Ludwig, Christian, 06/18/2009
- Re: AW: AW: [abinit-forum] problems with compilation on ibm power, Jean-Michel Beuken, 06/18/2009
Archive powered by MHonArc 2.6.16.