[Trilinos-Users] [Question] Fortrilinos Installation Problem ( crt1.o , _start , main )
윤기항
ghyun at geosr.com
Wed Jan 11 00:41:42 EST 2017
Hi,
I tried to install Fortrilinos on Linux server.
I got some error message in process to install ForTrilinos_Utils_tests
Below is the error message.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
[ 95%] Building Fortran object packages/ForTrilinos/test/unittests/Utils/CMakeFiles/ForTrilinos_Utils_tests.dir/__/UNITTEST_COMMON/unittest.F90.o
Linking CXX executable ForTrilinos_Utils_tests.exe
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
make[2]: *** [packages/ForTrilinos/test/unittests/Utils/ForTrilinos_Utils_tests.exe] Error 1
make[1]: *** [packages/ForTrilinos/test/unittests/Utils/CMakeFiles/ForTrilinos_Utils_tests.dir/all] Error 2
make: *** [all] Error 2
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
I think this problem similar to the thread.
https://trilinos.org/pipermail/trilinos-users/2009-October/001369.html
I hope to fix this problem by changing my configure options.
Please let me know.
Thanks,
Below is the my configuration
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
cmake \
-DCMAKE_INSTALL_PREFIX=/home/2016/ghyun/trilinos \
-DCMAKE_C_COMPILER=/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/intel64/bin/mpiicc \
-DCMAKE_CXX_COMPILER=/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/intel64/bin/mpiicpc \
-DCMAKE_Fortran_COMPILER=/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/intel64/bin/mpiifort \
-DTPL_ENABLE_MPI=ON \
-DMPI_BASE_DIR=/opt/intel/compilers_and_libraries_2017.1.132/linux/mpi/intel64/bin \
-DTrilinos_ENABLE_CXX11=ON \
-DCMAKE_CXX_FLAGS="-std=c++11" \
-DTPL_ENABLE_MKL=ON \
-DMKL_INCLUDE_DIRS=/opt/intel/compilers_and_libraries_2017.1.132/linux/mkl/include \
-DMKL_LIBRARY_DIRS=/opt/intel/compilers_and_libraries_2017.1.132/linux/mkl/lib/intel64 \
-DTPL_ENABLE_BLAS=ON \
-DTPL_ENABLE_LAPACK=ON \
-DTPL_BLAS_LIBRARIES='-mkl' \
-DTPL_LAPACK_LIBRARIES='-mkl' \
-DTPL_ENABLE_Matio=OFF \
-DTPL_ENABLE_Netcdf:BOOL=ON \
-DNetcdf_INCLUDE_DIRS:PATH=/usr/local/parallel-netcdf/include \
-DNetcdf_LIBRARY_DIRS:PATH=/usr/local/parallel-netcdf/lib \
-DTPL_Netcdf_Enables_Netcdf4:BOOL=ON \
-DTPL_Netcdf_Enables_PNetcdf:BOOL=ON \
-DTrilinos_ENABLE_ALL_PACKAGES=OFF \
-DTrilinos_EXTRA_LINK_FLAGS:STRING="-L/usr/local/netcdf/lib -lpnetcdf -lhdf5_hl -lhdf5" \
-DTrilinos_ENABLE_SEACAS:BOOL=OFF \
-DTrilinos_ENABLE_Epetra=ON \
-DTrilinos_ENABLE_Tpetra=ON \
-DTrilinos_ENABLE_AztecOO=ON \
-DTrilinos_ENABLE_TriUtils=ON \
-DTrilinos_ENABLE_Ifpack=ON \
-DTrilinos_ENABLE_ForTrilinos=ON \
-DTrilinos_ENABLE_TESTS:BOOL=ON \
-DTrilinos_ENABLE_EXAMPLES:BOOL=ON \
/home/2016/ghyun/trilinos/trilinos-12.10.1-Source
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Below is the whole error messeage.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
[ 95%] Generating ForTrilinos_Utils_test_impls-tmp.F90, ForTrilinos_Utils_test_calls.F90, ForTrilinos_Utils_tests.tests, ForTrilinos_Utils_tests.mpitests
[ 95%] Generating ForTrilinos_Utils_test_impls.F90
Scanning dependencies of target ForTrilinos_Utils_tests
[ 95%] Building Fortran object packages/ForTrilinos/test/unittests/Utils/CMakeFiles/ForTrilinos_Utils_tests.dir/ForTrilinos_Utils_test_impls.F90.o
[ 95%] Building Fortran object packages/ForTrilinos/test/unittests/Utils/CMakeFiles/ForTrilinos_Utils_tests.dir/ForTrilinos_Utils_test_calls.F90.o
[ 95%] Building Fortran object packages/ForTrilinos/test/unittests/Utils/CMakeFiles/ForTrilinos_Utils_tests.dir/__/UNITTEST_COMMON/unittest.F90.o
Linking CXX executable ForTrilinos_Utils_tests.exe
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
make[2]: *** [packages/ForTrilinos/test/unittests/Utils/ForTrilinos_Utils_tests.exe] Error 1
make[1]: *** [packages/ForTrilinos/test/unittests/Utils/CMakeFiles/ForTrilinos_Utils_tests.dir/all] Error 2
make: *** [all] Error 2
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170111/665a40b3/attachment.html>
More information about the Trilinos-Users
mailing list