[petsc-dev] Making a PetSc Roll and Rocks Module

Satish Balay balay at mcs.anl.gov
Thu Jan 24 18:19:46 CST 2013


On Thu, 24 Jan 2013, Matthew Knepley wrote:

> On Thu, Jan 24, 2013 at 3:42 PM, Blaise A Bourdin <bourdin at lsu.edu> wrote:
> 
> >  I am attaching a very basic module file for reference. One would need to
> > update petsc_dir and petsc_arch upon deploying these, or perhaps configure
> > can do it.
> >
> > I actually use this to easily switch between builds and debug / optimized
> > versions
> >
> 
> Pushed something that writes your simple module file to
> lib/modules/PETSc.mod. It would now be good to get feedback
> to make this the right thing.

The name conflists with f90 modules. Perhaps there is a different
notation for software modules?

Also for prefix install we should set PETSC_ARCH=""

And for inplace install - do we also add PETSC_DIR/bin to PATH?

Satish



More information about the petsc-dev mailing list