[Trilinos-Users] Trilinos build on TACC

rambod yousefzadeh tabasi rambod.tabasi at utexas.edu
Tue Aug 15 20:08:18 EDT 2017


Im using the following configuration script to build trilinos on TACC. The
build goes through and Im able to run make and make install without
problem. But non of the previously working codes converge on TACC. I
noticed that trilinos installation directory does not have a bin folder. I
dont know if that has anything to do with this problem though. I would
appreciate it if you could point out any errors that you see with this
configuration script.

Thanks

Rambod



#!/usr/bin/env bash

export F77='which mpif90 || /bin/true'
export COPTFLAGS="-O1"
export CC='which mpicc || /bin/true'
export CXX='which mpicxx || /bin/true'

rm -rf CMakeFiles CMakeCache.txt

export INSTALL_LOCATION='/home1/03632/rtabasi/projects/trilinos/'

EXTRA_ARGS=$@

cmake \
  -D MPI_BASE_DIR:PATH=$MPICH_HOME \
  -D BUILD_SHARED_LIBS:BOOL=ON \
  -D Trilinos_VERBOSE_CONFIGURE=OFF \
  -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON \
  -D CMAKE_LINKER:STRING="mpicxx" \
  \
  -D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_LOCATION} \
  -D CMAKE_BUILD_TYPE:STRING=RELEASE \
  -D CMAKE_C_FLAGS:STRING="${COPTFLAGS} -mkl" \
  -D CMAKE_CXX_FLAGS:STRING="-O1 -std=c++11" \
  -D Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" \
  \
  -D TPL_ENABLE_BLAS:BOOL=ON \
  -D BLAS_INCLUDE_DIRS:PATH="${TACC_MKL_INC}" \
  -D BLAS_LIBRARY_DIRS:PATH="${TACC_MKL_LIB}" \
  -D BLAS_LIBRARY_NAMES:STRING="mkl_intel_lp64;mkl_gnu_thread;
mkl_blas95_lp64;mkl_core;mkl_sequential;mkl_gf_lp64;pthread" \
  -D TPL_ENABLE_LAPACK:BOOL=ON \
  -D LAPACK_INCLUDE_DIRS:PATH="${TACC_MKL_INC}" \
  -D LAPACK_LIBRARY_DIRS:PATH="${TACC_MKL_LIB}" \
  -D LAPACK_LIBRARY_NAMES:STRING="mkl_intel_lp64;mkl_gnu_thread;
mkl_lapack95_lp64;mkl_core;mkl_sequential;mkl_gf_lp64;pthread" \
  \
  -D TPL_ENABLE_MPI:BOOL=ON \
  -D TPL_ENABLE_GLM:BOOL=OFF \
  -D TPL_ENABLE_Matio:BOOL=OFF \
  \
  -D TPL_ENABLE_Boost:BOOL=ON \
  -D Boost_INCLUDE_DIRS:PATH=$TACC_BOOST_INC \
  -D Boost_LIBRARY_DIRS:PATH=$TACC_BOOST_LIB \
  -D TPL_ENABLE_BoostLib:BOOL=ON \
  -D BoostLib_INCLUDE_DIRS:PATH=$TACC_BOOST_INC \
  -D BoostLib_LIBRARY_DIRS:PATH=$TACC_BOOST_LIB \
  \
 -D Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" \
  -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
  -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
  -D Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=ON \
  -D Trilinos_ASSERT_MISSING_PACKAGES=OFF \
  -D Trilinos_ENABLE_TeuchosNumerics=ON \
  -D Trilinos_ENABLE_Epetra:BOOL=ON \
  -D Trilinos_ENABLE_EpetraExt:BOOL=ON \
  -D Trilinos_ENABLE_Ifpack:BOOL=ON \
  -D Trilinos_ENABLE_AztecOO:BOOL=ON \
  -D Trilinos_ENABLE_Zoltan:BOOL=ON \
  -D Trilinos_ENABLE_NOX:BOOL=ON \
  -D Trilinos_ENABLE_Pamgen:BOOL=OFF \
  -D Trilinos_ENABLE_FEI=OFF \
  -D Trilinos_ENABLE_Isorropia:BOOL=ON \
  -D Trilinos_ENABLE_PyTrilinos:BOOL=ON \
  \
  -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
  -D Trilinos_ENABLE_TESTS:BOOL=OFF \
  \
  -D SWIG_EXECUTABLE:FILEPATH=$HOME/projects/swig/bin/swig \
  -D PyTrilinos_DOCSTRINGS:BOOL=OFF \
  \
  $EXTRA_ARGS \
  ..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170815/bc591008/attachment.html>


More information about the Trilinos-Users mailing list