[petsc-users] Using -ipo, -fast or -O3 during compilation of PETSc

Jed Brown jedbrown at mcs.anl.gov
Fri Mar 2 07:58:22 CST 2012


On Fri, Mar 2, 2012 at 07:55, TAY wee-beng <zonexo at gmail.com> wrote:

> May I know if it is advisable to use -ipo, -fast or -O3 during compilation
> of PETSc for the non debug mode?
>
> Will it be faster or will there be unpredictable errors?
>

The only thing we can say for sure is that it will take longer to compile.

(It may be faster or slower, probably not by much. There should not be
errors.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120302/3a6ec056/attachment.htm>


More information about the petsc-users mailing list