Hi Christopher, I had this problem with Fedora 20. It seems that Petsc installs only a few things from PTScotch package and Fenics expects all the package installed (as you see, Fenics wants to see test elements from this package).
What I did to circumvent it was manually installing PTScotch (parallel version) and direct Fenics to look this installation. Marcelo Rosa. 2014-08-05 16:39 GMT-03:00 Chang, Christopher <[email protected]>: > Hi, > > I am trying as basic a FEniCS installation from source as I can, on a > Linux RHEL6 cluster. > I've installed FFC, fiat, instant, and ufl. I am now working on Dolfin. > The toolchain I'm using is Intel C/CXX compilers version 13.1.3 / the > associated MKL / Intel MPI 4.1.1 / Python 2.7.6 / Boost 1.54.0 > I've built and installed PETSC 3.5.1 and SCOTCH 6.0.0. > After pulling in from the repo, I > - create directory "build"; cd build > - cmake28 .. > - Edit CMAkeCache.txt to resolve PETSc and SCOTCH paths as best as > possible. > - cmake28 .. > The output shows that PETSc is found, but SCOTCH is having a problem: > > -------------- > -- Found SCOTCH (version 6) > -- Performing test SCOTCH_TEST_RUNS > -- Performing test SCOTCH_TEST_RUNS - Failed > -- Performing test SCOTCH_ZLIB_TEST_RUNS > -- Performing test SCOTCH_ZLIB_TEST_RUNS - Failed > -- SCOTCH could not be found. Be sure to set SCOTCH_DIR. (missing: > SCOTCH_TEST_RUNS) > -------------- > > SCOTCH-related Cmake input is > > -------------- > grep -i SCOTCH CMakeCache.txt > //Compile with support for SCOTCH. > DOLFIN_ENABLE_SCOTCH:BOOL=ON > //The PTSCOTCH-ESMUMPS library > //The PTSCOTCH-ERROR library > PTSCOTCHERR_LIBRARY:FILEPATH=/home/cchang/lib64/libptscotcherr.a > //The PTSCOTCH library > PTSCOTCH_LIBRARY:FILEPATH=/home/cchang/lib64/libptscotch.a > //The SCOTCH-ERROR library > SCOTCHERR_LIBRARY:FILEPATH=/home/cchang/lib64/libscotcherr.a > //Directory where the SCOTCH-PT header is located > SCOTCH_INCLUDE_DIRS:PATH=/home/cchang/include > //The SCOTCH library > SCOTCH_LIBRARY:FILEPATH=/home/cchang/lib64/libscotch.a > SCOTCH_VERSION:STRING=6.0.0 > SCOTCH_CONFIG_TEST_VERSION_COMPILED:INTERNAL=TRUE > SCOTCH_CONFIG_TEST_VERSION_EXITCODE:INTERNAL=0 > SCOTCH_TEST_LIB_COMPILED:INTERNAL=TRUE > SCOTCH_TEST_LIB_EXITCODE:INTERNAL=1 > SCOTCH_ZLIB_TEST_LIB_COMPILED:INTERNAL=TRUE > SCOTCH_ZLIB_TEST_LIB_EXITCODE:INTERNAL=1 > -------------- > > I don't know what the PTSCOTCH-ESMUMPS library should be, so that's blank. > I'm not sure how to parse the dolfin error. Is SCOTCH_DIR supposed to be > an environment variable? If so, where should it point? I've tried > /home/cchang, which seems like it should work from > > http://fossies.org/linux/dolfin/cmake/modules/FindSCOTCH.cmake > > but no luck. > > Thanks, > > Chris > > -- > Christopher H. Chang, Ph.D. > Computational Scientist IV > National Renewable Energy Laboratory > 15013 Denver West Parkway, MS ESIF301 > Golden, CO 80401 > Phone (303) 275-3751 > Fax (303) 275-4007 > > _______________________________________________ > 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
