[Trilinos-Users] miltivector::doExport and disabling isSameAs()
John Moore
johnpmooreiv at gmail.com
Tue Sep 1 22:38:40 EDT 2015
I've been profiling my code with Vtune, and appears that %14 of the time is
spent in a call to Teuchos::reduceAll<int,int> invoked by
Tpetra::map::isSameAs(), which seems to be called by every call to
Tpetra::multivector->doExport()..
It seems that there should be a compile flag to turn off such checks. I
have the following configuration options set:
cmake \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D TPL_FIND_SHARED_LIBS:BOOL=OFF \
-D Trilinos_LINK_SEARCH_START_STATIC:BOOL=ON \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D TPL_ENABLE_MPI:BOOL=ON \
-D MPI_BASE_DIR="${MPI_ROOT}" \
-D MPI_EXEC:FILEPATH="${MPI_BIN}/mpiexec" \
-D MPI_Fortran_COMPILER:FILEPATH="${MPI_BIN}/mpif90" \
-D MPI_CXX_COMPILER:FILEPATH="${MPI_BIN}/mpicxx" \
-D MPI_C_COMPILER:FILEPATH="${MPI_BIN}/mpicc" \
-D CMAKE_CXX_FLAGS:STRING="" \
-D BLAS_LIBRARY_DIRS:FILEPATH=$MKL_LIB_DIRS \
-D BLAS_LIBRARY_NAMES:STRING=$MKL_LIBS \
-D LAPACK_LIBRARY_DIRS:FILEPATH=$MKL_LIB_DIRS \
-D LAPACK_LIBRARY_NAMES:STRING=$MKL_LIBS \
-D TPL_ENABLE_METIS:BOOL=ON \
-D METIS_LIBRARY_DIRS:FILEPATH="${HOME}/local/metis-5.1.0/lib" \
-D METIS_INCLUDE_DIRS:FILEPATH="${HOME}/local/metis-5.1.0/include" \
-D METIS_LIBRARY_NAMES:STRING="metis" \
-D TPL_ENABLE_ParMETIS:BOOL=ON \
-D ParMETIS_LIBRARY_DIRS:FILEPATH="${HOME}/local/parmetis-4.0.3/lib" \
-D ParMETIS_INCLUDE_DIRS:FILEPATH="${HOME}/local/parmetis-4.0.3/include" \
-D ParMETIS_LIBRARY_NAMES:STRING="parmetis" \
-D Trilinos_ENABLE_OpenMP:BOOL=OFF \
-D TPL_ENABLE_Pthread:BOOL=ON \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Trilinos_ENABLE_Ifpack2:BOOL=ON \
-D Trilinos_ENABLE_Belos:BOOL=ON \
-D Trilinos_ENABLE_Intrepid:BOOL=ON \
-D Trilinos_ENABLE_Zoltan2:BOOL=ON \
-D Tpetra_ENABLE_TESTS:BOOL=OFF \
-D Trilinos_ENABLE_DEBUG:BOOL=OFF \
-D DART_TESTING_TIMEOUT:STRING=100 \
-D CMAKE_INSTALL_PREFIX:PATH=$PWD/../install_release \
${SOURCE_BASE}
Is there a flag that I'm forgetting about, or is it not possible to disable
this check?
Thank you,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150901/a2c96fb6/attachment.html>
More information about the Trilinos-Users
mailing list