[petsc-dev] Generating Assembly code for PETSc routines

Chekuri S. Choudary cchoudary at rnet-tech.com
Mon Nov 14 16:43:08 CST 2011


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>


More information about the petsc-dev mailing list