[petsc-dev] no module named cmakegen

Jed Brown jed at 59A2.org
Mon Aug 23 17:09:00 CDT 2010


On Mon, 23 Aug 2010 16:58:57 -0500 (CDT), Satish Balay <balay at mcs.anl.gov> wrote:
> config/install.py is an exaple of stand alone script requiring
> PETSC_DIR/PETSC_ARCH - it also relies on being invoked in PETSC_DIR

Do you suggest copying it's first 25 lines into all new scripts?

> Part of the issue with PETSC_DIR/PETSC_ARCH is: they are primarily
> needed by 'makefiles' [for both building and using PETSc]. All other
> build tools - hopefully don't need them - or can autodetect as needed.

FWIW, the CMake build doesn't use them anywhere.  I just don't like
copying the autodetection all over the place.  The trouble is that even
after wrapping up the autodetection, we still have to find it.

Jed



More information about the petsc-dev mailing list