[petsc-users] How to change optimization flags?

Lucas Clemente Vella lvella at gmail.com
Wed Mar 7 14:30:10 CST 2018


Despite documentation and output from "./configure --help", PETSC
disregards completely all of the below:

--CFLAGS=<string>
--CXXFLAGS=<string>
--FFLAGS=<string>
--COPTFLAGS=<string>
--FOPTFLAGS=<string>
--CXXOPTFLAGS=<string>

And also the customary environment variables CFLAGS and CXXFLAGS.

How can I set special optimization flags, like enabling of SIMD
instructions?

-- 
Lucas Clemente Vella
lvella at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180307/f698da26/attachment.html>


More information about the petsc-users mailing list