I was wondering how to make use of the compiler options within the PETSc build system to generate the assembly code for the selected PETSc routines.
I tried CFLAGS=-S flag (gcc compiler) in the makefile in subfolders but that doesn't output anything. I tried -S flag in the configure options as following but that didn't work. ./configure --download-f-blas-lapack=1 --with-x=0 --with-debugging=1 --CFLAGS="-O3 -g -ggdb -S -fopenmp" --FFLAGS="-O3 -g -fopenmp" --download-hypre=1 --with-hdf5=1 --download-hdf5=1 --with-batch=0 --known-mpi-shared-libraries=no --with-cuda=1 --with-cudac="nvcc -m64" --with-cusp=1 --with-thrust=1 PETSC_ARCH=PFLOTRAN1 Thanks Shiva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111114/c2da11d6/attachment.html>