[Trilinos-Users] configuring trilinos
Greg Reese
reesegj at muohio.edu
Wed Dec 7 13:13:22 MST 2005
> ./configure --prefix=/home/ubora/trilinos-6.0.5/MPI_LINUX \
> CC=gcc CXX=g++ \
> F77=g77 \
> --with-libs="-lparmetis -lmetis" \
> --with-cflags="-I/home/ubora/trilinos-6.0.5/MPI_LINUX/TPLs" \
>
> --with-cppflags="-I/home/ubora/trilinos-6.0.5/MPI_LINUX/TPLs" \
> --with-ldflags="-L/home/ubora/trilinos-6.0.5/MPI_LINUX/TPLs" \
> --enable-mpi --with-mpi-compilers\
> --with-blas=/usr/lib/libblas.a \
> --with-lapack=/usr/lib/liblapack.a \
> --disable-default-packages \
> --enable-epetra \
> --enable-teuchos \
> --enable-ml \
> --enable-aztecoo \
> --enable-triutils \
> --enable-ml-parmetis3x \
> --enable-ml-metis \
> --enable-ifpack | tee configure_MPI_LINUX.log
>
>
> --------------------------------------------------------------
> ----------------------
> [ubora MPI_LINUX]$ mpi_linux_Bora
>
> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: invalid host type:
> checking whether to enable maintainer-specific portions of
> Makefiles... no checking for a BSD-compatible install...
> /usr/bin/install -c checking whether build environment is
> sane... yes checking for gawk... gawk checking whether make
> sets $(MAKE)... yes .....
> ...
> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: invalid host type:
Bora,
I get the above warnings all the time. I don't know what they mean but they
don't seem to affect the build. After installation, I am able to make the
example programs fine.
> ----------------------------------------
> Running Teuchos Configure Script
> ----------------------------------------
> checking whether to enable maintainer-specific portions of
> Makefiles... no checking build system type... config.sub:
> missing argument Try `config.sub --help' for more information.
> configure: error: /bin/sh
> ../../../packages/teuchos/config/config.sub failed
> configure: error: /bin/sh
> '../../../packages/teuchos/configure' failed for packages/teuchos
> ./mpi_linux_Bora: line 9: --enable-mpi: command not found
When I got the error "config.sub failed" I finally tracked it down to an
extra space after the backslash in the big ./configure statement above. Make
sure none of the backslashes at the end have any spaces after them,
especially the backslash preceding the --enable-mpi command. If you remove
any such spaces that will probably fix the --enable-mpi problem too.
Greg
More information about the Trilinos-Users
mailing list