[petsc-dev] forget about libmpiuni completely

Lisandro Dalcin dalcinl at gmail.com
Wed Feb 17 09:05:29 CST 2010

On 17 February 2010 11:45, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 1) Make mpiuni truly a download package mimicing other ones exactly.
> 2) Swallow mpiuni more completely into PETSc, no separate libmpiuni, put the
> includes/mods in a location they are found automatically without the extra
> 3) Have a half-plant/half-animal model.

I definitely vote for (2) ... No separate libmpiuni (put stuff
libpetscsys), put mpi.*.* in  ${PETSC_ARCH}/include/

However, just in case (think of ./configure --with-mpi=0 --prefix=/usr) ...

I think we could do the following:

1) rename/move "include/mpiuni/mpi.h" to "include/mpiuni.h"

2) autogenerate a header file "$PETSC_ARCH/include/petscmpi.h",
#include'ing "mpi.h" or "mpiuni.h" depending on configuration.

3) Change "petsc.h" to #incluide "petscmpi.h" instead of "mpi.h"

What do you think?

Lisandro Dalcin
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594

More information about the petsc-dev mailing list