PETSc lib performance tuning

2006-02-24 Thread abdul-rah...@tu-harburg.de
I asked: > > How do I best customize the compiler flags? Should I edit the > > variables directly in petscconf, or can I do it with configure ? OK. I found this out. It's quite obvious :) ./config/configure.py --help gives _lots_ of helpful info. On Fri, 24 Feb 2006, Berend van Wachem wrote

PETSc lib performance tuning

2006-02-24 Thread Berend van Wachem
Hi Razi, I have tested both atlas and other blas/lapack and found small effects on linux. For using ATLAS with petsc, you configure ATLAS, build it, and then specify when you configure petsc --with-blas-lapack-dir= where your ATLAS libs are. In my case, I use --with-blas-lapack-dir=/usr/local/A

PETSc lib performance tuning

2006-02-24 Thread abdul-rah...@tu-harburg.de
Hi all, I have a couple questions about the PETSc performance: Does having ATLAS ( math-atlas.sourceforge.net ) help ? If so how do I hook it to PETSc ? How do I best customize the compiler flags? Should I edit the variables directly in petscconf, or can I do it with configure ? Thanks, Razi

PETSc lib performance tuning

2006-02-24 Thread Satish Balay
On Fri, 24 Feb 2006, abdul-rahman at tu-harburg.de wrote: > How do I best customize the compiler flags? Should I edit the > variables directly in petscconf, or can I do it with configure ? To compile with optimizationflags - you can use the following configure options: --with-debugging=0 COPTFLA