[Trilinos-Users] Problem configuring Trilinos/Anasazi

Richard Muller rmuller at sandia.gov
Mon Nov 3 10:15:10 MST 2008


I'm having a problem when I try to configure Trilinos. I'm using the  
CVS version of the code, and am compiling on a Linux (RHEL4) machine.

Configure chugs along nicely until it gets to the part where it's  
configuring Anasazi, whereupon it coughs out the following:

Cannot preprocess the include file AnasaziTypes.hpp, part of the  
anasazi package.
Try --with-incdir="-I<dir1> -I<dir2>"
------
configure: error: Cannot find anasazi include directory containing  
AnasaziTypes.hpp
configure: error: ../../../packages/nox/configure failed for packages/ 
nox


When I explicitly include the directory where the AnasaziTypes.hpp  
file lives, it give the exact same error message.

Has anyone seen this? Can anyone suggest a workaround? I've appended  
my full configure file to the end of the message.

Thanks in advance,

Rick

Rick Muller
rmuller at sandia.gov


#!/bin/sh

##################################################################
# Configuration of Trilinos for use with the development version
# of Sundance.
#
# This will NOT work with the old version of Sundance
##################################################################


BUILD_DIR=`pwd`

TRILINOS_DATA_DIR=${HOME}/Programs/trilinos/TrilinosData

../configure \
CXXFLAGS="-g -O0 -Wall" \
--with-libs="-lumfpack -lamd" \
--disable-default-packages \
--enable-sundance \
--enable-anasazi \
--disable-python \
--with-sundance-exodus \
--enable-sundance-tests \
--enable-sundance-examples \
--with-trilinosdatadir=${TRILINOS_DATA_DIR} \
--enable-teuchos --enable-teuchos-extended --enable-teuchos-abc \
--enable-teuchos-complex \
--enable-thyra \
--disable-thyra-tests \
--disable-thyra-examples \
--enable-aztecoo-thyra \
--enable-epetra-thyra \
--enable-amesos-thyra \
--enable-ifpack-thyra \
--enable-ml-thyra \
--enable-stratimikos \
--enable-epetra \
--enable-epetraext \
--enable-ml \
--disable-ml-examples \
--enable-aztecoo \
--enable-ifpack \
--enable-nox \
--disable-loca \
--enable-amesos \
--enable-amesos-umfpack \
--disable-moocho \
--disable-moocho-thyra \
--with-gnumake \
--with-install="/usr/bin/install -c -p" \
--with-ldflags="-L/usr/local/lib" \
--with-incdirs="-I/home/rmuller/Programs/trilinos/Trilinos-CVS/ 
packages/anasazi/src/" \
--config-cache \
--prefix=$BUILD_DIR






More information about the Trilinos-Users mailing list