[petsc-users] Optimized mode
Emmanuel Ayala
juaneah at gmail.com
Mon Sep 16 23:13:59 CDT 2019
Hi everyone,
I have a code for elastic linear analysis which involves DMDA, SuperLu and
matrix operations. I have a MPI vector which contains the nodal
displacements, when I run the code in debug mode i get the same value for
the norm (2 or Inf), for different number of process. But when I use the
optimized mode, I have small variations for the same norm depending on the
number of process.
-Debug mode: the same norm value for any number of processes.
-Optimized mode: the norm value changes with the number of processes. The
variations are around 2.0e-4 units.
* This is normal?*
For my optimized mode I used the next configuration
./configure --with-debugging=0 COPTFLAGS='-O3 -march=native -mtune=native'
CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3 -march=native
-mtune=native' --download-mpich --download-superlu_dist --download-metis
--download-parmetis --download-cmake --download-fblaslapack=1
--with-cxx-dialect=C++11
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190916/64f65424/attachment.html>
More information about the petsc-users
mailing list