[Trilinos-Users] Build error - "Argument list too long"

Bartlett, Roscoe A rabartl at sandia.gov
Wed Nov 23 08:05:31 MST 2005


Jon,

If you have GNUMake on your system (which you should if you are using
Linux), then add --with-gnumake to your configure line, configure, and
then build again using gnumake.  On Linux, 'make' should be GNUMake but
check this with 'make --version' just to be sure.

Cheers,

Ross

-----Original Message-----
From: trilinos-users-bounces at software.sandia.gov
[mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Jon
Pearce
Sent: Tuesday, November 22, 2005 5:43 PM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] Build error - "Argument list too long"

Dear Trilinos Users,

I have encountered a build error
    make[5]: execvp: /bin/sh: Argument list too long

when building Trilinos Development Release on Mandrake Linux v10. The
argument list in question is set of paths/options passed to the compiler
when compiling NOX_Abstract _Vector.C - it runs to many many pages in
length!
This problem has also occurred in the past when building an Anasazi
example problem.

It does not arise when building the Trilinos Official Release.

I would be interested to know whether any other users have encountered
this problem. Perhaps it is a shortcoming in my version of /bin/sh?

Many thanks

Jon Pearce


Making all in nox
make[3]: Entering directory
`/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/n
ox'
Making all in doc
make[4]: Entering directory
`/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/n
ox/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/n
o
x/doc'
Making all in src
make[4]: Entering directory
`/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/n
ox/src'
make  all-am
make[5]: Entering directory
`/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/n
ox/src'
if /home/jpea047/lib/mpich/mpich2-1.0-install/bin/mpicxx -DHAVE_CONFIG_H
-I. -I../../../../packages/ nox/src -I.  
-I/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/
nox/src
-I/home
/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/nox/../
../../packages/nox/src
-I/ho
me/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/nox/.
./../../packages/nox/src-lap
ack
-I/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/
nox/../../../packages/no
x/src-epetra
-I/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/
nox/../../../pa
ckages/nox/src-petsc
-I/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages/
nox/../
../../packages/nox/src-belos
-I/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/packages
/teuchos/src

<< MASSES OF OUTPUT TRUNCATED >>

/../../../packages/amesos/src
-I/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH/package
s/amesos/src  -I/home/jpea047/lib/mpich/mpich2-1.0-install/include
-I../../../../packages/nox/src -DMPICH_SKIP_MPICXX -O0 -MT
libnox_a-NOX_Abstract_Vector.o -MD -MP -MF ".deps/libnox_a-NOX_Abstract_
Vector.Tpo" -c -o libnox_a-NOX_Abstract_Vector.o `test -f
'../../../../packages/nox/src/NOX_Abstract _Vector.C' || echo
'../../../../packages/nox/src/'`../../../../packages/nox/src/NOX_Abstrac
t_Vector. 
C; \
then mv -f ".deps/libnox_a-NOX_Abstract_Vector.Tpo" 
".deps/libnox_a-NOX_Abstract_Vector.Po"; else rm  -f
".deps/libnox_a-NOX_Abstract_Vector.Tpo"; exit 1; fi
make[5]: execvp: /bin/sh: Argument list too long


<< I used the following configure options >>

../configure \
--prefix=/home/jpea047/lib/trilinos/trilinos-6-dev-191105/LINUX_MPICH \
CFLAGS=-O0 \ FFLAGS=-O0 \ CXXFLAGS="-DMPICH_SKIP_MPICXX -O0" \
--with-blas=/home/jpea047/lib/acml/acml-2.5.0/gnu32/lib/libacml.a \
--with-lapack=/home/jpea047/lib/acml/acml-2.5.0/gnu32/lib/libacml.a \ \
--enable-mpi \ --with-mpi-incdir=$MPIHOME/include \
--with-mpi-compilers=/home/jpea047/lib/mpich/mpich2-1.0-install/bin \
--enable-debug \ \ --enable-export-makefiles \ \
--enable-default-packages \ \
--enable-amesos         \
--enable-anasazi        \
--enable-aztecoo        \
--enable-belos          \
--enable-epetra         \
--enable-galeri         \
--enable-ifpack         \
--enable-komplex        \
--enable-loca           \
--enable-ml             \
--enable-nox            \
--enable-rythmos        \
--enable-teuchos        \
--enable-thyra          \
--enable-aztecoo-teuchos \
\
--enable-teuchos-complex \
--enable-loca \
--enable-nox-lapack \
--enable-nox-lapack-examples \
--enable-nox-epetra \
--enable-nox-epetra-examples \
--enable-nox-multivectors \
--with-nox-epetra-ml \
--with-loca-anasazi \
\
--enable-amesos-slud \
--with-amesos-sluddir=/home/jpea047/lib/superlu/SuperLU_DIST_2.0 \
--with-amesos-sludlib=/home/jpea047/lib/superlu/SuperLU_DIST_2.0/libsupe
rlu.a
\
\
--enable-epetra-thyra \
--enable-epetra-abc \
--disable-python \
--enable-python=no \
\
--enable-pytrilinos=no     \
\
--enable-anasazi-examples=no \
--enable-anasazi-tests=no  \
\
--enable-meros=no          \
--enable-epetraext=no      \
--enable-capo=no           \
--enable-claps=no          \
--enable-didasko=no        \
--enable-tpetra=no         \
--enable-triutils=no       \
--enable-tsf=no            \
--enable-tsfcore=no        \
--enable-tsfcoreutils=no   \
--enable-tsfextended=no    \
--enable-new_package=no    \
--enable-pliris=no         \
--enable-python=no         \
--enable-kokkos=no   







_______________________________________________
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