[Trilinos-Users] Teuchos_ConfigDefs.hpp:128:9: error: Œptrdiff_t¹ does not name a type
narendiran kumar
narendirankumar at gmail.com
Thu Nov 3 04:13:32 MDT 2011
Dear Brent,
Thanks for your reply.
Finally, I reconfigured successfully with trilinos new release (10.8.3).
For checking purpose, I compiled already runned correct c program code.
But, that's giving Segmentation fault.
can you please help me.
Regards,
K. Narendiran
Output:
narendiran at narendiran:~/Desktop/arc-length-continuation-beta-0.1$ make
Found Trilinos! Here are the details:
Trilinos_VERSION = 10.8.3
Trilinos_PACKAGE_LIST = NOX Anasazi Stratimikos Belos ML Ifpack Amesos
Galeri AztecOO Isorropia ThyraEpetraExtAdapters ThyraEpetraAdapters
ThyraCore EpetraExt Tpetra Triutils Zoltan Epetra Kokkos RTOp ThreadPool
Teuchos
Trilinos_LIBRARIES = -llocathyra -llocaepetra -llocalapack -lloca
-lnoxthyra -lnoxepetra -lnoxlapack -lnox -lanasazitpetra -lModeLaplace
-lanasaziepetra -lanasazi -lstratimikos -lstratimikosbelos
-lstratimikosaztecoo -lstratimikosamesos -lstratimikosml
-lstratimikosifpack -lbelostpetra -lbelosepetra -lbelos -lml -lifpack
-lamesos -lgaleri -laztecoo -lisorropia -lthyraepetraext -lthyraepetra
-lthyracore -lepetraext -ltpetraext -ltpetrainout -ltpetra -ltriutils
-lzoltan -lsimpi -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lrtop
-ltpi -lteuchos
Trilinos_INCLUDE_DIRS =
-I/project1/trilinos-10.8.3-Source/build-nox/include
Trilinos_LIBRARY_DIRS = -L/project1/trilinos-10.8.3-Source/build-nox/lib
Trilinos_TPL_LIST = LAPACK BLAS
Trilinos_TPL_INCLUDE_DIRS =
Trilinos_TPL_LIBRARIES = -llapack -lblas
Trilinos_TPL_LIBRARY_DIRS =
Trilinos_BUILD_SHARED_LIBS = ON
End of Trilinos details
/usr/bin/gcc -c -D_GLIBCXX_DEBUG -g -O0
-I/project1/trilinos-10.8.3-Source/build-nox/include
ninaProblemInterface.C
/usr/bin/gcc -c -D_GLIBCXX_DEBUG -g -O0
-I/project1/trilinos-10.8.3-Source/build-nox/include ninaContinuation.C
ninaProblemInterface.o
gcc: warning: ninaProblemInterface.o: linker input file unused because
linking not done
/usr/bin/ar cr libmyappLib.a ninaContinuation.o ninaProblemInterface.o
/usr/bin/gcc -D_GLIBCXX_DEBUG -g -O0 libmyappLib.a -o ninaContinuation.exe
-I/project1/trilinos-10.8.3-Source/build-nox/include
-L/project1/trilinos-10.8.3-Source/build-nox/lib -llocathyra -llocaepetra
-llocalapack -lloca -lnoxthyra -lnoxepetra -lnoxlapack -lnox
-lanasazitpetra -lModeLaplace -lanasaziepetra -lanasazi -lstratimikos
-lstratimikosbelos -lstratimikosaztecoo -lstratimikosamesos -lstratimikosml
-lstratimikosifpack -lbelostpetra -lbelosepetra -lbelos -lml -lifpack
-lamesos -lgaleri -laztecoo -lisorropia -lthyraepetraext -lthyraepetra
-lthyracore -lepetraext -ltpetraext -ltpetrainout -ltpetra -ltriutils
-lzoltan -lsimpi -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lrtop
-ltpi -lteuchos -llapack -lblas
narendiran at narendiran:~/Desktop/arc-length-continuation-beta-0.1$./ninaContinuation.exe
Segmentation fault
narendiran at narendiran:~/Desktop/arc-length-continuation-beta-0.1$
On Wed, Nov 2, 2011 at 10:29 PM, Perschbacher, Brent M
<bmpersc at sandia.gov>wrote:
> This looks like the issues we were seeing with the gcc 4.6 compiler,
> most likely the Ubuntu upgrade gave you a newer gcc. Most, if not all, of
> the errors with that compiler have been fixed in Trilinos 10.8. I would
> recommend upgrading to the latest release to get rid of those errors.
>
> Brent
>
>
> On 11/2/11 12:13 AM, "narendiran kumar" <narendirankumar at gmail.com> wrote:
>
> Dear Sir/Madam,
>
> Recently, i upgraded my system from ubuntu 11.04 to 11.10. I didn't get
> any error message like this in my older version ubuntu 11.04. I got
> following error, when i was working on trilinos package in newer version
> ubuntu 11.10. Do i want to upgrade (Patch) any package.
>
> Can any one please help me.
>
> Regards,
> K. Narendiran.
>
> narendiran at narendiran:~/Desktop/arc-length-continuation-test$ make
>
> Found Trilinos! Here are the details:
> Trilinos_VERSION = 10.6.4
> Trilinos_PACKAGE_LIST = NOX Anasazi Stratimikos Belos ML Ifpack Amesos
> Galeri AztecOO Isorropia Thyra EpetraExt Tpetra Triutils Zoltan Epetra
> Kokkos RTOp ThreadPool Teuchos
> Trilinos_LIBRARIES = -llocathyra -llocaepetra -llocalapack -lloca
> -lnoxthyra -lnoxepetra -lnoxlapack -lnox -lanasazitpetra -lModeLaplace
> -lanasaziepetra -lanasazi -lstratimikos -lstratimikosbelos
> -lstratimikosaztecoo -lstratimikosamesos -lstratimikosml
> -lstratimikosifpack -lbelostpetra -lbelosepetra -lbelos -lml -lifpack
> -lamesos -lgaleri -laztecoo -lisorropia -lthyratpetra -lthyraepetraext
> -lthyraepetra -lthyra -lepetraext -ltpetrainout -ltpetra -ltriutils
> -lzoltan -lsimpi -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lrtop
> -ltpi -lteuchos
> Trilinos_INCLUDE_DIRS =
> -I/home2/trilinos-10.6.4-Source/build-nox/include
> Trilinos_LIBRARY_DIRS = -L/home2/trilinos-10.6.4-Source/build-nox/lib
> Trilinos_TPL_LIST = LAPACK BLAS
> Trilinos_TPL_INCLUDE_DIRS =
> Trilinos_TPL_LIBRARIES = -llapack -lblas
> Trilinos_TPL_LIBRARY_DIRS =
> Trilinos_BUILD_SHARED_LIBS = ON
> End of Trilinos details
>
> /usr/bin/gcc -c -g -O0 -D_GLIBCXX_DEBUG
> -I/home2/trilinos-10.6.4-Source/build-nox/include
> ninaProblemInterface.C
> In file included from
> /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_RCPNode.hpp:39:0,
> from
> /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_RCPDecl.hpp:38,
> from
> /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_RCP.hpp:45,
> from ninaProblemInterface.H:4,
> from ninaProblemInterface.C:2:
> /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_ConfigDefs.hpp:128:9:
> error: ‘ptrdiff_t’ does not name a type
> /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_ConfigDefs.hpp:131:29:
> error: ‘Teuchos_Ordinal’ does not name a type
> /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_ConfigDefs.hpp:135:9:
> error: ‘Teuchos_Ordinal’ does not name a type
> make: *** [ninaProblemInterface.o] Error 1
> narendiran at narendiran:~/Desktop/arc-length-continuation-test$
>
>
> ------------------------------
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20111103/1898188b/attachment.html
More information about the Trilinos-Users
mailing list