Compiler Optimization Override

Satish Balay balay at mcs.anl.gov
Wed Jun 27 08:45:26 CDT 2007


On Wed, 27 Jun 2007, Aron Ahmadia wrote:

> declare -x PETSC_ARCH=petsc_linux_o3
> cd $PETSC_DIR
> ./config/configure.py --COPTFLAGS=-O3
> make

Or you could just do:

./config/configure.py PETSC_ARCH=petsc_linux_o3 COPTFLAGS=-O3
make


Satish




More information about the petsc-users mailing list