An update on this error :

I deleted the whole Work folder and tried to reinstall all packages using the 
rhel6 platform, with following packages (with versions if different then those 
set by default) :

PACKAGES=(
bzip2
git # 1.9.0
python # 2.7.6
openmpi # 1.8.1
boost # 1_55_0
cmake # 2.8.12.2
swig # 3.0.0
# libxml2 # 2.9.1 -> crashed /usr/bin/ld: cannot find -lpython2.7
pcre # 8.35
libffi # 3.0.13
glib2 # 2.40.0
vtk
gmp # 6.0.0
mpfr
cgal # 4.4
ply
blas
eigen
lapack # 3.5.0
ipython # 1.2.1
numpy # 1.8.1
cython # 0.20.1
mpi4py # 1.3.1
hdf5 # 1.8.12
h5py # 2.3.0
parmetis # 4.0.3
scientificpython
scipy # 0.14
scotch
petsc # 3.4.4
#trilinos #-> crashes can not find umfpack
petsc4py
skip:petsc # otherwise slepc install crashes
slepc # 3.4.4
fiat
ferari
ufc
ufl
ffc
instant
dolfin
)

I get the exact same error when the dolfin package is building.

Imran

11. mai 2014 kl. 12:52 skrev Imran Ali <[email protected]>:

> I am trying to install dolfin using dorsal (with 
> DOLFIN_SKIP_BUILD_TESTS:BOOL=ON) and get the following error :
> 
> ¨Fetching dolfin-1.3.0
> Verifying dolfin-1.3.0
> dolfin-1.3.0.tar.gz: OK
> Unpacking dolfin-1.3.0
> Building dolfin-1.3.0
> patching file demo/undocumented/plot-qt/cpp/CMakeLists.txt
> Reversed (or previously applied) patch detected!  Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file 
> demo/undocumented/plot-qt/cpp/CMakeLists.txt.rej
> patching file dolfin/CMakeLists.txt
> Reversed (or previously applied) patch detected!  Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file dolfin/CMakeLists.txt.rej
> fatal: Not a git repository (or any parent up to mount point 
> /mn/anatu/studenter-u1)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
> -- 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
> -- Found MPI_C: /mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libmpi.so
> -- Found MPI_CXX: 
> /mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libmpi_cxx.so;/mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libmpi.so
> -- Found MPI_Fortran: 
> /mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libmpi_usempi.so;/mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libmpi_mpifh.so;/mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libmpi.so
> -- Try OpenMP C flag = [-fopenmp]
> -- Performing Test OpenMP_FLAG_DETECTED
> -- Performing Test OpenMP_FLAG_DETECTED - Success
> -- Try OpenMP CXX flag = [-fopenmp]
> -- Performing Test OpenMP_FLAG_DETECTED
> -- Performing Test OpenMP_FLAG_DETECTED - Success
> -- Found OpenMP: -fopenmp
> -- Performing Test OPENMP_UINT_TEST_RUNS
> -- Performing Test OPENMP_UINT_TEST_RUNS - Success
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> --   filesystem
> --   program_options
> --   system
> --   thread
> --   iostreams
> --   mpi
> --   serialization
> --   timer
> --   chrono
> -- UFC version: 2.3.0
> -- Found Eigen3: /mn/anatu/studenter-u1/imranal/Work/FEniCS/include/eigen3 
> (Required is at least version "3.0.0")
> -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.6")
> -- Found PythonInterp: /mn/anatu/studenter-u1/imranal/Work/FEniCS/bin/python 
> (found suitable version "2.7.6", minimum required is "2")
> -- NumPy header version 1.8.1 found
> -- Found SWIG: /mn/anatu/studenter-u1/imranal/Work/FEniCS/bin/swig (found 
> version "3.0.0")
> -- Checking for package 'PETSc'
> -- PETSC_DIR is /mn/anatu/studenter-u1/imranal/Work/FEniCS
> -- PETSC_ARCH is empty
> -- Found petscconf.h
> -- Found PETSc: /mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libpetsc.so 
> (Required is at least version "3.2")
> -- Checking for package 'SLEPc'
> -- SLEPC_DIR is /mn/anatu/studenter-u1/imranal/Work/FEniCS
> -- Found SLEPc: /mn/anatu/studenter-u1/imranal/Work/FEniCS/lib/libslepc.so 
> (Required is at least version "3.2")
> -- Checking for package 'TAO'
> -- TAO_DIR is TAO_DIR-NOTFOUND
> -- TAO could not be found. Be sure to set TAO_DIR, PETSC_DIR, and PETSC_ARCH. 
> (missing:  TAO_LIBRARIES TAO_DIR TAO_INCLUDE_DIRS)
> -- Checking for package 'PETSc4Py'
> -- petsc4py version 3.4 found
> CMake Error at CMakeLists.txt:335 (if):
>  if given arguments:
> 
>    "NOT" "(" "3" "EQUAL" "AND" "4" "EQUAL" ")"
> 
>  Unknown arguments specified
> 
> 
> -- Configuring incomplete, errors occurred!
> See also 
> "/mn/anatu/studenter-u1/imranal/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir/CMakeFiles/CMakeOutput.log".
> Failure with exit status: 1
> Exit message: There was a problem configuring dolfin-1.3.0.
> 
> 
> I have attached my CMakeOutput.log.
> 
> I had managed to successfully build dolfin. However, I encountered an error 
> when importing dolfin (ImportError: No module named common). Apparently 
> dolfin was installed in Work/lib64/python2.6/site-packages and not 
> Work/lib/python2.7/site-packages . So deleted  Work/lib64/python2.6 and 
> reinstalled all fenics packages. And now this error occurs.
> 
> Imran
> 
> Imran
> <CMakeOutput.log>_______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to