[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building petsc on a POWER5+ machine
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: building petsc on a POWER5+ machine
- From: "Thomas Geenen" <geenen@xxxxxxxxx>
- Date: Fri, 16 Mar 2007 18:37:45 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pobrzwtx57YaDzmFC4Nfb2vA85joFciIRg4opYIUe+XDrdYHoIhXbPmLl5CgxweF5fCgBOC8luxayx6qS/COFUAdQl0EI/V8mQszlpSETKJe2/0pU2qh63t9r6wLW+U0Yy1qG/VhlWLVe3TJRFggnFdA+22d5w2IzyWKTjFPiE4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qcC0ctJYN65MibYS2+Gcs6CQsu5Eos6TXRDVzLlKWT52algGxSAsO6G4o7KZWfZdt4tiztWLjWWFFjvj8lGL8J7aIv+yU6OJ1dLaqot9Bo+aszc+DyJppm5gJlHaifAGqlyu75GQ/BGzOuYFMj5nubZPSFOYDQyP/Ix48Ls3BqE=
- In-reply-to: <Pine.LNX.4.64.0703161721300.517@asterix>
- References: <8aa042e10703161157p486a2fe2q39422b5b56c6f7d4@mail.gmail.com> <Pine.LNX.4.64.0703161721300.517@asterix>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
oke maybe i did not explain it clear enough.
i already build petsc with support for hypre and mumps the more or
less default way. yes you will have to do a lot of tweaking but that
went oke.
The problem was that in this version Mumps would hang in the
factorisation phase.
the next thing i did was building mumps standalone linking it to essl
and pessl this gave a working standalone version of mumps.
So the next thing i tried was building petsc with mumps supprt without
blacs or scalapack but with essl and pessl to get a working version of
mumps accesible through petsc.
this however seems tricky since scalapack does not build with essl
and/or pessl and mumps only builds if you build scalapack as well.
a worksround would be to link my working version of mumps directly to
petsc and maybe rebuilding some part of mumps that deals with the
interface?
i also tried
./config/configure.py --with-memcmp-ok --with-endian=big
--sizeof_char=1 --sizeof_void_p=8 --sizeof_short=2 --sizeof_int=4
--sizeof_long=8 --sizeof_long_long=8 --sizeof_float=4
--sizeof_double=8 --bits_per_byte=8 --sizeof_MPI_Comm=4
--sizeof_MPI_Fint=4 --with-batch --with-shared=0
--with-mpirun=mpirun.lsf --with-mpi-dir=/usr/lpp/ppe.poe/
--with-mpi-shared=yes --with-fc=mpxlf_r --with-cc=mpcc_r
--with-hypre=yes --with-mumps=yes
--with-hypre-dir=/blhome/geenen/source/petsc-2.3.2-p8/externalpackages/hypre-1.11.1b/src/hypre/
--with-mumps-dir=/blhome/geenen/source/petsc-2.3.2-p8/externalpackages/MUMPS_4.6.3/
--with-scalapack-lib=/usr/lib/libpessl.a
--with-blacs-lib=/usr/lib/libessl.a
--with-scalapack-include=/usr/include/
with-blacs-include=/usr/include/
=================================================================================
Configuring PETSc to compile on your system
=================================================================================
TESTING: check from
config.libraries(/ptmp/huangwei/petsc-2.3.2-p8/python/BuildSystem/config/libraries.py:108)
*********************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
for details):
---------------------------------------------------------------------------------------
--with-blacs-lib=['/usr/lib/libessl.a'] and
--with-blacs-include=/usr/include/ did not work
*********************************************************************************
so without the --with-blacs and --with-scalapack but the build system
tries to execute this
int main() {
blacs_pinfo()
;
return 0;
}
and that results of course in
error message = {ld: 0711-317 ERROR: Undefined symbol: .blacs_pinfo
thomas
On 3/16/07, Satish Balay <balay@xxxxxxxxxxx> wrote:
A couple of issues here..
- xlf doesn't compile [mumps] f90 code correctly - You'll need the
additional compiler option "-qnosave". This can be specified as:
--with-fc='mpxlf_r -qnosave'
- Alternative would be to use 'mpxlf90' but either blacs or scalapack
sources can't be compiled with it due to fixed/free from issue. I
guess one could use: --with-fc='mpxlf90 -qnosave'
> --with-scalapack-lib=/usr/lib/libpessl.a --with-blacs-lib=/usr/lib/libessl.a
I don't think essl has either scalapack or blacs functionality. You should
just use: --download-blacs=1 --download-scalapack=1
Satish
On Fri, 16 Mar 2007, Thomas Geenen wrote:
> dear petsc users,
>
> I build petsc on a POWER5+ machine.
> now i would like to add mumps.
> if i do that the way it should de done i end up with a version in
> which mumps hangs during the factorization phase.
> If i build mumps standalone linking to essl and pessl i get a working
> version of mumps.
>
> I tried telling the petsc configuration to use essl and pessl instead
> of scalapack and blacs like this
> --with-scalapack=yes --with-scalapack-lib=/usr/lib/libpessl.a
> --with-blacs=yes --with-blacs-lib=/usr/lib/libessl.a
> --with-scalapack-include=/usr/include/
> with-blacs-include=/usr/include/
>
> resulting in
> =================================================================================
> TESTING: check from
> config.libraries(/ptmp/huangwei/petsc-2.3.2-p8/python/BuildSystem/config/libraries.py:108)
> *********************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
> for details):
> ---------------------------------------------------------------------------------------
> --with-blacs-lib=['/usr/lib/libessl.a'] and
> --with-blacs-include=/usr/include/ did not work
> *********************************************************************************
>
> so how can i either link my working version of mumps to petsc without
> having a scalapack or blacs lib or include,
> or use essl and pessl as substitute for scalapack and blacs and rebuild petsc
>
> cheers
> Thomas
>
> complete config option list
> ./config/configure.py --with-memcmp-ok --with-endian=big
> --sizeof_char=1 --sizeof_void_p=8 --sizeof_short=2 --sizeof_int=4
> --sizeof_long=8 --sizeof_long_long=8 --sizeof_float=4
> --sizeof_double=8 --bits_per_byte=8 --sizeof_MPI_Comm=4
> --sizeof_MPI_Fint=4 --with-batch --with-shared=0
> --with-mpirun=mpirun.lsf --with-mpi-dir=/usr/lpp/ppe.poe/
> --with-mpi-shared=yes --with-fc=mpxlf_r --with-cc=mpcc_r
> --with-hypre=yes --with-mumps=yes
> --with-hypre-dir=/blhome/geenen/source/petsc-2.3.2-p8/externalpackages/hypre-1.11.1b/src/hypre/
> --with-mumps-dir=/blhome/geenen/source/petsc-2.3.2-p8/externalpackages/MUMPS_4.6.3/
> --with-scalapack=yes --with-scalapack-lib=/usr/lib/libpessl.a
> --with-blacs=yes --with-blacs-lib=/usr/lib/libessl.a
> --with-scalapack-include=/usr/include/
> with-blacs-include=/usr/include/
>
>