i installed Suitsparse in /home1/03023/rajeswar/lib and /home1/03023/rajeswar/include as lib and include directories.. the package it self is in /home1/03023/rajeswar/Suitsparse from which i built it..
now for dolfin i did the following... ------------------------------------------ cmake -DCMAKE_INSTALL_PREFIX=/home1/03023/rajeswar/ -DCMAKE_PREFIX_PATH=/home/03023/rajeswar -DDOLFIN_ENABLE_SCOTCH=OFF -DGMP_LIBRARIES:FILEPATH=/home1/03023/rajeswar/lib/libgmp.so .. still it gave the same result.. umfpack, cholmod tests failed *with regards..* *M. Sai Rajeswar* *M-tech Computer Technology* *IIT Delhi----------------------------------Cogito Ergo Sum---------* On Tue, Jul 1, 2014 at 2:44 PM, Johannes Ring <[email protected]> wrote: > Have you tried adding the location of where you installed SuiteSparse to > CMAKE_PREFIX_PATH? > > Johannes > > > > On Tue, Jul 1, 2014 at 10:20 AM, Sai Rajeshwar <[email protected]> wrote: > >> hi, >> >> according to the above error i installed umfpack and cholmod through >> suisparse >> >> now when i do cmake for dolfin.. i got the following output >> ------------------------------------------------------ >> >> >> -- Looking for Fortran sgemm >> -- Looking for Fortran sgemm - found >> -- >> >> >> >> >> >> >> >> >> >> >> >> >> * Checking for package 'UMFPACK'-- Checking for package 'AMD'-- Checking >> for package 'CHOLMOD'-- Checking for package 'AMD' -- A library with BLAS >> API found. -- Looking for Fortran cheev-- Looking for Fortran cheev - not >> found-- Performing Test CHOLMOD_TEST_RUNS-- Performing Test >> CHOLMOD_TEST_RUNS - Failed-- Performing Test UMFPACK_TEST_RUNS-- Performing >> Test UMFPACK_TEST_RUNS - Failed -- Checking for package 'CHOLMOD'-- >> Checking for package 'AMD'* >> >> -- A library with BLAS API found. >> -- Could NOT find HDF5 (missing: HDF5 >> >> ------------------------------------- >> did dolfin find umfpack and cholmod.. if so why the tests are failed and >> finally it resulted in ----- >> >> the following... i installed umfpack cholmod >> >> >> i have following >> >> login3$ ls >> libamd.2.3.1.a libcholmod.a librbio.2.1.1.a >> libamd.a libcolamd.2.8.0.a librbio.a >> libbtf.1.2.0.a libcolamd.a libspqr.1.3.1.a >> libbtf.a libcxsparse.3.1.1.a libspqr.a >> libcamd.2.3.1.a libcxsparse.a libsuitesparseconfig.4.0.2.a >> libcamd.a libklu.1.2.1.a libsuitesparseconfig.a >> libccolamd.2.8.0.a libklu.a libumfpack.5.6.1.a >> libccolamd.a libldl.2.1.0.a libumfpack.a >> libcholmod.2.0.1.a libldl.a >> >> ------------------------------------------- >> >> >> The following optional packages were found: >> -- ------------------------------ >> ------------- >> -- (OK) OPENMP >> -- (OK) MPI >> -- (OK) CGAL >> -- (OK) ZLIB >> -- (OK) PYTHON >> -- (OK) SPHINX >> -- (OK) VTK >> -- (OK) QT >> -- >> -- The following optional packages were not enabled: >> -- ------------------------------------------------- >> -- (--) SCOTCH >> >> -- >> -- The following optional packages were not found: >> -- ----------------------------------------------- >> -- (**) PETSC >> -- (**) PETSC4PY >> -- (**) SLEPC >> -- (**) TRILINOS >> -- (**) UMFPACK >> -- (**) CHOLMOD >> -- (**) PASTIX >> -- (**) PARMETIS >> -- (**) HDF5 >> >> >> help me out.. >> >> *with regards..* >> >> *M. Sai Rajeswar* >> *M-tech Computer Technology* >> >> >> *IIT Delhi----------------------------------Cogito Ergo Sum---------* >> >> >> On Fri, Jun 27, 2014 at 6:51 PM, Sai Rajeshwar <[email protected]> >> wrote: >> >>> hi, >>> >>> Im tring to run cpp demos.. now this is all i have done.. making it >>> explicit so that i want to kknow if every thing is allright.. >>> >>> ------------------------------------------------------------------------------------------------------------------------------------ >>> >>> login3$ mkdir build >>> login3$ cd build/ >>> login3$ cmake .. >>> -- The C compiler identification is GNU 4.4.7 >>> >>> -- The CXX compiler identification is GNU 4.4.7 >>> -- Check for working C compiler: /usr/bin/gcc >>> -- Check for working C compiler: /usr/bin/gcc -- works >>> -- Detecting C compiler ABI info >>> -- Detecting C compiler ABI info - done >>> -- Check for working CXX compiler: /usr/bin/c++ >>> -- Check for working CXX compiler: /usr/bin/c++ -- works >>> -- Detecting CXX compiler ABI info >>> -- Detecting CXX compiler ABI info - done >>> CMake Warning at CMakeLists.txt:18 (find_package): >>> By not providing "FindDOLFIN.cmake" in CMAKE_MODULE_PATH this project >>> has >>> asked CMake to find a package configuration file provided by "DOLFIN", >>> but >>> CMake did not find one. >>> >>> Could not find a package configuration file provided by "DOLFIN" with >>> any >>> of the following names: >>> >>> DOLFINConfig.cmake >>> dolfin-config.cmake >>> >>> Add the installation prefix of "DOLFIN" to CMAKE_PREFIX_PATH or set >>> "DOLFIN_DIR" to a directory containing one of the above files. If >>> "DOLFIN" >>> provides a separate development package or SDK, be sure it has been >>> installed. >>> >>> -- Configuring done >>> -- Generating done >>> -- Build files have been written to: /home1/03023 >>> /rajeswar/share/dolfin/demo/documented/poisson/cpp/build >>> >>> >>> ------------------------------------------------- >>> because of that warning i did the following thing and ran 'make ' >>> command incidentally make was successful >>> ------------------cmake again for warnings------------------------------ >>> >>> ogin3$ export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/home1/03023 >>> /rajeswar/ >>> login3$ cmake .. >>> -- Configuring done >>> CMake Warning at CMakeLists.txt:37 (add_executable): >>> >>> Cannot generate a safe runtime search path for target demo_poisson >>> because >>> files in some directories may conflict with libraries in implicit >>> directories: >>> >>> runtime library [libz.so.1] in /usr/lib64 may be hidden by files in: >>> /home1/03023/rajeswar/lib >>> >>> Some of these libraries may not be found correctly. >>> >>> >>> -- Generating done >>> -- Build files have been written to: /home1/03023 >>> /rajeswar/share/dolfin/demo/documented/poisson/cpp/build >>> >>> -------------------------------- >>> make---------------------------------------------------------------------- >>> >>> >>> >>> login3$ make VERBOSE=1 >>> /opt/apps/cmake/2.8.9/bin/cmake >>> -H/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp >>> -B/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build >>> --check-build-system CMakeFiles/Makefile.cmake 0 >>> /opt/apps/cmake/2.8.9/bin/cmake -E cmake_progress_start >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles >>> /home1/03023 >>> /rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles/progress.marks >>> make -f CMakeFiles/Makefile2 all >>> make[1]: Entering directory `/home1/03023 >>> /rajeswar/share/dolfin/demo/documented/poisson/cpp/build' >>> make -f CMakeFiles/demo_poisson.dir/build.make >>> CMakeFiles/demo_poisson.dir/depend >>> make[2]: Entering directory `/home1/03023 >>> /rajeswar/share/dolfin/demo/documented/poisson/cpp/build' >>> cd /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build >>> && /opt/apps/cmake/2.8.9/bin/cmake -E cmake_depends "Unix Makefiles" /home1/ >>> 03023/rajeswar/share/dolfin/demo/documented/poisson/cpp >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles/demo_poisson.dir/DependInfo.cmake >>> --color= >>> Dependee >>> "/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles/demo_poisson.dir/DependInfo.cmake" >>> is newer than depender >>> "/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles/demo_poisson.dir/depend.internal". >>> Dependee >>> "/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles/CMakeDirectoryInformation.cmake" >>> is newer than depender >>> "/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles/demo_poisson.dir/depend.internal". >>> Scanning dependencies of target demo_poisson >>> make[2]: Leaving directory >>> `/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build' >>> make -f CMakeFiles/demo_poisson.dir/build.make >>> CMakeFiles/demo_poisson.dir/build >>> make[2]: Entering directory >>> `/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build' >>> /opt/apps/cmake/2.8.9/bin/cmake -E cmake_progress_report >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles >>> 1 >>> >>> [100%] Building CXX object CMakeFiles/demo_poisson.dir/main.cpp.o >>> /usr/bin/c++ -DDOLFIN_VERSION=\"1.4.0\" -DBOOST_UBLAS_NDEBUG >>> -DDOLFIN_SIZE_T=8 -DHAS_CGAL -DHAS_ZLIB -DHAS_MPI -DHAS_OPENMP -DHAS_QT4 >>> -DHAS_VTK -std=c++0x -Wno-deprecated -frounding-math >>> -fno-strict-aliasing -fopenmp -O2 -g -isystem >>> /home1/03023/rajeswar/include -isystem /usr/include/libxml2 -isystem >>> /opt/apps/intel14/mvapich2/2.0b/include -isystem >>> /home1/03023/rajeswar/include/eigen3 -isystem >>> /home1/03023/rajeswar/boost_1_55_0 -isystem >>> /home1/03023/rajeswar/include/vtk-6.1 -o >>> CMakeFiles/demo_poisson.dir/main.cpp.o -c >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/main.cpp >>> >>> Linking CXX executable demo_poisson >>> /opt/apps/cmake/2.8.9/bin/cmake -E cmake_link_script >>> CMakeFiles/demo_poisson.dir/link.txt --verbose=1 >>> /usr/bin/c++ -std=c++0x -Wno-deprecated -frounding-math >>> -fno-strict-aliasing -fopenmp -O2 -g >>> CMakeFiles/demo_poisson.dir/main.cpp.o -o demo_poisson -rdynamic >>> /home1/03023/rajeswar/lib/libdolfin.so -lxml2 >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_filesystem.so >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_program_options.so >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_system.so >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_thread.so >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_iostreams.so >>> /home1/03023/rajeswar/lib/libCGAL.so >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_thread.so >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_system.so >>> /home1/03023/rajeswar/lib/libgmp.so /home1/03023/rajeswar/lib/libmpfr.so >>> -lz /opt/apps/intel14/mvapich2/2.0b/lib/libmpichcxx.so >>> /opt/apps/intel14/mvapich2/2.0b/lib/libmpich.so >>> /opt/apps/intel14/mvapich2/2.0b/lib/libopa.so >>> /opt/apps/intel14/mvapich2/2.0b/lib/libmpl.so -lQtGui -lQtCore >>> /home1/03023/rajeswar/boost_1_55_0/stage/lib/libboost_iostreams.so >>> /home1/03023/rajeswar/lib/libCGAL.so /home1/03023/rajeswar/lib/libgmp.so >>> /home1/03023/rajeswar/lib/libmpfr.so -lz >>> /opt/apps/intel14/mvapich2/2.0b/lib/libmpichcxx.so >>> /opt/apps/intel14/mvapich2/2.0b/lib/libmpich.so >>> /opt/apps/intel14/mvapich2/2.0b/lib/libopa.so >>> /opt/apps/intel14/mvapich2/2.0b/lib/libmpl.so -lQtGui -lQtCore >>> -Wl,-rpath,/home1/03023/rajeswar/lib:/home1/03023/rajeswar/boost_1_55_0/stage/lib:/opt/apps/intel14/mvapich2/2.0b/lib >>> >>> /usr/bin/ld: warning: libgmp.so.3, needed by >>> /home1/03023/rajeswar/lib/libmpfr.so, may conflict with libgmp.so.10 >>> /usr/bin/ld: warning: libgmp.so.3, needed by >>> /home1/03023/rajeswar/lib/libmpfr.so, may conflict with libgmp.so.10 >>> make[2]: Leaving directory >>> `/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build' >>> /opt/apps/cmake/2.8.9/bin/cmake -E cmake_progress_report >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMakeFiles >>> 1 >>> [100%] Built target demo_poisson >>> make[1]: Leaving directory >>> `/home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build' >>> /opt/apps/cmake/2.8.9/bin/cmake -E cmake_progress_start >>> /home1/03023/rajeswar/share/dolfin/demo/documented/poisson/cpp/build/CMake >>> >>> -------------------------------------------EXECUTION--------------------------------------- >>> >>> now when i execte i get following error >>> >>> login3$ ./demo_poisson >>> Solving linear variational problem. >>> terminate called after throwing an instance of 'std::runtime_error' >>> what(): >>> >>> *** >>> ------------------------------------------------------------------------- >>> *** DOLFIN encountered an error. If you are not able to resolve this >>> issue >>> *** using the information listed below, you can ask for help at >>> *** >>> *** [email protected] >>> *** >>> *** Remember to include the error message listed below and, if possible, >>> *** include a *minimal* running example to reproduce the error. >>> *** >>> *** >>> ------------------------------------------------------------------------- >>> *** Error: Unable to factorize matrix with UMFPACK LU solver >>> (symbolic). >>> *** Reason: UMFPACK has not been installed. >>> *** Where: This error was encountered inside UmfpackLUSolver.cpp. >>> *** Process: unknown >>> *** >>> *** DOLFIN version: 1.4.0 >>> *** Git changeset: >>> *** >>> ------------------------------------------------------------------------- >>> >>> [login3.stampede.tacc.utexas.edu:mpi_rank_0][error_sighandler] Caught >>> error: Aborted (signal 6) >>> >>> ------------------------------------------------------------------------------------------- >>> >>> >>> for python iam stuck at same place >>> >>> >>> thanks.... >>> >>> *with regards..* >>> >>> *M. Sai Rajeswar* >>> *M-tech Computer Technology* >>> >>> >>> *IIT Delhi----------------------------------Cogito Ergo Sum--------- * >>> >>> >>> On Fri, Jun 27, 2014 at 5:39 PM, Johannes Ring <[email protected]> >>> wrote: >>> >>>> Yes, they look okay. What I don't understand is that the flag >>>> -std=c++0x is defined in DOLFIN_CXX_FLAGS in DOLFINConfig.cmake and >>>> DOLFIN_CXX_FLAGS is added to CMAKE_CXX_FLAGS in the CMakeLists.txt for the >>>> demo, but still the flag is not added when compiling the demo. Just to be >>>> sure, can you run the following commands in the C++ poisson demo directory? >>>> >>>> rm -rf build >>>> mkdir build >>>> cd build >>>> cmake .. >>>> make VERBOSE=1 >>>> >>>> Then post the output from the make command here. >>>> >>>> Johannes >>>> >>>> >>>> >>>> On Tue, Jun 24, 2014 at 4:32 PM, Sai Rajeshwar <[email protected]> >>>> wrote: >>>> >>>>> are they fine.. should i reinstall dolfin . >>>>> >>>>> thanks.. >>>>> >>>>> *with regards..* >>>>> >>>>> *M. Sai Rajeswar* >>>>> *M-tech Computer Technology* >>>>> >>>>> >>>>> *IIT Delhi----------------------------------Cogito Ergo Sum--------- * >>>>> >>>>> >>>>> On Tue, Jun 24, 2014 at 6:24 PM, Sai Rajeshwar <[email protected]> >>>>> wrote: >>>>> >>>>>> >>>>>> CMakeCache.txt >>>>>> <https://docs.google.com/file/d/0B02fGs-cS7CeMWhucGQ1Q3lJZlk/edit?usp=drive_web> >>>>>> >>>>>> DOLFINConfig.cmake >>>>>> <https://docs.google.com/file/d/0B02fGs-cS7CeNXZHQ3RoMGNPRm8/edit?usp=drive_web> >>>>>> >>>>>> >>>>>> *with regards..* >>>>>> >>>>>> *M. Sai Rajeswar* >>>>>> *M-tech Computer Technology* >>>>>> >>>>>> >>>>>> *IIT Delhi----------------------------------Cogito Ergo Sum---------* >>>>>> >>>>>> >>>>>> On Tue, Jun 24, 2014 at 6:01 PM, Johannes Ring <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> On Tue, Jun 24, 2014 at 1:11 PM, Sai Rajeshwar <[email protected]> >>>>>>> wrote: >>>>>>> > >>>>>>> > login2$ make >>>>>>> > [100%] Building CXX object CMakeFiles/demo_poisson.dir/main.cpp.o >>>>>>> > In file included from >>>>>>> > >>>>>>> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/type_traits:35, >>>>>>> > from /home1/03023 >>>>>>> /rajeswar/include/dolfin/common/MPI.h:30, >>>>>>> > from >>>>>>> > /home1/03023/rajeswar/include/dolfin/common/dolfin_common.h:17, >>>>>>> > from /home1/03023/rajeswar/include/dolfin.h:10, >>>>>>> > from >>>>>>> > /home1/03023 >>>>>>> /rajeswar/share/dolfin/demo/documented/poisson/cpp/main.cpp:34: >>>>>>> > >>>>>>> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/c++0x_warning.h:31:2: >>>>>>> > error: #error This file requires compiler and library support for >>>>>>> the >>>>>>> > upcoming ISO C++ standard, C++0x. This support is currently >>>>>>> experimental, >>>>>>> > and must be enabled with the -std=c++0x or -std=gnu++0x compiler >>>>>>> options. >>>>>>> >>>>>>> This is the same problem you had with the Python demo, that is, it >>>>>>> does not include the -std=c++0x flag. Can you attach the >>>>>>> CMakeCache.txt file in the demo build directory. Please also attach >>>>>>> DOLFINConfig.cmake (which should be installed in >>>>>>> ~/share/dolfin/cmake/ >>>>>>> in your case). >>>>>>> >>>>>>> Johannes >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
