Thanks for this advice. Unfortunately, I still have the issue. I deleted the parmetis and dolfin src directories but that did not seem to help. Where do IDXTYPEWIDTH and REALTYPEWIDTH get defined? Is supposed to occur in the parmetis build?
Thanks, Reuben Here is my output: Fetching dolfin-1.3.0 Unpacking dolfin-1.3.0 Building dolfin-1.3.0 ./dorsal_configure: line 84: declare: TMOUT: readonly variable fatal: Not a git repository (or any of the parent directories): .git -- Boost version: 1.51.0 -- Found the following Boost libraries: -- filesystem -- program_options -- system -- thread -- iostreams -- mpi -- serialization -- timer -- chrono -- UFC version: 2.3.0+ /gpfs/home/rhk12/Work/FEniCS/lib/python2.7/site-packages/numpy/random/__ini t__.py:87: RuntimeWarning: compiletime version 2.7 of module 'mtrand' does not match runtime version 2.6 from mtrand import * /gpfs/home/rhk12/Work/FEniCS/lib/python2.7/site-packages/numpy/random/__ini t__.py:87: RuntimeWarning: compiletime version 2.7 of module 'mtrand' does not match runtime version 2.6 from mtrand import * -- Checking for package 'PETSc' -- PETSC_DIR is /gpfs/home/rhk12/Work/FEniCS -- PETSC_ARCH is empty -- Found petscconf.h -- Performing test PETSC_TEST_RUNS - Success -- PETSc configured without Cusp support -- Checking for package 'SLEPc' -- SLEPC_DIR is /gpfs/home/rhk12/Work/FEniCS -- Performing test SLEPC_TEST_RUNS - Success -- 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 TAO_TEST_RUNS) -- Checking for package 'PETSc4Py' -- Checking for package 'SCOTCH-PT' -- Found SCOTCH (version 6.0.0) -- Performing test SCOTCH_TEST_RUNS -- Performing test SCOTCH_TEST_RUNS - Success -- Checking for package 'AMD' -- Checking for package 'UMFPACK' -- Checking for package 'AMD' -- Checking for package 'CHOLMOD' -- Checking for package 'AMD' -- A library with BLAS API found. -- Checking for package 'CHOLMOD' -- Checking for package 'AMD' -- A library with BLAS API found. -- PASTIX_LIBRARIES /gpfs/home/rhk12/Work/FEniCS/lib/libpastix.a;/usr/lib64/librt.so;/usr/lib64 /libm.so -- A library with BLAS API found. -- Checking for Trilinos -- Trilinos version 11.4.1 found. Checking for components -- Epetra found -- Zoltan found -- ML found -- Ifpack found -- Amesos found -- All necessary Trilinos components found. Trilinos will be enabled. -- Checking for package 'CGAL' -- Checking for package 'Sphinx' -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE SPHINX_VERSION_OK) (Required is at least version "1.1.0") -- Found VTK: /gpfs/home/rhk12/Work/FEniCS/lib/vtk-5.8 (found version "5.8") -- -- The following optional packages were found: -- ------------------------------------------- -- (OK) OPENMP -- (OK) MPI -- (OK) PETSC -- (OK) PETSC4PY -- (OK) SLEPC -- (OK) TRILINOS -- (OK) UMFPACK -- (OK) PASTIX -- (OK) SCOTCH -- (OK) PARMETIS -- (OK) CGAL -- (OK) ZLIB -- (OK) PYTHON -- (OK) HDF5 -- (OK) VTK -- (OK) QT -- -- The following optional packages were not found: -- ----------------------------------------------- -- (**) TAO -- (**) CHOLMOD -- (**) SPHINX -- -- Disabling generation of documentation because Sphinx is missing. -- Configuring done -- Generating done -- Build files have been written to: /gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir ./dorsal_build: line 84: declare: TMOUT: readonly variable make: Entering directory `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir' make[1]: Entering directory `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir' make[2]: Entering directory `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir' make[2]: Leaving directory `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir' make[2]: Entering directory `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir' [ 0%] Building CXX object dolfin/CMakeFiles/dolfin.dir/graph/ParMETIS.cpp.o In file included from /gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dolfin/graph/ParMETIS.cpp:34: /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:33:4: error: #error "Incorrect user-supplied value fo IDXTYPEWIDTH" /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:42:4: error: #error "Incorrect user-supplied value fo REALTYPEWIDTH" In file included from /gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.3.0/dolfin/graph/ParMETIS.cpp:34: /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œidx_t¹ was not declared in this scope /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œvtxdist¹ was not declared in this scope /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œidx_t¹ was not declared in this scope On 1/20/14, 6:49 AM, "Johannes Ring" <[email protected]> wrote: >Any reason you need the old DOLFIN 1.2.0 release? If not, please >update Dorsal and do a full rebuild. This will give you the latest >1.3.0 release and hopefully, you will no longer have this problem. > >Johannes > >On Thu, Jan 16, 2014 at 7:39 PM, Reuben Kraft <[email protected]> wrote: >> Hello, >> >> I am trying to build fenics from source. I¹m at the last step of >>compiling >> dolphin but I am having issues with parmetis. It seems my error is >>similar >> to a previous one: https://bugs.launchpad.net/dolfin/+bug/1072704 >> That issue was resolved by moving to a newer version of parmetis. Any >> suggestions how to fix this? I tried to manually set IDXTYPEWIDTH and >> REALTYPEWIDTH in metis.h but it did not help. >> >> Thank you. >> Reuben >> >> >> [rhk12@cyberstar fenics-project-dorsal-c667be24d0f1]$ ./dorsal.sh >> FEniCS/platforms/contributed/rk_openmpi_rootless.platform >> /usr/bin/which: no gdate in >> >>(/gpfs/home/rhk12/work/CEI/bin:/gpfs/home/rhk12/Work/FEniCS/bin:/usr/loca >>l/bin:/opt/moab/bin:/usr/lpp/mmfs/bin:/usr/global/cmake/2.8.9/bin:/usr/gl >>obal/openmpi/1.6.0/bin:/usr/global/openmpi/1.6.0/gnu/bin:/usr/global/pyth >>on/3.3.2/bin:/gpfs/home/rhk12/work/CEI/bin:/gpfs/home/rhk12/Work/FEniCS/b >>in:/usr/lib64/qt-3.3/bin:/usr/global/pgi/12.5/linux86-64/12.5/bin:/usr/gl >>obal/intel/composer_xe/2013.0.079/composer_xe_2013.0.079/bin/intel64:/usr >>/global/java/jdk1.7.0_21/bin:/usr/global/bin:/usr/local/bin:/opt/moab/bin >>:/usr/lpp/mmfs/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin >>:/sbin:/opt/dell/srvadmin/bin:./:/gpfs/home/rhk12/bin:./) >> Found configuration for project FEniCS. >> Fetching dolfin-1.2.0 >> Unpacking dolfin-1.2.0 >> Building dolfin-1.2.0 >> ./dorsal_configure: line 83: declare: TMOUT: readonly variable >> -- Boost version: 1.51.0 >> -- Found the following Boost libraries: >> -- filesystem >> -- program_options >> -- system >> -- thread >> -- iostreams >> -- mpi >> -- serialization >> -- timer >> -- chrono >> -- UFC version: 2.2.0 >> -- Checking for package 'Armadillo' >> -- A library with BLAS API found. >> -- A library with BLAS API found. >> -- A library with LAPACK API found. >> >>/gpfs/home/rhk12/Work/FEniCS/lib/python2.7/site-packages/numpy/random/__i >>nit__.py:87: >> RuntimeWarning: compiletime version 2.7 of module 'mtrand' does not >>match >> runtime version 2.6 >> from mtrand import * >> -- Checking for package 'PETSc' >> -- PETSC_DIR is /gpfs/home/rhk12/Work/FEniCS >> -- PETSC_ARCH is empty >> -- Found petscconf.h >> -- Performing test PETSC_TEST_RUNS - Success >> -- PETSc configured without Cusp support >> -- Checking for package 'SLEPc' >> -- SLEPC_DIR is /gpfs/home/rhk12/Work/FEniCS >> -- Performing test SLEPC_TEST_RUNS - Success >> -- Checking for package 'SCOTCH-PT' >> -- Found SCOTCH (version 6.0.0) >> -- Performing test SCOTCH_TEST_RUNS >> -- Performing test SCOTCH_TEST_RUNS - Success >> -- Checking for package 'AMD' >> -- Checking for package 'UMFPACK' >> -- Checking for package 'AMD' >> -- Checking for package 'CHOLMOD' >> -- Checking for package 'AMD' >> -- A library with BLAS API found. >> -- Checking for package 'CHOLMOD' >> -- Checking for package 'AMD' >> -- A library with BLAS API found. >> -- PASTIX_LIBRARIES >> >>/gpfs/home/rhk12/Work/FEniCS/lib/libpastix.a;/usr/lib64/librt.so;/usr/lib >>64/libm.so >> -- A library with BLAS API found. >> -- Checking for Trilinos >> -- Trilinos version 11.4.1 found. Checking for components >> -- Epetra found >> -- Zoltan found >> -- ML found >> -- Ifpack found >> -- Amesos found >> -- All necessary Trilinos components found. Trilinos will be enabled. >> -- Checking for package 'CGAL' >> -- Checking for package 'Sphinx' >> -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE SPHINX_VERSION_OK) >> (Required is at least version "1.0.7") >> -- Found VTK: /gpfs/home/rhk12/Work/FEniCS/lib/vtk-5.8 (found version >>"5.8") >> -- >> -- The following optional packages were found: >> -- ------------------------------------------- >> -- (OK) OPENMP >> -- (OK) MPI >> -- (OK) PETSC >> -- (OK) SLEPC >> -- (OK) TRILINOS >> -- (OK) UMFPACK >> -- (OK) PASTIX >> -- (OK) SCOTCH >> -- (OK) PARMETIS >> -- (OK) CGAL >> -- (OK) ZLIB >> -- (OK) PYTHON >> -- (OK) HDF5 >> -- (OK) VTK >> -- (OK) QT >> -- >> -- The following optional packages were not be found: >> -- -------------------------------------------------- >> -- (**) CHOLMOD >> -- (**) SPHINX >> -- >> -- Disabling generation of documentation because Sphinx is missing. >> -- Configuring done >> -- Generating done >> -- Build files have been written to: >> /gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir >> ./dorsal_build: line 83: declare: TMOUT: readonly variable >> make: Entering directory >> `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir' >> make[1]: Entering directory >> `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir' >> make[2]: Entering directory >> `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir' >> make[2]: Leaving directory >> `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir' >> make[2]: Entering directory >> `/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dorsal_build_dir' >> [ 0%] Building CXX object >>dolfin/CMakeFiles/dolfin.dir/graph/ParMETIS.cpp.o >> In file included from >> >>/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dolfin/graph/ParMETIS.cpp:3 >>4: >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:33:4: error: #error >> "Incorrect user-supplied value fo IDXTYPEWIDTH" >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:42:4: error: #error >> "Incorrect user-supplied value fo REALTYPEWIDTH" >> In file included from >> >>/gpfs/home/rhk12/Work/FEniCS/src/dolfin-1.2.0/dolfin/graph/ParMETIS.cpp:3 >>4: >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œvtxdist¹ >>was not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œxadj¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œadjncy¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:66: error: Œvwgt¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œadjwgt¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œwgtflag¹ >>was not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œnumflag¹ >>was not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œidx_t¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œncon¹ was >>not >> declared in this scope >> /gpfs/home/rhk12/Work/FEniCS/include/parmetis.h:67: error: Œidx_t¹ was >>not >> declared in this scope >> >> _______________________________________________ >> 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
