[Trilinos-Users] configuring trilinos (Thanks)

Bora Ucar boraucar at gmail.com
Wed Dec 7 13:28:20 MST 2005


thanks a lot.

there was a tab after a line continuation character. Now everything is OK.


On 12/7/05, James Willenbring <jmwille at sandia.gov> wrote:
> Hi,
>
> ./mpi_linux_Bora: line 9: --enable-mpi: command not found
>
> Is a type of problem that I have seen many times and to this point has
> always indicated a formatting problem with the arguments that are passed to
> configure.  In particular, please check to make sure that there is not a
> space after your line continuation character on the previous line.  Also, we
> strongly recommend against configuring in your source tree.  Please see the
> Recommended Build Directory Structure section in the following webpage:
> http://software.sandia.gov/trilinos/installation_manual.html
>
> Configuring in the source tree causes all kinds of problems that can be
> difficult to diagnose and makes it impossible to run the installation tests.
>
> If that does not help, please send me your config.log file from
> packages/teuchos/.
>
> Jim
>
> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov
> [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Bora Ucar
> Sent: Wednesday, December 07, 2005 2:00 PM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] configuring trilinos
>
> Hi,
>
> I have deleted all the directories and tried re-configuring, re-making
> trilinos.
> I get warnings and then error with the following script. Do youhave
> any idea what is groing wrong?
>
> Best wishes
>
> ----------------------------------------------------------------------------
> --------
> the file mpi_linux_Bora
>
> ./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:
> ----------------------------------------
> 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
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
>




More information about the Trilinos-Users mailing list