← Back to team overview

dolfin team mailing list archive

Re: [Dorsal] [Branch ~dolfin-core/dolfin/main] Rev 5138: Add MPI flags (if found) to PETSc and SLEPc tests.

 

Try again now.

Garth

On 01/09/10 15:17, Harish Narayanan wrote:
> On 9/1/10 6:39 PM, Garth N. Wells wrote:
>> Could someone with OSX see if this fixes the problem with the PETSc and
>> SLEPc tests when CXX is not set?
> 
> I now run into the following. (I removed dorsal_build_dir before the
> build.) The export CXX=mpic++ doesn't seem to be being caught. And
> notice evil things like 'Parse Error'.
> 
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- 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: /opt/local/bin/gcc
> -- Check for working C compiler: /opt/local/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- 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: /opt/local/bin/c++
> -- Check for working CXX compiler: /opt/local/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Performing Test HAVE_PIPE
> -- Performing Test HAVE_PIPE - Success
> -- Performing Test HAVE_PEDANTIC
> -- Performing Test HAVE_PEDANTIC - Success
> -- Performing Test HAVE_STD
> -- Performing Test HAVE_STD - Success
> -- Performing Test HAVE_DEBUG
> -- Performing Test HAVE_DEBUG - Success
> -- Performing Test HAVE_O2_OPTIMISATION
> -- Performing Test HAVE_O2_OPTIMISATION - Success
> -- Boost version: 1.44.0
> -- Found the following Boost libraries:
> --   filesystem
> --   program_options
> --   system
> -- Checking for package 'Armadillo'
> -- Performing Test ARMADILLO_TEST_RUNS
> -- Performing Test ARMADILLO_TEST_RUNS - Success
> -- Found Armadillo: TRUE
> -- Found LibXml2: /opt/local/lib/libxml2.dylib
> -- Found PythonInterp: /opt/local/bin/python2.6
> -- Found PythonLibs: /usr/lib/libpython2.6.dylib
> -- NumPy headers found
> -- Found MPI: /usr/lib/libmpi_cxx.dylib
> -- Found ParMETIS: /Users/harish/Work/FEniCS/dev/include
> -- Checking for package 'SCOTCH-PT'
> -- Found SCOTCH: /Users/harish/Work/FEniCS/dev/include
> -- Checking for package 'AMD'
> -- Found AMD: /opt/local/include/ufsparse
> -- Checking for package 'BLAS'
> -- Found BLAS: /System/Library/Frameworks/vecLib.framework/Headers
> -- Checking for package 'UMFPACK'
> -- Performing Test UMFPACK_TEST_RUNS
> -- Performing Test UMFPACK_TEST_RUNS - Success
> -- Found UMFPACK: /opt/local/include/ufsparse
> -- Checking for package 'CHOLMOD'
> -- Checking for package 'AMD'
> -- Checking for package 'BLAS'
> -- Checking for package 'LAPACK'
> -- Found LAPACK: /usr/lib/liblapack.dylib
> -- Performing Test CHOLMOD_TEST_RUNS
> -- Performing Test CHOLMOD_TEST_RUNS - Success
> -- Found CHOLMOD: /opt/local/include/ufsparse
> -- Found CHOLMOD:
> /opt/local/lib/libcholmod.a;/opt/local/lib/libamd.a;/opt/local/lib/libcamd.a;/opt/local/lib/libcolamd.a;/opt/local/lib/libccolamd.a;/usr/lib/libatlas.dylib;/Users/harish/Work/FEniCS/dev/lib/libparmetis.a;/opt/local/lib/libmetis.dylib;/usr/lib/liblapack.dylib
> -- Checking for package 'Trilinos'
> -- Checking for package 'MTL4'
> -- Checking for package 'BLAS'
> -- Performing Test MTL4_TEST_RUNS
> -- Performing Test MTL4_TEST_RUNS - Success
> -- Found MTL4: /Users/harish/Work/FEniCS/dev/src/mtl4
> -- Checking for package 'PETSc'
> -- PETSC_DIR is /Users/harish/Work/FEniCS/dev/src/petsc-3.1-p4
> -- PETSC_ARCH is darwin10.0.0-cxx-opt
> -- Found petscconf.h
> -- Performing Test PETSC_TEST_RUNS
> Parse error in command line argument: -D_REENTRANT
> Should be: VAR:type=value
> CMake Error: No cmake script provided.
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
> -- Performing Test PETSC_TEST_RUNS - Failed
> -- PETSc test failed
> -- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH.
> (missing:  PETSC_TEST_RUNS)
> -- Found GMP: /opt/local/include
> -- Checking for package 'CGAL'
> -- Performing Test CGAL_TEST_RUNS
> -- Performing Test CGAL_TEST_RUNS - Success
> -- Found CGAL:
> /opt/local/lib/libCGAL.dylib;/opt/local/lib/libgmpxx.dylib;/opt/local/lib/libmpfr.dylib;/opt/local/lib/libgmp.dylib;/opt/local/lib/libboost_thread-mt.dylib
> -- Found ZLIB: /usr/include
> -- Checking for package 'CPPUNIT'
> -- Found CPPUNIT: /opt/local/include/cppunit
> -- The following optional packages were found:
> -- (OK) MPI
> -- (OK) MTL4
> -- (OK) UMFPACK
> -- (OK) CHOLMOD
> -- (OK) SCOTCH
> -- (OK) PARMETIS
> -- (OK) GMP
> -- (OK) CGAL
> -- (OK) ZLIB
> -- (OK) PYTHON
> -- The following optional packages could not be found:
> -- (**) PETSC
> -- (**) SLEPC
> -- (**) TRILINOS
> -- Configuring incomplete, errors occurred!
> Failure with exit status: 1
> Exit message: There was a problem building dolfin.
> 
> Harish




Follow ups

References