[Trilinos-Users] [EXTERNAL] error attempting to compile trilinos

Riccardo Rossi rrossi at cimne.upc.edu
Mon Oct 28 13:22:29 MDT 2013


Dear Brent,

here comes the output

/usr/bin/ld: cannot find
-l-Wl,-rpath,/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/src
collect2: error: ld returned 1 exit status
make[2]: ***
[packages/teuchos/core/test/CommandLineProcessor/TeuchosCore_CommandLineProcessor_test.exe]
Error 1
make[1]: ***
[packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/all]
Error 2
make: *** [all] Error 2
ng directory `/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
make -f CMakeFiles/last_lib.dir/build.make CMakeFiles/last_lib.dir/depend
make[2]: Entering directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
cd /home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build &&
/usr/local/bin/cmake -E cmake_depends "Unix Makefiles"
/home/riccardo/scratch/trilinos-11.4.2-Source
/home/riccardo/scratch/trilinos-11.4.2-Source
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles/last_lib.dir/DependInfo.cmake
--color=
Dependee
"/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles/last_lib.dir/DependInfo.cmake"
is newer than depender
"/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles/last_lib.dir/depend.internal".
Dependee
"/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender
"/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles/last_lib.dir/depend.internal".
Scanning dependencies of target last_lib
make[2]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
make -f CMakeFiles/last_lib.dir/build.make CMakeFiles/last_lib.dir/build
make[2]: Entering directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
/usr/local/bin/cmake -E cmake_progress_report
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles
[  0%] Building C object CMakeFiles/last_lib.dir/last_lib_dummy.c.o
/usr/bin/mpicc   -O3 -m64 -fPIC -funroll-loops -msse3 -O3
-I/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build    -o
CMakeFiles/last_lib.dir/last_lib_dummy.c.o   -c
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/last_lib_dummy.c
Linking C static library liblast_lib.a
/usr/local/bin/cmake -P CMakeFiles/last_lib.dir/cmake_clean_target.cmake
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/last_lib.dir/link.txt
--verbose=1
/usr/bin/ar cr liblast_lib.a  CMakeFiles/last_lib.dir/last_lib_dummy.c.o
/usr/bin/ranlib liblast_lib.a
make[2]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
/usr/local/bin/cmake -E cmake_progress_report
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles
[  0%] Built target last_lib
make -f packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/build.make
packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/depend
make[2]: Entering directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
cd /home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build &&
/usr/local/bin/cmake -E cmake_depends "Unix Makefiles"
/home/riccardo/scratch/trilinos-11.4.2-Source
/home/riccardo/scratch/trilinos-11.4.2-Source/packages/teuchos/core/src
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/src
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/DependInfo.cmake
--color=
make[2]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
make -f packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/build.make
packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/build
make[2]: Entering directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
make[2]: Nothing to be done for
`packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/build'.
make[2]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
/usr/local/bin/cmake -E cmake_progress_report
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/CMakeFiles  78
[  1%] Built target teuchoscore
make -f
packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/build.make
packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/depend
make[2]: Entering directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
cd /home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build &&
/usr/local/bin/cmake -E cmake_depends "Unix Makefiles"
/home/riccardo/scratch/trilinos-11.4.2-Source
/home/riccardo/scratch/trilinos-11.4.2-Source/packages/teuchos/core/test/CommandLineProcessor
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/test/CommandLineProcessor
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/DependInfo.cmake
--color=
make[2]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
make -f
packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/build.make
packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/build
make[2]: Entering directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
Linking CXX executable TeuchosCore_CommandLineProcessor_test.exe
cd
/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/test/CommandLineProcessor
&& /usr/local/bin/cmake -E cmake_link_script
CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/link.txt --verbose=1
/usr/bin/mpiCC     -O3 -m64 -fPIC -funroll-loops -msse3 -O3
CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/cxx_main.cpp.o  -o
TeuchosCore_CommandLineProcessor_test.exe -rdynamic
../../src/libteuchoscore.so.11.4.2 ../../../../../liblast_lib.a -l
-Wl,-rpath,/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/src

make[2]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'
make[1]: Leaving directory
`/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build'





On Mon, Oct 28, 2013 at 5:49 PM, Perschbacher, Brent M
<bmpersc at sandia.gov>wrote:

>  Riccardo,
>   Could you run "make VERBOSE=1" and send me the results please? I'll take
> a look at them to see what the issue might be.
>
>  Thanks,
>
>  Brent
>
>   From: Riccardo Rossi <rrossi at cimne.upc.edu>
> Date: Saturday, October 26, 2013 3:51 PM
> To: "trilinos-users at software.sandia.gov" <
> trilinos-users at software.sandia.gov>
> Subject: [EXTERNAL] [Trilinos-Users] error attempting to compile trilinos
>
>     Dear list,
>    i just downloaded the latest 11.4.2 trilinos and i was trying to
> compile it.
>
>  I attach the configure file i am using.
>
>  the error i get follows at the end of the email
>
>  please note that without tests compilation is correct and the code works,
> at least for Amesos, AztecOO and ML.
>
>  thank you in advance for any suggestion
>
> Riccardo
>
>
>
> riccardo at rrossi-notebook:~/scratch/trilinos-11.4.2-Source/trilinos_build$
> make install
> [  0%] Built target last_lib
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_Time.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_ArrayView.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_VerbosityLevel.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_CommandLineProcessor.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_Describable.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_dyn_cast.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_CWrapperSupport.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_Ptr.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_ScalarTraits.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_VerboseObject.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_TestForException.cpp.o
> [  0%] Building CXX object
> packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_TypeNameTraits.cpp.o
> Linking CXX shared library libteuchoscore.so
> [  1%] Built target teuchoscore
> [  1%] Building CXX object
> packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/cxx_main.cpp.o
> Linking CXX executable TeuchosCore_CommandLineProcessor_test.exe
> /usr/bin/ld: cannot find
> -l-Wl,-rpath,/home/riccardo/scratch/trilinos-11.4.2-Source/trilinos_build/packages/teuchos/core/src
> collect2: error: ld returned 1 exit status
> make[2]: ***
> [packages/teuchos/core/test/CommandLineProcessor/TeuchosCore_CommandLineProcessor_test.exe]
> Error 1
> make[1]: ***
> [packages/teuchos/core/test/CommandLineProcessor/CMakeFiles/TeuchosCore_CommandLineProcessor_test.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
>
> --
>
> Dr. Riccardo Rossi, Civil Engineer
>
> Member of Kratos Team
>
> International Center for Numerical Methods in Engineering - CIMNE
> Campus Norte, Edificio C1
>
> c/ Gran Capitán s/n
>
> 08034 Barcelona, España
>
> Tel:        (+34) 93 401 56 96
>
> Fax:       (+34) 93.401.6517
> web:       www.cimne.com
>



-- 

Dr. Riccardo Rossi, Civil Engineer

Member of Kratos Team

International Center for Numerical Methods in Engineering - CIMNE
Campus Norte, Edificio C1

c/ Gran Capitán s/n

08034 Barcelona, España

Tel:        (+34) 93 401 56 96

Fax:       (+34) 93.401.6517
web:       www.cimne.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20131028/a5090496/attachment.html 


More information about the Trilinos-Users mailing list