[cmake-developers] [CMake 0013871]: reconfiguring causes failure in fortran module

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 23 10:16:43 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13871 
====================================================================== 
Reported By:                Roger Pawlowski
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13871
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-23 10:16 EST
Last Modified:              2013-01-23 10:16 EST
====================================================================== 
Summary:                    reconfiguring causes failure in fortran module
Description: 
Hi,

I am a Trilinos developer and have been using cmake to build trilinos for a few
years now.  When I recently upgraded cmake from 2.8.8 to 2.8.10.2, I noticed
that there is now a configure issue.  In my normal workflow, I sometimes need to
reconfigure.  I always remove the CMakeCache.txt file when reconfiguring, but
after switching to 2.8.10.2, a reconfiguration of the trilinos project will fail
unless I also remove the entire CMakeFiles directory also. It has to do with the
cmake test for making a combined c++ fortran executable.

In the additional information section, I have placed the output from a clean
configure and then immediately afterward rerun the configure to generate the
error.  This workflow worked fine until the latest release.  It looks like
something is not being cleaned out properly in the compiler tests.

The failure message is:

-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Failed
CMake Error at
/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface.cmake:288
(message):
  The Fortran compiler:

    /home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77

  and the CXX compiler:

    /home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiCC

  failed to compile a simple test project using both languages.  The output
  was:

    Change Dir: /home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
    
    Run Build Command:/usr/bin/make
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake
-H/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface/Verify
-B/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
--check-build-system CMakeFiles/Makefile.cmake 0
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -E cmake_progress_start
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/progress.marks
    /usr/bin/make -f CMakeFiles/Makefile2 all
    make[1]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make
CMakeFiles/VerifyFortran.dir/depend
    make[2]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    cd /home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX &&
/home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -E cmake_depends "Unix Makefiles"
/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface/Verify
/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface/Verify
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
    make[2]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make
CMakeFiles/VerifyFortran.dir/requires
    make[2]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    make[2]: Nothing to be done for `CMakeFiles/VerifyFortran.dir/requires'.
    make[2]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make
CMakeFiles/VerifyFortran.dir/build
    make[2]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    Linking Fortran static library libVerifyFortran.a
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -P
CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -E cmake_link_script
CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
    "" cr libVerifyFortran.a  CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
    Error running link command: No such file or directory
    make[2]: *** [libVerifyFortran.a] Error 2
    make[2]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    make[1]: *** [CMakeFiles/VerifyFortran.dir/all] Error 2
    make[1]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    make: *** [all] Error 2
    
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsFortranMangling.cmake:66
(FortranCInterface_VERIFY)
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1245 (INCLUDE)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:242 (TRIBITS_SETUP_ENV)
  cmake/tribits/package_arch/TribitsProject.cmake:91 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:88 (TRIBITS_PROJECT)


-- Configuring incomplete, errors occurred!



Steps to Reproduce: 
Configure Trilinos with fortran support.  I have attached a file with a simple
script for building a single package in trilinos.

1. run the script to configure trilinos
2. run the script again and get the failure.

Additional Information: 

rppawlo at drekar:~/BUILD$ ./build_teuchos.sh

Configuring Trilinos build directory

-- PROJECT_SOURCE_DIR='/home/rppawlo/Trilinos'
-- PROJECT_BINARY_DIR='/home/rppawlo/BUILD'
-- CMAKE_VERSION = 2.8.10.2
-- Found PythonInterp: /usr/bin/python2.7 (Required is at least version "2.4") 
-- PYTHON_EXECUTABLE='/usr/bin/python2.7'

Setting up major user options ...

--   Setting Trilinos_ENABLE_TriKota=OFF because
'/home/rppawlo/Trilinos/./packages/TriKota/Dakota' does not exit!

Reading the list of packages from /home/rppawlo/Trilinos/./PackagesList.cmake

-- Trilinos_NUM_PACKAGES='64'

Reading the list of TPLs from /home/rppawlo/Trilinos/./TPLsList.cmake

-- Trilinos_NUM_TPLS='73'

Processing Project, Repository, and Package dependency files and building
internal dependencies graph ...

-- Trilinos_NUM_SE_PACKAGES='112'
-- Tentatively enabling TPL 'Pthread'

Dumping the XML dependencies file
/home/rppawlo/Trilinos/cmake/dependencies/TrilinosPackageDependencies.xml ...

Dumping the HTML dependencies webpage file
/home/rppawlo/Trilinos/cmake/dependencies/TrilinosPackageDependenciesTable.html
...

Dumping the CDash XML dependencies file
/home/rppawlo/Trilinos/cmake/dependencies/CDashSubprojectDependencies.xml ...

Explicitly enabled packages on input (by user):  Teuchos 1

Explicitly enabled SE packages on input (by user):  Teuchos 1

Explicitly disabled packages on input (by user or by default):  Claps Amesos2
Trios ShyLU TriKota Phdmesh Aristos ForTrilinos WebTrilinos NewPackage
MeshingGenie 11

Explicitly disabled SE packages on input (by user or by default):  KokkosArray
Claps Amesos2 Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms
Triosexamples Triostests Triosnetcdf-service Trios ShyLU TriKota Phdmesh Aristos
ForTrilinos WebTrilinos NewPackage MeshingGenie 20

Explicitly enabled TPLs on input (by user):  Pthread MPI 2

Explicitly disabled TPLs on input (by user or by default):  0

Disabling all packages that have a required dependency on disabled TPLs and
optional package TPL support based on TPL_ENABLE_<TPL>=OFF ...


Disabling subpackages for hard disables of parent packages
Trilinos_ENABLE_<PARENT_PACKAGE>=OFF ...


Disabling forward required packages and optional intra-package support that have
a dependancy on disabled packages Trilinos_ENABLE_<TRIBITS_PACKAGE>=OFF ...


Enabling all optional packages for current set of enabled packages because
Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=ON ...

-- Setting Trilinos_ENABLE_TeuchosCore=ON because Teuchos has an optional
dependence on TeuchosCore
-- Setting Trilinos_ENABLE_TeuchosParameterList=ON because Teuchos has an
optional dependence on TeuchosParameterList
-- Setting Trilinos_ENABLE_TeuchosComm=ON because Teuchos has an optional
dependence on TeuchosComm
-- Setting Trilinos_ENABLE_TeuchosNumerics=ON because Teuchos has an optional
dependence on TeuchosNumerics
-- Setting Trilinos_ENABLE_TeuchosRemainder=ON because Teuchos has an optional
dependence on TeuchosRemainder

Enabling all remaining required packages for the current set of enabled packages
...


Enabling all optional intra-package enables
<TRIBITS_PACKAGE>_ENABLE_<DEPPACKAGE> that are not currently disabled if both
sets of packages are enabled ...


Enabling all remaining required TPLs for current set of enabled packages ...

-- Setting TPL_ENABLE_BLAS=ON because it is required by the enabled package
TeuchosNumerics
-- Setting TPL_ENABLE_LAPACK=ON because it is required by the enabled package
TeuchosNumerics

Enabling all optional package TPL support for currently enabled TPLs ...

-- Setting TeuchosCore_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON

Enabling TPLs based on <TRIBITS_PACKAGE>_ENABLE_<TPL>=ON if TPL is not
explicitly disabled ...


Set cache entries for optional packages/TPLs and tests/examples for packages
actually enabled ...


Enabling all packages not yet enabled that have at least one subpackage enabled
...


Final set of enabled packages:  Teuchos 1

Final set of enabled SE packages:  TeuchosCore TeuchosParameterList TeuchosComm
TeuchosNumerics TeuchosRemainder Teuchos 6

Final set of non-enabled packages:  TrilinosFramework ThreadPool Sacado RTOp
Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra EpetraExt Xpetra Thyra
OptiPack Isorropia Pliris Claps AztecOO Galeri Amesos2 Amesos Pamgen SEACAS
Trios Ifpack Komplex ML Belos Anasazi Zoltan2 Ifpack2 ShyLU Stratimikos FEI Teko
RBGen TriKota Intrepid STK Phalanx Phdmesh NOX Moertel TrilinosCouplings Rythmos
MOOCHO Aristos MueLu Stokhos Piro Panzer Sundance CTrilinos ForTrilinos
PyTrilinos WebTrilinos Didasko NewPackage Optika Mesquite MeshingGenie FEApp 63

Final set of non-enabled SE packages:  TrilinosFramework ThreadPool Sacado RTOp
KokkosClassic KokkosArray Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra
EpetraExt Xpetra ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters
ThyraTpetraAdapters Thyra OptiPack Isorropia Pliris Claps AztecOO Galeri Amesos2
Amesos Pamgen SEACASExodus SEACASExodus_for SEACASNemesis SEACASIoss SEACASChaco
SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASAlgebra SEACASAprepro
SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab
SEACASExotxt SEACASGjoin SEACASGen3D SEACASGenshell SEACASGrepos SEACASGrope
SEACASMapvarlib SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice
SEACASNemspread SEACASTxtexo SEACAS Trioscommsplitter Triossupport Triosnnti
Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios
Ifpack Komplex ML Belos Anasazi Zoltan2 Ifpack2 ShyLU Stratimikos FEI Teko RBGen
TriKota Intrepid STK Phalanx Phdmesh NOX Moertel TrilinosCouplings Rythmos
MOOCHO Aristos MueLu Stokhos Piro Panzer Sundance CTrilinos ForTrilinos
PyTrilinos WebTrilinos Didasko NewPackage Optika Mesquite MeshingGenie FEApp 106

Final set of enabled TPLs:  Pthread MPI BLAS LAPACK 4

Final set of non-enabled TPLs:  MKL yaml-cpp Peano CUDA CUSPARSE Thrust Cusp TBB
HWLOC BinUtils ARPREC QD Boost Scotch OVIS METIS ParMETIS PaToH CppUnit ADOLC
ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU
Zlib UMFPACK MA28 AMD CSparse PETSC HYPRE BLACS SCALAPACK MUMPS PARDISO_MKL
PARDISO Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest
BoostLib OpenNURBS Portals CrayPortals Gemini InfiniBand Pablo HPCToolkit
Pnetcdf Clp GLPK qpOASES Matio PAPI MATLABLib 69

Probing the environment ...

-- CMAKE_BUILD_TYPE='DEBUG'
-- MPI_BASE_DIR='/home/rppawlo/install/gnu4.7.2/openmpi'
-- MPI_BIN_DIR='/home/rppawlo/install/gnu4.7.2/openmpi/bin'
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- Leaving current
CMAKE_C_COMPILER=/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpicc since it is
already set!
-- Leaving current
CMAKE_CXX_COMPILER=/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiCC since it is
already set!
-- Leaving current
CMAKE_Fortran_COMPILER=/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77 since
it is already set!
-- MPI_EXEC='/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiexec'
-- The C compiler identification is GNU 4.7.2
-- Check for working C compiler:
/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpicc
-- Check for working C compiler:
/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_C_COMPILER_ID='GNU'
-- The CXX compiler identification is GNU 4.7.2
-- Check for working CXX compiler:
/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiCC
-- Check for working CXX compiler:
/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiCC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_CXX_COMPILER_ID='GNU'
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler:
/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77
-- Check for working Fortran compiler:
/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77 supports
Fortran 90
-- Checking whether /home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77 supports
Fortran 90 -- yes
-- Trilinos_HOSTNAME='drekar'
-- CMAKE_HOST_SYSTEM_NAME='Linux'
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include time.h
-- Looking for C++ include time.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Found Perl: /usr/bin/perl (found version "5.14.2") 
-- Fortran name mangling: LOWER UNDER
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Performing Test MATH_LIBRARY_IS_SUPPLIED
-- Performing Test MATH_LIBRARY_IS_SUPPLIED - Success
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISNAN
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISNAN - Success
-- Performing Test FINITE_VALUE_HAVE_STD_ISNAN
-- Performing Test FINITE_VALUE_HAVE_STD_ISNAN - Success
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISINF
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISINF - Success
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.1.2") 

Getting information for all enabled TPLs ...

-- Processing enabled TPL: Pthread
--   Attempting to enable tentatively enabled TPL 'Pthread' ...
--   Searching for library 'pthread' ...
--     Found Pthread TPL library: /usr/lib/x86_64-linux-gnu/libpthread.so
--   TPL_Pthread_LIBRARIES='/usr/lib/x86_64-linux-gnu/libpthread.so'
--     Found Pthread TPL header: /usr/include/pthread.h
--   Found Pthread TPL header path: /usr/include
--   TPL_Pthread_INCLUDE_DIRS='/usr/include'
--   Attempt to enable tentatively enabled TPL 'Pthread' passed!
-- Processing enabled TPL: MPI
-- Processing enabled TPL: BLAS
--   TPL_BLAS_LIBRARIES='/home/rppawlo/install/gnu4.7.2/blas/libblas.a'
--   TPL_BLAS_INCLUDE_DIRS=''
-- Processing enabled TPL: LAPACK
--   TPL_LAPACK_LIBRARIES='/home/rppawlo/install/gnu4.7.2/lapack/liblapack.a'
--   TPL_LAPACK_INCLUDE_DIRS=''

Setting up testing support ...

-- CTEST_DROP_METHOD='http'
-- CTEST_DROP_SITE='testing.sandia.gov'
-- CTEST_PROJECT_NAME='Trilinos'
-- CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
-- CTEST_TRIGGER_SITE=''
-- CTEST_DROP_SITE_CDASH='TRUE'

Configuring individual enabled Trilinos packages ...

Processing enabled package: Teuchos (Core, ParameterList, Comm, Numerics,
Remainder)
-- Performing Test HAVE_GCC_ABI_DEMANGLE
-- Performing Test HAVE_GCC_ABI_DEMANGLE - Success
-- Performing Test HAVE_TEUCHOS_BLASFLOAT
-- Performing Test HAVE_TEUCHOS_BLASFLOAT - Success
-- Performing Test LAPACK_SLAPY2_WORKS
-- Performing Test LAPACK_SLAPY2_WORKS - Success
-- Performing Test HAVE_TEUCHOS_LAPACKLARND
-- Performing Test HAVE_TEUCHOS_LAPACKLARND - Failed

No ETI support requested by packages.


Finished configuring Trilinos!

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    Trilinos_ENABLE_EXPORT_MAKEFILES


-- Build files have been written to: /home/rppawlo/BUILD
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ 
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ ./build_teuchos.sh

Configuring Trilinos build directory

-- PROJECT_SOURCE_DIR='/home/rppawlo/Trilinos'
-- PROJECT_BINARY_DIR='/home/rppawlo/BUILD'
-- CMAKE_VERSION = 2.8.10.2
-- Found PythonInterp: /usr/bin/python2.7 (Required is at least version "2.4") 
-- PYTHON_EXECUTABLE='/usr/bin/python2.7'

Setting up major user options ...

--   Setting Trilinos_ENABLE_TriKota=OFF because
'/home/rppawlo/Trilinos/./packages/TriKota/Dakota' does not exit!

Reading the list of packages from /home/rppawlo/Trilinos/./PackagesList.cmake

-- Trilinos_NUM_PACKAGES='64'

Reading the list of TPLs from /home/rppawlo/Trilinos/./TPLsList.cmake

-- Trilinos_NUM_TPLS='73'

Processing Project, Repository, and Package dependency files and building
internal dependencies graph ...

-- Trilinos_NUM_SE_PACKAGES='112'
-- Tentatively enabling TPL 'Pthread'

Dumping the XML dependencies file
/home/rppawlo/Trilinos/cmake/dependencies/TrilinosPackageDependencies.xml ...

Dumping the HTML dependencies webpage file
/home/rppawlo/Trilinos/cmake/dependencies/TrilinosPackageDependenciesTable.html
...

Dumping the CDash XML dependencies file
/home/rppawlo/Trilinos/cmake/dependencies/CDashSubprojectDependencies.xml ...

Explicitly enabled packages on input (by user):  Teuchos 1

Explicitly enabled SE packages on input (by user):  Teuchos 1

Explicitly disabled packages on input (by user or by default):  Claps Amesos2
Trios ShyLU TriKota Phdmesh Aristos ForTrilinos WebTrilinos NewPackage
MeshingGenie 11

Explicitly disabled SE packages on input (by user or by default):  KokkosArray
Claps Amesos2 Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms
Triosexamples Triostests Triosnetcdf-service Trios ShyLU TriKota Phdmesh Aristos
ForTrilinos WebTrilinos NewPackage MeshingGenie 20

Explicitly enabled TPLs on input (by user):  Pthread MPI 2

Explicitly disabled TPLs on input (by user or by default):  0

Disabling all packages that have a required dependency on disabled TPLs and
optional package TPL support based on TPL_ENABLE_<TPL>=OFF ...


Disabling subpackages for hard disables of parent packages
Trilinos_ENABLE_<PARENT_PACKAGE>=OFF ...


Disabling forward required packages and optional intra-package support that have
a dependancy on disabled packages Trilinos_ENABLE_<TRIBITS_PACKAGE>=OFF ...


Enabling all optional packages for current set of enabled packages because
Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=ON ...

-- Setting Trilinos_ENABLE_TeuchosCore=ON because Teuchos has an optional
dependence on TeuchosCore
-- Setting Trilinos_ENABLE_TeuchosParameterList=ON because Teuchos has an
optional dependence on TeuchosParameterList
-- Setting Trilinos_ENABLE_TeuchosComm=ON because Teuchos has an optional
dependence on TeuchosComm
-- Setting Trilinos_ENABLE_TeuchosNumerics=ON because Teuchos has an optional
dependence on TeuchosNumerics
-- Setting Trilinos_ENABLE_TeuchosRemainder=ON because Teuchos has an optional
dependence on TeuchosRemainder

Enabling all remaining required packages for the current set of enabled packages
...


Enabling all optional intra-package enables
<TRIBITS_PACKAGE>_ENABLE_<DEPPACKAGE> that are not currently disabled if both
sets of packages are enabled ...


Enabling all remaining required TPLs for current set of enabled packages ...

-- Setting TPL_ENABLE_BLAS=ON because it is required by the enabled package
TeuchosNumerics
-- Setting TPL_ENABLE_LAPACK=ON because it is required by the enabled package
TeuchosNumerics

Enabling all optional package TPL support for currently enabled TPLs ...

-- Setting TeuchosCore_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON

Enabling TPLs based on <TRIBITS_PACKAGE>_ENABLE_<TPL>=ON if TPL is not
explicitly disabled ...


Set cache entries for optional packages/TPLs and tests/examples for packages
actually enabled ...


Enabling all packages not yet enabled that have at least one subpackage enabled
...


Final set of enabled packages:  Teuchos 1

Final set of enabled SE packages:  TeuchosCore TeuchosParameterList TeuchosComm
TeuchosNumerics TeuchosRemainder Teuchos 6

Final set of non-enabled packages:  TrilinosFramework ThreadPool Sacado RTOp
Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra EpetraExt Xpetra Thyra
OptiPack Isorropia Pliris Claps AztecOO Galeri Amesos2 Amesos Pamgen SEACAS
Trios Ifpack Komplex ML Belos Anasazi Zoltan2 Ifpack2 ShyLU Stratimikos FEI Teko
RBGen TriKota Intrepid STK Phalanx Phdmesh NOX Moertel TrilinosCouplings Rythmos
MOOCHO Aristos MueLu Stokhos Piro Panzer Sundance CTrilinos ForTrilinos
PyTrilinos WebTrilinos Didasko NewPackage Optika Mesquite MeshingGenie FEApp 63

Final set of non-enabled SE packages:  TrilinosFramework ThreadPool Sacado RTOp
KokkosClassic KokkosArray Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra
EpetraExt Xpetra ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters
ThyraTpetraAdapters Thyra OptiPack Isorropia Pliris Claps AztecOO Galeri Amesos2
Amesos Pamgen SEACASExodus SEACASExodus_for SEACASNemesis SEACASIoss SEACASChaco
SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASAlgebra SEACASAprepro
SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab
SEACASExotxt SEACASGjoin SEACASGen3D SEACASGenshell SEACASGrepos SEACASGrope
SEACASMapvarlib SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice
SEACASNemspread SEACASTxtexo SEACAS Trioscommsplitter Triossupport Triosnnti
Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios
Ifpack Komplex ML Belos Anasazi Zoltan2 Ifpack2 ShyLU Stratimikos FEI Teko RBGen
TriKota Intrepid STK Phalanx Phdmesh NOX Moertel TrilinosCouplings Rythmos
MOOCHO Aristos MueLu Stokhos Piro Panzer Sundance CTrilinos ForTrilinos
PyTrilinos WebTrilinos Didasko NewPackage Optika Mesquite MeshingGenie FEApp 106

Final set of enabled TPLs:  Pthread MPI BLAS LAPACK 4

Final set of non-enabled TPLs:  MKL yaml-cpp Peano CUDA CUSPARSE Thrust Cusp TBB
HWLOC BinUtils ARPREC QD Boost Scotch OVIS METIS ParMETIS PaToH CppUnit ADOLC
ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU
Zlib UMFPACK MA28 AMD CSparse PETSC HYPRE BLACS SCALAPACK MUMPS PARDISO_MKL
PARDISO Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest
BoostLib OpenNURBS Portals CrayPortals Gemini InfiniBand Pablo HPCToolkit
Pnetcdf Clp GLPK qpOASES Matio PAPI MATLABLib 69

Probing the environment ...

-- CMAKE_BUILD_TYPE='DEBUG'
-- MPI_BASE_DIR='/home/rppawlo/install/gnu4.7.2/openmpi'
-- MPI_BIN_DIR='/home/rppawlo/install/gnu4.7.2/openmpi/bin'
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- Leaving current
CMAKE_C_COMPILER=/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpicc since it is
already set!
-- Leaving current
CMAKE_CXX_COMPILER=/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiCC since it is
already set!
-- Leaving current
CMAKE_Fortran_COMPILER=/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77 since
it is already set!
-- MPI_EXEC='/home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiexec'
-- CMAKE_C_COMPILER_ID='GNU'
-- CMAKE_CXX_COMPILER_ID='GNU'
-- Trilinos_HOSTNAME='drekar'
-- CMAKE_HOST_SYSTEM_NAME='Linux'
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include time.h
-- Looking for C++ include time.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Found Perl: /usr/bin/perl (found version "5.14.2") 
-- Fortran name mangling: LOWER UNDER
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Failed
CMake Error at
/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface.cmake:288
(message):
  The Fortran compiler:

    /home/rppawlo/install/gnu4.7.2/openmpi/bin/mpif77

  and the CXX compiler:

    /home/rppawlo/install/gnu4.7.2/openmpi/bin/mpiCC

  failed to compile a simple test project using both languages.  The output
  was:

    Change Dir: /home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
    
    Run Build Command:/usr/bin/make
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake
-H/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface/Verify
-B/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
--check-build-system CMakeFiles/Makefile.cmake 0
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -E cmake_progress_start
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/progress.marks
    /usr/bin/make -f CMakeFiles/Makefile2 all
    make[1]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make
CMakeFiles/VerifyFortran.dir/depend
    make[2]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    cd /home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX &&
/home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -E cmake_depends "Unix Makefiles"
/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface/Verify
/home/rppawlo/install/gnu4.7.2/cmake/share/cmake-2.8/Modules/FortranCInterface/Verify
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX
/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
    make[2]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make
CMakeFiles/VerifyFortran.dir/requires
    make[2]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    make[2]: Nothing to be done for `CMakeFiles/VerifyFortran.dir/requires'.
    make[2]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make
CMakeFiles/VerifyFortran.dir/build
    make[2]: Entering directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    Linking Fortran static library libVerifyFortran.a
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -P
CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
    /home/rppawlo/install/gnu4.7.2/cmake/bin/cmake -E cmake_link_script
CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
    "" cr libVerifyFortran.a  CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
    Error running link command: No such file or directory
    make[2]: *** [libVerifyFortran.a] Error 2
    make[2]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    make[1]: *** [CMakeFiles/VerifyFortran.dir/all] Error 2
    make[1]: Leaving directory
`/home/rppawlo/BUILD/CMakeFiles/FortranCInterface/VerifyCXX'
    make: *** [all] Error 2
    
Call Stack (most recent call first):
  cmake/tribits/package_arch/TribitsFortranMangling.cmake:66
(FortranCInterface_VERIFY)
  cmake/tribits/package_arch/TribitsGlobalMacros.cmake:1245 (INCLUDE)
  cmake/tribits/package_arch/TribitsProjectImpl.cmake:242 (TRIBITS_SETUP_ENV)
  cmake/tribits/package_arch/TribitsProject.cmake:91 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:88 (TRIBITS_PROJECT)


-- Configuring incomplete, errors occurred!
]0;rppawlo at drekar: ~/BUILDrppawlo at drekar:~/BUILD$ exit
exit
Script started, file is typescript
Script started, file is typescript
Script done, file is typescript

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-23 10:16 Roger PawlowskiNew Issue                                    
2013-01-23 10:16 Roger PawlowskiFile Added: build_teuchos.sh                    
======================================================================




More information about the cmake-developers mailing list