problems with trilinos/petsc when using dorsal on OS X 10.6.8

Asked by Sander Rhebergen

Dear,
I am trying to install FEniCS using dorsal on a Mac with OS X 10.6.8. Unfortunately we are having trouble with either the Trilinos or the PETSc phase of the installation. Some of the errors I get are below. Does someone know what to do?
thanks,
Sander

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 ...

***
*** WARNING: There were no packages configured so no libraries or tests/examples will be built!
***

Exporting library dependencies ...

Finished configuring Trilinos!

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/rhebergens/Work/FEniCS/src/trilinos-10.10.2-Source/dorsal_build_dir
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/include/Trilinos_version.h
-- Installing: /usr/local/include/Trilinos_version.h
-- Installing: /usr/local/lib/cmake/Trilinos/TrilinosConfig.cmake
-- Installing: /usr/local/include/Makefile.export.Trilinos
-- Up-to-date: /usr/local/lib/cmake/Trilinos/TrilinosConfigVersion.cmake
-- Installing: /usr/local/include/TrilinosConfig.cmake
Fetching petsc-3.2-p6
Unpacking petsc-3.2-p6
Building petsc-3.2-p6
patching file src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu.rej
patching file src/mat/impls/aij//seq/seqcusp/aijAssemble.cu
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/mat/impls/aij//seq/seqcusp/aijAssemble.cu.rej
  File "./config/configure.py", line 280, in petsc_configure
    framework = config.framework.Framework(['--configModules=PETSc.Configure','--optionsModule=PETSc.compilerOptions']+sys.argv[1:], loadArgDB = 0)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 110, in __init__
    self.createChildren()
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 316, in createChildren
    self.getChild(moduleName)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 301, in getChild
    config.setupDependencies(self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/PETSc/Configure.py", line 61, in setupDependencies
    utilityObj = self.framework.require('PETSc.'+d+'.'+utilityName, self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 321, in require
    config = self.getChild(moduleName, keywordArgs)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 299, in getChild
    config.setup()
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/script.py", line 82, in setup
    logger.Logger.setup(self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/logger.py", line 83, in setup
    args.ArgumentProcessor.setup(self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/args.py", line 75, in setup
    self.setupArguments(self.argDB)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/script.py", line 67, in setupArguments
    self.setupHelp(self.help)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/package.py", line 88, in setupHelp
    help.addArgument(self.PACKAGE,'-with-'+self.package+'-include=<dirs>',nargs.ArgDirList(None,None,'Indicate the directory of the '+self.name+' include files'))
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/help.py", line 104, in addArgument
    self.argDB.setType(self.getArgName(name), argType, forceLocal = 1)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/RDict.py", line 209, in setType
    value.setValue(v.getValue())
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/nargs.py", line 375, in setValue
    raise ValueError('Invalid directory: '+str(dir)+' for key '+str(self.key))
===============================================================================
             Configuring PETSc to compile on your system
===============================================================================
*******************************************************************************
                ERROR in COMMAND LINE ARGUMENT to ./configure
-------------------------------------------------------------------------------
Invalid directory: /Users/rhebergens/Work/FEniCS/include/trilinos for key with-ml-include
*******************************************************************************

makefile:14: darwin10.6.0-cxx-opt/conf/petscvariables: No such file or directory
/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/conf/variables:95: /Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/darwin10.6.0-cxx-opt/conf/petscvariables: No such file or directory
/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/conf/rules:1000: /Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/darwin10.6.0-cxx-opt/conf/petscrules: No such file or directory
make: *** No rule to make target `/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/darwin10.6.0-cxx-opt/conf/petscrules'. Stop.

Question information

Language:
English Edit question
Status:
Answered
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :
#1

Try to remove the dorsal_build_dir folder in the Trilinos source directory (usually in ~/Work/FEniCS/src/Trilinos-source-10.10.2/dorsal_build_dir). Then run Dorsal again. The problem with PETSc should be fixed when Trilinos has been built successfully.

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#2

I gave that a try, but now I get the following error with Trilinos:

[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_vector/adapter_support/Thyra_SpmdVectorSpaceUtilities.cpp.o
Linking CXX shared library libamesos.dylib
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/interfaces/operator_solve/fundamental/Thyra_LinearOpWithSolveBase.cpp.o
Undefined symbols for architecture x86_64:
  "_cholmod_start", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_start)
  "_cholmod_transpose", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_transpose_sym, _amesos_cholmod_transpose_unsym , _amesos_cholmod_transpose )
  "_cholmod_analyze", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_free_sparse", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_free_sparse)
  "_cholmod_free_factor", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_print_common", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_finish", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_finish)
  "_SuiteSparse_time", referenced from:
      _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o)
      _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [packages/amesos/src/libamesos.dylib] Error 1
make[1]: *** [packages/amesos/src/CMakeFiles/amesos.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/interfaces/operator_solve/fundamental/Thyra_LinearOpWithSolveFactoryBase.cpp.o
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/interfaces/operator_solve/fundamental/Thyra_PreconditionerFactoryBase.cpp.o
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultAdjointLinearOpWithSolve.cpp.o
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultBlockedTriangularLinearOpWithSolve.cpp.o
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultBlockedTriangularLinearOpWithSolveFactory.cpp.o
[ 53%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultInverseLinearOp.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultLinearOpSource.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultMultiVectorLinearOpWithSolve.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultPreconditioner.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultSerialDenseLinearOpWithSolve.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultSerialDenseLinearOpWithSolveFactory.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DelayedLinearOpWithSolve.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DelayedLinearOpWithSolveFactory.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_LinearOpWithSolveTester.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/interfaces/nonlinear/model_evaluator/fundamental/Thyra_ModelEvaluatorBase.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_DefaultFiniteDifferenceModelEvaluator.cpp.o
[ 54%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_DirectionalFiniteDiffCalculator.cpp.o
[ 55%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_ScaledModelEvaluator.cpp.o
Linking CXX shared library libthyracore.dylib
[ 55%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-10.10.2-Source.

Revision history for this message
Johannes Ring (johannr) said :
#3

This looks like a bug in Trilinos. I have made a patch and added it in the development version of Dorsal. Make sure you remove the complete Trilinos source folder before you try it out.

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#4

Unfortunately I am getting the same error messages as before stopping at

[ 55%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-10.10.2-Source.

Revision history for this message
Johannes Ring (johannr) said :
#5

Did you pull the latest development version of Dorsal? If you did, then please make sure that the patch was applied successfully by looking at the output from Dorsal. It should be near the top, looking something like this:

 ...
 Fetching trilinos-10.10.2-Source
 Unpacking trilinos-10.10.2-Source
 Building trilinos-10.10.2-Source
 patching file cmake/TPLs/FindTPLUMFPACK.cmake
 patching file packages/PyTrilinos/src/CMakeLists.txt

Also look at the dorsal_build_dir/CMakeCache.txt file in the Trilinos source directory. What does the line starting with TPL_UMFPACK_LIBRARIES look like?

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#6

I pulled the latest development version of Dorsal. This is the output:

make: `../libmetis.a' is up to date.
make: `../libparmetis.a' is up to date.
Fetching trilinos-10.10.2-Source
Unpacking trilinos-10.10.2-Source
Building trilinos-10.10.2-Source
patching file cmake/TPLs/FindTPLUMFPACK.cmake
patching file packages/PyTrilinos/src/CMakeLists.txt

When looking at the dorsal_build_dir/CMakeCache.txt file in the Trilinos source directory, the line you refer to looks like this:
TPL_UMFPACK_LIBRARIES:FILEPATH=/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a

Revision history for this message
Johannes Ring (johannr) said :
#7

Looks good except for the TPL_UMFPACK_LIBRARIES line. For me, this line looks like this:

 TPL_UMFPACK_LIBRARIES:FILEPATH=/opt/local/lib/libumfpack.a;/opt/local/lib/libamd.a;/opt/local/lib/libSuiteSparse.dylib

The last part, containing libSuiteSparse.dylib, is what is missing in your case, however, that should have been added by the patch. You can add this library manually in the CMakeLists.txt file, but it would be good to know why it fails. What does the cmake/TPLs/FindTPLUMFPACK.cmake file in the Trilinos source directory look like (without the header) after patching?

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#8

I changed the line manually to:

TPL_UMFPACK_LIBRARIES:FILEPATH=/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSparse.dylib

and I now obtain the following errors:

-- Up-to-date: /Users/rhebergens/Work/FEniCS/lib/CGAL/UseESBTL.cmake
-- Up-to-date: /Users/rhebergens/Work/FEniCS/lib/CGAL/UseCGAL.cmake
-- Up-to-date: /Users/rhebergens/Work/FEniCS/lib/CGAL/CGALConfig.cmake
-- Up-to-date: /Users/rhebergens/Work/FEniCS/share/man/man1/cgal_create_cmake_script.1
-- Installing: /Users/rhebergens/Work/FEniCS/lib/libCGAL.9.0.0.dylib
-- Up-to-date: /Users/rhebergens/Work/FEniCS/lib/libCGAL.9.dylib
-- Up-to-date: /Users/rhebergens/Work/FEniCS/lib/libCGAL.dylib
Fetching ParMetis-3.2.0
Unpacking ParMetis-3.2.0
Building ParMetis-3.2.0
Substitution loop at -e line 1, <> line 4.
Failure with exit status: 12
Exit message: There was a problem in build setup for ParMetis-3.2.0.

This is what cmake/TPLs/FindTPLUMFPACK.cmake looks like:

if (APPLE)
  TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK
    REQUIRED_HEADERS umfpack.h amd.h UFconfig.h
    REQUIRED_LIBS_NAMES umfpack amd SuiteSparse
    )
else()
  TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK
    REQUIRED_HEADERS umfpack.h amd.h UFconfig.h
    REQUIRED_LIBS_NAMES umfpack amd
    )
endif()

Revision history for this message
Johannes Ring (johannr) said :
#9

This is strange. Now it suddenly fails to build ParMETIS, which built fine earlier according to post #6. The error message is not much to work with either. Maybe you should just start over by removing everything in ~/Work/FEniCS.

The FindTPLUMFPACK.cmake file looks correct now at least.

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#10

I removed everything in ~/Work/FEniCS and ran ./dorsal again. I got some error messages so I manually changed

TPL_UMFPACK_LIBRARIES:FILEPATH=/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSparse.dylib

as you mentioned before. I now end up with the following error messages like I started out with in the beginning (see below). I don't think it would make much sense for me to delete the dorsal_build_dir folder in the Trilinos source directory because then I'd be deleting again the dorsal_build_dir/CMakeCache.txt file. Any idea?

Probing the environment ...

-- Setting CMAKE_BUILD_TYPE=RELEASE since it was not set ...
-- CMAKE_BUILD_TYPE='RELEASE'
-- The C compiler identification is GNU 4.6.3
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Users/rhebergens/Work/FEniCS/bin/mpicc
-- Check for working C compiler: /Users/rhebergens/Work/FEniCS/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.6.3
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Users/rhebergens/Work/FEniCS/bin/mpicxx
-- Check for working CXX compiler: /Users/rhebergens/Work/FEniCS/bin/mpicxx -- 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: /opt/local/bin/gfortran
-- Check for working Fortran compiler: /opt/local/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/local/bin/gfortran supports Fortran 90
-- Checking whether /opt/local/bin/gfortran supports Fortran 90 -- yes
-- Trilinos_HOSTNAME='Sander-Rherbergens-MacBook-Pro.local'
-- CMAKE_HOST_SYSTEM_NAME='Darwin'
-- 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: /opt/local/bin/perl (found version "5.12.4")
-- 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 - Failed
-- 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 - Failed
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

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/libpthread.dylib
-- TPL_Pthread_LIBRARIES='/usr/lib/libpthread.dylib'
-- 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!

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 ...

***
*** WARNING: There were no packages configured so no libraries or tests/examples will be built!
***

Exporting library dependencies ...

Finished configuring Trilinos!

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

    UMFPACK_INCLUDE_DIRS

-- Build files have been written to: /Users/rhebergens/Work/FEniCS/src/trilinos-10.10.2-Source/dorsal_build_dir
Install the project...
-- Install configuration: "RELEASE"
-- Installing: /usr/local/include/Trilinos_version.h
-- Installing: /usr/local/include/Trilinos_version.h
-- Installing: /usr/local/lib/cmake/Trilinos/TrilinosConfig.cmake
-- Installing: /usr/local/include/Makefile.export.Trilinos
-- Installing: /usr/local/lib/cmake/Trilinos/TrilinosConfigVersion.cmake
-- Installing: /usr/local/include/TrilinosConfig.cmake
Fetching petsc-3.2-p6
--2012-08-20 15:16:21-- http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.2-p6.tar.gz
Resolving ftp.mcs.anl.gov (ftp.mcs.anl.gov)... 140.221.6.23
Connecting to ftp.mcs.anl.gov (ftp.mcs.anl.gov)|140.221.6.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19641667 (19M) [application/x-gzip]
Saving to: ‘petsc-3.2-p6.tar.gz’

100%[==================================================================================================================>] 19,641,667 467KB/s in 73s

2012-08-20 15:17:34 (263 KB/s) - ‘petsc-3.2-p6.tar.gz’ saved [19641667/19641667]

Unpacking petsc-3.2-p6
Building petsc-3.2-p6
patching file src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu
patching file src/mat/impls/aij//seq/seqcusp/aijAssemble.cu
  File "./config/configure.py", line 280, in petsc_configure
    framework = config.framework.Framework(['--configModules=PETSc.Configure','--optionsModule=PETSc.compilerOptions']+sys.argv[1:], loadArgDB = 0)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 110, in __init__
    self.createChildren()
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 316, in createChildren
    self.getChild(moduleName)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 301, in getChild
    config.setupDependencies(self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/PETSc/Configure.py", line 61, in setupDependencies
    utilityObj = self.framework.require('PETSc.'+d+'.'+utilityName, self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 321, in require
    config = self.getChild(moduleName, keywordArgs)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/framework.py", line 299, in getChild
    config.setup()
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/script.py", line 82, in setup
    logger.Logger.setup(self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/logger.py", line 83, in setup
    args.ArgumentProcessor.setup(self)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/args.py", line 75, in setup
    self.setupArguments(self.argDB)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/script.py", line 67, in setupArguments
    self.setupHelp(self.help)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/config/package.py", line 88, in setupHelp
    help.addArgument(self.PACKAGE,'-with-'+self.package+'-include=<dirs>',nargs.ArgDirList(None,None,'Indicate the directory of the '+self.name+' include files'))
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/help.py", line 104, in addArgument
    self.argDB.setType(self.getArgName(name), argType, forceLocal = 1)
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/RDict.py", line 209, in setType
    value.setValue(v.getValue())
  File "/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/config/BuildSystem/nargs.py", line 375, in setValue
    raise ValueError('Invalid directory: '+str(dir)+' for key '+str(self.key))
===============================================================================
             Configuring PETSc to compile on your system
===============================================================================
*******************************************************************************
                ERROR in COMMAND LINE ARGUMENT to ./configure
-------------------------------------------------------------------------------
Invalid directory: /Users/rhebergens/Work/FEniCS/include/trilinos for key with-ml-include
*******************************************************************************

makefile:14: darwin10.6.0-cxx-opt/conf/petscvariables: No such file or directory
/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/conf/variables:95: /Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/darwin10.6.0-cxx-opt/conf/petscvariables: No such file or directory
/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/conf/rules:1000: /Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/darwin10.6.0-cxx-opt/conf/petscrules: No such file or directory
make: *** No rule to make target `/Users/rhebergens/Work/FEniCS/src/petsc-3.2-p6/darwin10.6.0-cxx-opt/conf/petscrules'. Stop.
Failure with exit status: 2
Exit message: There was a problem building petsc-3.2-p6.

Revision history for this message
Johannes Ring (johannr) said :
#11

You can try to add

  -D TPL_UMFPACK_LIBRARIES:FILEPATH=/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSparse.dylib

or maybe

  -D UMFPACK_LIBRARIES:FILEPATH=/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSparse.dylib

to CONFOPTS in dorsal/FEniCS/packages/trilinos.package. Then remove dorsal_build_dir and try again.

Revision history for this message
Garth Wells (garth-wells) said :
#12

I'd suggest that Dorsal be updated to Trilinos 10.12.2. Better debugging current releases than old releases.

Revision history for this message
Johannes Ring (johannr) said :
#13

I tried 10.12.2 yesterday and it had the same problem with UMFPACK so I didn't update. Anyway, I agree and I have updated dorsal-dev to 10.12.2 now.

Revision history for this message
Johannes Ring (johannr) said :
#14

Sander, you will probably need some quotes around the libraries, like this:

CONFOPTS="${CONFOPTS} -D TPL_UMFPACK_LIBRARIES:FILEPATH=\"/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSparse.dylib\""

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#15

I now have the new version of Dorsal and Trilinos 10.12.2 is now trying to be installed. I added

CONFOPTS="${CONFOPTS} -D TPL_UMFPACK_LIBRARIES:FILEPATH=\"/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSparse.dylib\""

and when that did not work

CONFOPTS="${CONFOPTS} -D UMFPACK_LIBRARIES:FILEPATH=\"/Volumes/opt-local/lib/libumfpack.a;/Volumes/opt-local/lib/libamd.a;/Volumes/opt-local/lib/libSuiteSp\arse.dylib\""

to CONFOPTS in dorsal/FEniCS/packages/trilinos.package. In both cases I removed dorsal_build_dir as you mentioned. Below I show the errors I am still getting (for both options):

Using the first option ....TPL_UMFPACK.... I end with:

[ 48%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultSerialDenseLinearOpWithSolve.cpp.o
[ 48%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultSerialDenseLinearOpWithSolveFactory.cpp.o
[ 48%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DelayedLinearOpWithSolve.cpp.o
[ 48%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DelayedLinearOpWithSolveFactory.cpp.o
[ 48%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_LinearOpWithSolveTester.cpp.o
[ 48%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/interfaces/nonlinear/model_evaluator/fundamental/Thyra_ModelEvaluatorBase.cpp.o
[ 49%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_DefaultFiniteDifferenceModelEvaluator.cpp.o
[ 49%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_DirectionalFiniteDiffCalculator.cpp.o
[ 49%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_ScaledModelEvaluator.cpp.o
Linking CXX shared library libthyracore.dylib
[ 49%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-10.12.2-Source.

Using the second option ....UMFPACK.... I end with:

[ 56%] Building CXX object packages/amesos/src/CMakeFiles/amesos.dir/Amesos_Lapack.cpp.o
[ 56%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DelayedLinearOpWithSolve.cpp.o
[ 56%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DelayedLinearOpWithSolveFactory.cpp.o
Linking CXX shared library libamesos.dylib
Undefined symbols for architecture x86_64:
  "_cholmod_start", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_start)
  "_cholmod_transpose", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_transpose_sym, _amesos_cholmod_transpose_unsym , _amesos_cholmod_transpose )
  "_cholmod_analyze", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_free_sparse", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_free_sparse)
  "_cholmod_free_factor", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_print_common", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_finish", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_finish)
  "_SuiteSparse_time", referenced from:
      _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o)
      _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [packages/amesos/src/libamesos.dylib] Error 1
make[1]: *** [packages/amesos/src/CMakeFiles/amesos.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_LinearOpWithSolveTester.cpp.o
[ 56%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/interfaces/nonlinear/model_evaluator/fundamental/Thyra_ModelEvaluatorBase.cpp.o
[ 57%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_DefaultFiniteDifferenceModelEvaluator.cpp.o
[ 57%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_DirectionalFiniteDiffCalculator.cpp.o
[ 57%] Building CXX object packages/thyra/core/src/CMakeFiles/thyracore.dir/support/nonlinear/model_evaluator/client_support/Thyra_ScaledModelEvaluator.cpp.o
Linking CXX shared library libthyracore.dylib
[ 57%] Built target thyracore
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building trilinos-10.12.2-Source.

Revision history for this message
Johannes Ring (johannr) said :
#16

It looks like TPL_UMFPACK_LIBRARIES was the correct one, but the error message was not very helpful. Try removing the Trilinos source folder and add TPL_UMFPACK_LIBRARIES to CONFOPTS like you did. If that doesn't help, you might want to try reverting back to Trilinos 10.10.2. Simply change the version numbers in <dorsal>/FEniCS/packages/trilinos.package.

Note that Trilinos is optional and you can comment it out in your platform file if you don't need it. If your are unsure, then you probably won't need it.

Revision history for this message
Sander Rhebergen (sanderrhebergen) said :
#17

What I did now is basically start from new. I initially tried to install FEniCS using the developer dorsal giving all the problems above. Now I downloaded dorsal-1.0.0.tar.bz2 and tried installing everything again. Initially I had problems again with Trilinos, probably related to the ones we discussed above. Therefore I changed the TPL_UMFPACK_LIBRARIES line in the dorsal_build_dir/CMakeCache.txt file in the Trilinos source directory to

TPL_UMFPACK_LIBRARIES:FILEPATH=/opt/local/lib/libumfpack.a;/opt/local/lib/libamd.a;/opt/local/lib/libSuiteSparse.dylib

Now when I run the installation I run into the errors below. Any idea?

Installing ccache-swig
Installing /Users/rhebergens/Work/FEniCS/bin/ccache-swig
Installing /Users/rhebergens/Work/FEniCS/share/man/man1/ccache-swig.1
Installation complete
Fetching ParMetis-3.2.0
Unpacking ParMetis-3.2.0
Building ParMetis-3.2.0
make: `../libmetis.a' is up to date.
make: `../libparmetis.a' is up to date.
Fetching trilinos-10.8.4-Source
Unpacking trilinos-10.8.4-Source
Building trilinos-10.8.4-Source

Configuring Trilinos build directory

-- TRILINOS_HOME_DIR = /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source
-- TRILINOS_BUILD_DIR = /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir
-- CMAKE_VERSION = 2.8.8
-- Found PythonInterp: /opt/local/bin/python2.7 (Required is at least version "2.4")
PYTHON_EXECUTABLE = /opt/local/bin/python2.7

Setting up major user options ...

Reading the list of extra repositories from /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/ExtraExternalRepositories.cmake

Reading the list of packages from /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/TrilinosPackages.cmake

-- Trilinos_NUM_PACKAGES='50'

Reading the list of TPLs from /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/TrilinosTPLs.cmake

-- Trilinos_NUM_TPLS='53'

Processing Dependencies.cmake files and buliding internal dependencies graph

-- Trilinos_NUM_SE_PACKAGES='79'
-- Tentatively enabling TPL 'Pthread'
-- Tentatively enabling TPL 'BinUtils'

Dumping the XML dependencies file /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/python/data/TrilinosPackageDependencies.xml ...

Dumping the HTML dependencies webpage file /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/python/data/TrilinosPackageDependenciesTable.html ...

Dumping the CDash XML dependencies file /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/python/data/CDashSubprojectDependencies.xml ...

***
*** Warning: Setting Trilinos_ENABLE_ForTrilinos=OFF because Trilinos_ENABLE_Fortran=OFF!
***

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

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

Explicitly disabled packages on input (by user or by default): Amesos2 ForTrilinos 2

Explicitly disabled SE packages on input (by user or by default): Amesos2 ForTrilinos 2

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

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

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

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

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

-- Setting Trilinos_ENABLE_Teuchos=ON because PyTrilinos_ENABLE_Teuchos=ON
-- Setting Trilinos_ENABLE_Epetra=ON because PyTrilinos_ENABLE_Epetra=ON
-- Setting Trilinos_ENABLE_Triutils=ON because PyTrilinos_ENABLE_Triutils=ON
-- Setting Trilinos_ENABLE_EpetraExt=ON because PyTrilinos_ENABLE_EpetraExt=ON
-- Setting Trilinos_ENABLE_Isorropia=ON because PyTrilinos_ENABLE_Isorropia=ON
-- Setting Trilinos_ENABLE_AztecOO=ON because PyTrilinos_ENABLE_AztecOO=ON
-- Setting Trilinos_ENABLE_Galeri=ON because PyTrilinos_ENABLE_Galeri=ON
-- Setting Trilinos_ENABLE_Amesos=ON because PyTrilinos_ENABLE_Amesos=ON
-- Setting Trilinos_ENABLE_Ifpack=ON because PyTrilinos_ENABLE_Ifpack=ON
-- Setting Trilinos_ENABLE_Komplex=ON because PyTrilinos_ENABLE_Komplex=ON
-- Setting Trilinos_ENABLE_Anasazi=ON because PyTrilinos_ENABLE_Anasazi=ON
-- Setting Trilinos_ENABLE_Pliris=ON because PyTrilinos_ENABLE_Pliris=ON
-- Setting Trilinos_ENABLE_ML=ON because PyTrilinos_ENABLE_ML=ON
-- Setting Trilinos_ENABLE_NOX=ON because PyTrilinos_ENABLE_NOX=ON
-- Setting Trilinos_ENABLE_ThyraCore=ON because NOX_ENABLE_ThyraCore=ON
-- Setting Trilinos_ENABLE_ThyraEpetraAdapters=ON because NOX_ENABLE_ThyraEpetraAdapters=ON
-- Setting Trilinos_ENABLE_ThyraEpetraExtAdapters=ON because NOX_ENABLE_ThyraEpetraExtAdapters=ON
-- Setting Trilinos_ENABLE_Belos=ON because NOX_ENABLE_Belos=ON
-- Setting Trilinos_ENABLE_Stratimikos=ON because NOX_ENABLE_Stratimikos=ON
-- Setting Trilinos_ENABLE_Tpetra=ON because Anasazi_ENABLE_Tpetra=ON
-- Setting Trilinos_ENABLE_Zoltan=ON because ML_ENABLE_Zoltan=ON
-- Setting Trilinos_ENABLE_Kokkos=ON because Isorropia_ENABLE_Kokkos=ON
-- Setting Trilinos_ENABLE_RTOp=ON because ThyraCore_ENABLE_RTOp=ON
-- Setting Trilinos_ENABLE_ThreadPool=ON because Kokkos_ENABLE_ThreadPool=ON

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

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

-- Setting Kokkos_ENABLE_ThreadPool=ON since Trilinos_ENABLE_Kokkos=ON AND Trilinos_ENABLE_ThreadPool=ON
-- Setting Tpetra_ENABLE_Epetra=ON since Trilinos_ENABLE_Tpetra=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting EpetraExt_ENABLE_Triutils=ON since Trilinos_ENABLE_EpetraExt=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting EpetraExt_ENABLE_Zoltan=ON since Trilinos_ENABLE_EpetraExt=ON AND Trilinos_ENABLE_Zoltan=ON
-- Setting Isorropia_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Isorropia=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Isorropia_ENABLE_Tpetra=ON since Trilinos_ENABLE_Isorropia=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Isorropia_ENABLE_Kokkos=ON since Trilinos_ENABLE_Isorropia=ON AND Trilinos_ENABLE_Kokkos=ON
-- Setting AztecOO_ENABLE_Teuchos=ON since Trilinos_ENABLE_AztecOO=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting Galeri_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Amesos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Amesos_ENABLE_Triutils=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Amesos_ENABLE_Galeri=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting Ifpack_ENABLE_Amesos=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Ifpack_ENABLE_AztecOO=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Ifpack_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Ifpack_ENABLE_Galeri=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting ML_ENABLE_Teuchos=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting ML_ENABLE_Epetra=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting ML_ENABLE_Zoltan=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Zoltan=ON
-- Setting ML_ENABLE_Galeri=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting ML_ENABLE_Amesos=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting ML_ENABLE_Ifpack=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting ML_ENABLE_AztecOO=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting ML_ENABLE_EpetraExt=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting ML_ENABLE_Isorropia=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting Belos_ENABLE_Epetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Belos_ENABLE_Tpetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Belos_ENABLE_Triutils=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Belos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Belos_ENABLE_Ifpack=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting Belos_ENABLE_ML=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_ML=ON
-- Setting Stratimikos_ENABLE_Amesos=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Stratimikos_ENABLE_AztecOO=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Stratimikos_ENABLE_Belos=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Stratimikos_ENABLE_Ifpack=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting Stratimikos_ENABLE_ML=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_ML=ON
-- Setting Stratimikos_ENABLE_Triutils=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Stratimikos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Anasazi_ENABLE_Tpetra=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Anasazi_ENABLE_Epetra=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Anasazi_ENABLE_ThyraCore=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_ThyraCore=ON
-- Setting Anasazi_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Anasazi_ENABLE_Triutils=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Anasazi_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Anasazi_ENABLE_Ifpack=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting Anasazi_ENABLE_Amesos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Anasazi_ENABLE_AztecOO=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Anasazi_ENABLE_Belos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Belos=ON
-- Setting NOX_ENABLE_Epetra=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting NOX_ENABLE_EpetraExt=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting NOX_ENABLE_ThyraCore=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraCore=ON
-- Setting NOX_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting NOX_ENABLE_ThyraEpetraExtAdapters=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraEpetraExtAdapters=ON
-- Setting NOX_ENABLE_Amesos=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting NOX_ENABLE_AztecOO=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting NOX_ENABLE_Ifpack=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting NOX_ENABLE_ML=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ML=ON
-- Setting NOX_ENABLE_Belos=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Belos=ON
-- Setting NOX_ENABLE_Anasazi=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Anasazi=ON
-- Setting NOX_ENABLE_Stratimikos=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Stratimikos=ON
-- Setting NOX_ENABLE_Isorropia=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting PyTrilinos_ENABLE_Teuchos=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting PyTrilinos_ENABLE_Epetra=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting PyTrilinos_ENABLE_Triutils=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting PyTrilinos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting PyTrilinos_ENABLE_Isorropia=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting PyTrilinos_ENABLE_AztecOO=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting PyTrilinos_ENABLE_Galeri=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting PyTrilinos_ENABLE_Amesos=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting PyTrilinos_ENABLE_Ifpack=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting PyTrilinos_ENABLE_Komplex=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Komplex=ON
-- Setting PyTrilinos_ENABLE_Anasazi=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Anasazi=ON
-- Setting PyTrilinos_ENABLE_Pliris=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_Pliris=ON
-- Setting PyTrilinos_ENABLE_ML=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_ML=ON
-- Setting PyTrilinos_ENABLE_NOX=ON since Trilinos_ENABLE_PyTrilinos=ON AND Trilinos_ENABLE_NOX=ON

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

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

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

-- Setting Teuchos_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting ThreadPool_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- Setting ThreadPool_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting Epetra_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting Zoltan_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting Tpetra_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting EpetraExt_ENABLE_UMFPACK=ON since TPL_ENABLE_UMFPACK=ON
-- Setting Amesos_ENABLE_UMFPACK=ON since TPL_ENABLE_UMFPACK=ON
-- Setting ML_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting NOX_ENABLE_LAPACK=ON since TPL_ENABLE_LAPACK=ON
-- Setting NOX_ENABLE_BLAS=ON since TPL_ENABLE_BLAS=ON

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

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

Final set of enabled packages: Teuchos ThreadPool RTOp Kokkos Epetra Zoltan Triutils Tpetra EpetraExt Isorropia Pliris AztecOO Galeri Amesos Ifpack Komplex ML Belos Stratimikos Anasazi NOX PyTrilinos 22

Final set of enabled SE packages: Teuchos ThreadPool RTOp Kokkos Epetra Zoltan Triutils Tpetra EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters Isorropia Pliris AztecOO Galeri Amesos Ifpack Komplex ML Belos Stratimikos Anasazi NOX PyTrilinos 25

Final set of non-enabled packages: TrilinosFramework Sacado Shards GlobiPack Thyra OptiPack Amesos2 Pamgen SEACAS Ifpack2 FEI Teko TriKota Intrepid STK Phalanx Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos Didasko Optika Mesquite 28

Final set of non-enabled SE packages: TrilinosFramework Sacado Shards GlobiPack ThyraTpetraAdapters Thyra OptiPack Amesos2 Pamgen SEACASExodus SEACASExodus_for SEACASNemesis SEACASIoss SEACASChaco SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASAlgebra SEACASAprepro SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab SEACASExotxt SEACASGjoin SEACASGrope SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice SEACASNemspread SEACASTxtexo SEACAS Ifpack2 FEI Teko TriKota Intrepid STK Phalanx Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos Didasko Optika Mesquite 54

Final set of enabled TPLs: Pthread MPI BLAS LAPACK UMFPACK 5

Final set of non-enabled TPLs: Peano CUDA Thrust Cusp TBB BinUtils ARPREC QD Boost Scotch METIS ParMETIS PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU Zlib MA28 AMD PETSC HYPRE BLACS SCALAPACK MUMPS PARDISO_MKL Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest BoostLib OpenNURBS 48

Probing the environment ...

-- CMAKE_BUILD_TYPE='Release'
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- Leaving current CMAKE_C_COMPILER=mpicc since it is already set!
-- Leaving current CMAKE_CXX_COMPILER=mpicxx since it is already set!
-- MPI_EXEC='/usr/bin/mpiexec'
-- MPI_EXEC='/usr/bin/mpiexec'
-- CMAKE_C_COMPILER_ID='GNU'
-- CMAKE_CXX_COMPILER_ID='GNU'
-- Trilinos_HOSTNAME='Sander-Rherbergens-MacBook-Pro.local'
-- CMAKE_HOST_SYSTEM_NAME='Darwin'
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

Getting information for all enabled TPLs ...

-- Processing enabled TPL: Pthread
-- Attempting to enable tentatively enabled TPL 'Pthread' ...
-- TPL_Pthread_LIBRARIES='/usr/lib/libpthread.dylib'
-- 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='/usr/lib/libblas.dylib'
-- TPL_BLAS_INCLUDE_DIRS=''
-- Processing enabled TPL: LAPACK
-- TPL_LAPACK_LIBRARIES='/usr/lib/liblapack.dylib'
-- TPL_LAPACK_INCLUDE_DIRS=''
-- Processing enabled TPL: UMFPACK
-- TPL_UMFPACK_LIBRARIES='/opt/local/lib/libumfpack.a;/opt/local/lib/libamd.a;/opt/local/lib/libSuiteSparse.dylib'
-- TPL_UMFPACK_INCLUDE_DIRS='/opt/local/include'

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 (Libs, )
Processing enabled package: ThreadPool (Libs, )
Processing enabled package: RTOp (Libs, )
Processing enabled package: Kokkos (Libs, )
Processing enabled package: Epetra (Libs, )
Processing enabled package: Zoltan (Libs, )
Processing enabled package: Triutils (Libs, )
Processing enabled package: Tpetra (Libs, )
Processing enabled package: EpetraExt (Libs, )
Processing enabled package: Thyra (Core, EpetraAdapters, EpetraExtAdapters, )
Processing enabled package: Isorropia (Libs, )
Processing enabled package: Pliris (Libs, )
     Building the double precision(default) library
Processing enabled package: AztecOO (Libs, )
Processing enabled package: Galeri (Libs, )
Processing enabled package: Amesos (Libs, )
Processing enabled package: Ifpack (Libs, )
Processing enabled package: Komplex (Libs, )
Processing enabled package: ML (Libs, )
Processing enabled package: Belos (Libs, )
Processing enabled package: Stratimikos (Libs, )
Processing enabled package: Anasazi (Libs, )
Processing enabled package: NOX (Libs, )
Processing enabled package: PyTrilinos (Libs, )
-- Found PythonInterp: /opt/local/bin/python2.7 (Required is at least version "2.2")
-- Enabled PyTrilinos modules:
-- Teuchos;Epetra;TriUtils;EpetraExt;Isorropia;Pliris;AztecOO;Galeri;Amesos;IFPACK;Komplex;Anasazi;ML;NOX
-- PyTrilinos installation path: /Users/rhebergens/Work/FEniCS/lib/python2.7/site-packages/PyTrilinos

Exporting library dependencies ...

-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= mpicc
CMAKE_CXX_COMPILER= mpicxx

Configuring Trilinos build directory

-- TRILINOS_HOME_DIR = /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source
-- TRILINOS_BUILD_DIR = /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir
-- CMAKE_VERSION = 2.8.8
-- Found PythonInterp: /opt/local/bin/python2.7 (Required is at least version "2.4")
PYTHON_EXECUTABLE = /opt/local/bin/python2.7

Setting up major user options ...

Reading the list of extra repositories from /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/ExtraExternalRepositories.cmake

Reading the list of packages from /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/TrilinosPackages.cmake

-- Trilinos_NUM_PACKAGES='50'

Reading the list of TPLs from /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/TrilinosTPLs.cmake

-- Trilinos_NUM_TPLS='53'

Processing Dependencies.cmake files and buliding internal dependencies graph

-- Trilinos_NUM_SE_PACKAGES='79'
-- Tentatively enabling TPL 'Pthread'
-- Tentatively enabling TPL 'BinUtils'

Dumping the XML dependencies file /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/python/data/TrilinosPackageDependencies.xml ...

Dumping the HTML dependencies webpage file /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/python/data/TrilinosPackageDependenciesTable.html ...

Dumping the CDash XML dependencies file /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/cmake/python/data/CDashSubprojectDependencies.xml ...

Explicitly enabled packages on input (by user): 0

Explicitly enabled SE packages on input (by user): 0

Explicitly disabled packages on input (by user or by default): Amesos2 ForTrilinos 2

Explicitly disabled SE packages on input (by user or by default): Amesos2 ForTrilinos 2

Explicitly enabled TPLs on input (by user): Pthread BinUtils 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 forward required packages and optional intra-package support that have a dependancy on disabled packages Trilinos_ENABLE_<PACKAGE>=OFF ...

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

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

Enabling all optional intra-package enables <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 ...

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

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

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

Final set of enabled packages: 0

Final set of enabled SE packages: 0

Final set of non-enabled packages: TrilinosFramework Teuchos ThreadPool Sacado RTOp Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra EpetraExt Thyra OptiPack Isorropia Pliris AztecOO Galeri Amesos2 Amesos Pamgen SEACAS Ifpack Komplex ML Belos Ifpack2 Stratimikos FEI Anasazi Teko TriKota Intrepid STK Phalanx NOX Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos PyTrilinos Didasko Optika Mesquite 50

Final set of non-enabled SE packages: TrilinosFramework Teuchos ThreadPool Sacado RTOp Kokkos Epetra Zoltan Shards GlobiPack Triutils Tpetra EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters ThyraTpetraAdapters Thyra OptiPack Isorropia Pliris 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 SEACASGrope SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice SEACASNemspread SEACASTxtexo SEACAS Ifpack Komplex ML Belos Ifpack2 Stratimikos FEI Anasazi Teko TriKota Intrepid STK Phalanx NOX Moertel TrilinosCouplings Rythmos MOOCHO Stokhos Piro Sundance CTrilinos ForTrilinos PyTrilinos Didasko Optika Mesquite 79

Final set of enabled TPLs: Pthread BinUtils 2

Final set of non-enabled TPLs: Peano CUDA Thrust Cusp TBB ARPREC QD MPI BLAS LAPACK Boost Scotch METIS ParMETIS PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Netcdf y12m SuperLUDist SuperLUMT SuperLU Zlib UMFPACK MA28 AMD PETSC HYPRE BLACS SCALAPACK MUMPS PARDISO_MKL Oski TAUCS ForUQTK Dakota HIPS HDF5 MATLAB CASK SPARSKIT QT gtest BoostLib OpenNURBS 51

Probing the environment ...

-- Setting CMAKE_BUILD_TYPE=RELEASE since it was not set ...
-- CMAKE_BUILD_TYPE='RELEASE'
-- The C compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/mpicc
-- Check for working C compiler: /usr/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.2.1
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/mpicxx
-- Check for working CXX compiler: /usr/bin/mpicxx -- 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: /usr/local/bin/gfortran
-- Check for working Fortran compiler: /usr/local/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/bin/gfortran supports Fortran 90
-- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes
-- Trilinos_HOSTNAME='Sander-Rherbergens-MacBook-Pro.local'
-- CMAKE_HOST_SYSTEM_NAME='Darwin'
-- 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: /opt/local/bin/perl (found version "5.12.4")
-- Warning, cannot automatically determine Fortran mangling.
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Failed to recognize symbols
-- Verifying Fortran/CXX Compiler Compatibility
CMake Warning (dev) at /opt/local/share/cmake-2.8/Modules/FortranCInterface.cmake:215 (message):
  No FortranCInterface mangling known for VerifyFortran
Call Stack (most recent call first):
  CMakeLists.txt:24 (FortranCInterface_HEADER)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Verifying Fortran/CXX Compiler Compatibility - Failed
CMake Error at /opt/local/share/cmake-2.8/Modules/FortranCInterface.cmake:284 (message):
  The Fortran compiler:

    /usr/local/bin/gfortran

  and the CXX compiler:

    /usr/bin/mpicxx

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

    Change Dir: /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX

    Run Build Command:/usr/bin/make
    /opt/local/bin/cmake -H/opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify -B/Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX --check-build-system CMakeFiles/Makefile.cmake 0
    /opt/local/bin/cmake -E cmake_progress_start /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/progress.marks
    /usr/bin/make -f CMakeFiles/Makefile2 all
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
    cd /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
    Scanning dependencies of target VerifyFortran
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/requires
    make[2]: Nothing to be done for `CMakeFiles/VerifyFortran.dir/requires'.
    /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
    /opt/local/bin/cmake -E cmake_progress_report /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 1
    [ 25%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
    /usr/local/bin/gfortran -DVERIFY_CXX -I/Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX -c /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
    Linking Fortran static library libVerifyFortran.a
    /opt/local/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
    /opt/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
    /usr/bin/ar cr libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
    /usr/bin/ranlib libVerifyFortran.a
    /opt/local/bin/cmake -E cmake_progress_report /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 1
    [ 25%] Built target VerifyFortran
    /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend
    cd /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake
    Scanning dependencies of target VerifyFortranC
    /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build
    /opt/local/bin/cmake -E cmake_progress_report /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 2
    [ 50%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o
    /usr/bin/mpicc -DVERIFY_CXX -I/Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify/main.c
    /opt/local/bin/cmake -E cmake_progress_report /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 3
    [ 75%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o
    /usr/bin/mpicc -DVERIFY_CXX -I/Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify/VerifyC.c
    /opt/local/bin/cmake -E cmake_progress_report /Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX/CMakeFiles 4
    [100%] Building CXX object CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o
    /usr/bin/mpicxx -DVERIFY_CXX -I/Users/rhebergens/Work/FEniCS/src/trilinos-10.8.4-Source/dorsal_build_dir/CMakeFiles/FortranCInterface/VerifyCXX -o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o -c /opt/local/share/cmake-2.8/Modules/FortranCInterface/Verify/VerifyCXX.cxx
    Linking CXX executable VerifyFortranC
    /opt/local/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
    /usr/bin/mpicxx -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o CMakeFiles/VerifyFortranC.dir/VerifyCXX.cxx.o -o VerifyFortranC -L/usr/local/lib/gcc/powerpc-apple-darwin9.0.0/4.3.0 -L/usr/local/lib libVerifyFortran.a -lgfortranbegin -lgfortran
    ld: warning: in libVerifyFortran.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
    ld: warning: in /usr/local/lib/gcc/powerpc-apple-darwin9.0.0/4.3.0/libgfortranbegin.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
    ld: warning: in /usr/local/lib/libgfortran.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
    ld: warning: in /usr/local/lib/gcc/powerpc-apple-darwin9.0.0/4.3.0/libgcc.a, file was built for unsupported file format which is not the architecture being linked (x86_64)
    Undefined symbols:
      "_VerifyFortran", referenced from:
          _main in main.c.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    make[2]: *** [VerifyFortranC] Error 1
    make[1]: *** [CMakeFiles/VerifyFortranC.dir/all] Error 2
    make: *** [all] Error 2

Call Stack (most recent call first):
  cmake/TrilinosFortranMangling.cmake:66 (FortranCInterface_VERIFY)
  cmake/TrilinosProbeEnv.cmake:128 (INCLUDE)
  CMakeLists.txt:234 (INCLUDE)

-- Configuring incomplete, errors occurred!
Failure with exit status: 1
Exit message: There was a problem configuring trilinos-10.8.4-Source.

Revision history for this message
Johannes Ring (johannr) said :
#18

It looks like you have some problems with the compiler you have installed in /usr/local. It seems to be built for a different architecture than what you are running on.

Besides that, I would recommend to use the development version of Dorsal.

Can you help with this problem?

Provide an answer of your own, or ask Sander Rhebergen for more information if necessary.

To post a message you must log in.