[Trilinos-Users] Build regression on BGP

John Cary cary at colorado.edu
Thu Apr 29 13:15:22 MDT 2010


I must not have understood.

I did use --trace:

cmake --trace 
-DCMAKE_INSTALL_PREFIX:PATH=/gpfs/home/projects/facets/intrepid/contrib/trilinos-10.2.0-par 
-DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE 
-DCMAKE_C_COMPILER:FILEPATH='mpixlc_r' 
-DCMAKE_CXX_COMPILER:FILEPATH='mpixlcxx_r' 
-DCMAKE_Fortran_COMPILER:FILEPATH='mpixlf77_r' 
-DCMAKE_C_FLAGS:STRING='-qmaxmem=64000 -qpic' 
-DCMAKE_CXX_FLAGS:STRING='-qmaxmem=64000 -qpic' 
-DCMAKE_Fortran_FLAGS:STRING='-qmaxmem=64000 -qextname=flush -qpic' 
-DTrilinos_ENABLE_Amesos:BOOL=ON -DTrilinos_ENABLE_ML:BOOL=ON 
-DTrilinos_ENABLE_AztecOO:BOOL=ON -DTrilinos_ENABLE_EpetraExt:BOOL=ON 
-DTrilinos_ENABLE_Epetra:BOOL=ON -DTrilinos_ENABLE_Triutils:BOOL=ON 
-DTrilinos_ENABLE_Teuchos:BOOL=ON -DTrilinos_ENABLE_Ifpack:BOOL=ON 
-DTrilinos_ENABLE_Galeri:BOOL=ON -DTrilinos_ENABLE_Anasazi:BOOL=ON 
-DDART_TESTING_TIMEOUT:STRING=600 -DTPL_ENABLE_MPI:BOOL=ON 
-DTeuchos_ENABLE_FLOAT:BOOL=OFF -DTeuchos_ENABLE_COMPLEX:BOOL=OFF 
-DCMAKE_TOOLCHAIN_FILE=/gpfs/home/cary/projects/vpall/numpkgs/Toolchain-BlueGeneP-mpixl.cmake 
-DBUILD_SHARED_LIBS:BOOL=OFF 
-DTPL_LAPACK_LIBRARIES:FILEPATH='/soft/apps/LAPACK/liblapack_bgp.a' 
-DTPL_BLAS_LIBRARIES:FILEPATH='/soft/apps/BLAS/libblas_bgp.a' 
/gpfs/home/cary/projects/vpall/builds/trilinos-10.2.0

but the output is 5 MB, so it will not make it through the list.  
Nevertheless I
looked for the word, and I see

/gpfs/home/projects/facets/intrepid/contrib/cmake-2.8.1-ser/share/cmake-2.8/Modu
les/FortranCInterface.cmake(269):  
unset(FortranCInterface_VERIFY_${lang}_COMPIL
ED CACHE )
/gpfs/home/projects/facets/intrepid/contrib/cmake-2.8.1-ser/share/cmake-2.8/Modu
les/FortranCInterface.cmake(273):  if(NOT 
FortranCInterface_VERIFIED_${lang} AND
  NOT quiet )
/home/cary/projects/vpall/builds/trilinos-10.2.0/cmake/TrilinosFortranMangling.c
make(15):  IF(FC_FUNC_DEFAULT )
/home/cary/projects/vpall/builds/trilinos-10.2.0/cmake/TrilinosFortranMangling.c
make(27):  IF(CYGWIN )
/home/cary/projects/vpall/builds/trilinos-10.2.0/cmake/TrilinosFortranMangling.c
make(41):  MESSAGE(FATAL_ERROR Error, could not determine fortran name 
mangling!
  )
CMake Error at cmake/TrilinosFortranMangling.cmake:41 (MESSAGE):
   Error, could not determine fortran name mangling!
Call Stack (most recent call first):
   cmake/TrilinosProbeEnv.cmake:73 (INCLUDE)
   CMakeLists.txt:347 (INCLUDE)

-- Configuring incomplete, errors occurred!

Pls advise if I need to send anything more... Thx.... John

On 4/29/10 9:54 AM, Brad King wrote:
> John R. Cary wrote:
>    
>> All factors the same, but 10.2.0 fails to configure.
>>      
> [snip]
>    
>> -- Verifying Fortran/CXX Compiler Compatibility - Success
>>      
> This says that CMake's FortranCInterface module successfully detected
> the mangling and verified that Fortran and C++ can be used together
> with these compilers.  This is good.
>
>    
>> CMake Error at cmake/TrilinosFortranMangling.cmake:41 (MESSAGE):
>>     Error, could not determine fortran name mangling!
>> Call Stack (most recent call first):
>>     cmake/TrilinosProbeEnv.cmake:73 (INCLUDE)
>>     CMakeLists.txt:347 (INCLUDE)
>>      
> This message comes from Trilinos's other Fortran mangling detection
> that predates the CMake FortranCInterface module.  There are probably
> messages from it in the configure output.  Please post a more complete
> log.
>
> You can also try running cmake with the "--trace" option to see
> a verbose log of how CMake is processing the input files.  Look
> for FortranMangle.cmake lines running, and for code setting
> FC_FUNC_DEFAULT.
>
> -Brad
>
>    




More information about the Trilinos-Users mailing list