ok i tried the exporting as you mentioned.. then ran cmake.. ---------------------------------------------------
login3$ cmake -DCMAKE_INSTALL_PREFIX=/home1/03023/rajeswar/ -DCMAKE_PREFIX_PATH=/home/03023/rajeswar -DDOLFIN_ENABLE_SCOTCH=OFF -DDOLFIN_ENABLE_UMFPACK=ON 0-DGMP_LIBRARIES:FILEPATH=/home1/03023/rajeswar/lib/libgmp.so .. -- 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 -- broken CMake Error at /opt/apps/cmake/2.8.9/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /home1/03023/rajeswar/mine/dolfin-1.4.0/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec665115447/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec665115447.dir/build.make CMakeFiles/cmTryCompileExec665115447.dir/build gmake[1]: Entering directory `/home1/03023/rajeswar/mine/dolfin-1.4.0/build/CMakeFiles/CMakeTmp' /opt/apps/cmake/2.8.9/bin/cmake -E cmake_progress_report /home1/03023/rajeswar/mine/dolfin-1.4.0/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec665115447.dir/testCCompiler.c.o /usr/bin/gcc -o CMakeFiles/cmTryCompileExec665115447.dir/testCCompiler.c.o -c /home1/03023/rajeswar/mine/dolfin-1.4.0/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec665115447 /opt/apps/cmake/2.8.9/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec665115447.dir/link.txt --verbose=1 /usr/bin/gcc -L/opt/apps/intel/13/composer_xe_2013_sp1.1.106/mkl/lib/intel64 -lirc CMakeFiles/cmTryCompileExec665115447.dir/testCCompiler.c.o -o cmTryCompileExec665115447 -rdynamic /usr/bin/ld: cannot find -lirc collect2: ld returned 1 exit status gmake[1]: *** [cmTryCompileExec665115447] Error 1 gmake[1]: Leaving directory `/home1/03023/rajeswar/mine/dolfin-1.4.0/build/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec665115447/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:9 (project) -- Configuring incomplete, errors occurr *with regards..* *M. Sai Rajeswar* *M-tech Computer Technology* *IIT Delhi----------------------------------Cogito Ergo Sum---------* On Tue, Jul 1, 2014 at 7:05 PM, Johannes Ring <[email protected]> wrote: > It looks like you are linking to Intel compiled libraries but are missing > a library: > > /opt/apps/cmake/2.8.9/bin/cmake -E cmake_link_script > CMakeFiles/cmTryCompileExec1785079256.dir/link.txt --verbose=1 > /usr/bin/c++ -std=c++0x -DUMFPACK_TEST_RUNS -fopenmp > CMakeFiles/cmTryCompileExec1785079256.dir/src.cxx.o -o > cmTryCompileExec1785079256 -rdynamic > -L/opt/apps/intel/13/composer_xe_2013_sp1.1.106/mkl/lib/intel64 > /home1/03023/rajeswar/lib/libumfpack.a /home1/03023/rajeswar/lib/libamd.a > -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core > /home1/03023/rajeswar/lib/libsuitesparseconfig.a > /home1/03023/rajeswar/lib/libsuitesparseconfig.a -lgfortran > -Wl,-rpath,/opt/apps/intel/13/composer_xe_2013_sp1.1.106/mkl/lib/intel64 > /home1/03023/rajeswar/lib/libumfpack.a(umf_di_kernel_init.o): In function > `packsp': > ../Source/umf_kernel_init.c:(.text+0xf8): undefined reference to > `__intel_ssse3_rep_memcpy' > ../Source/umf_kernel_init.c:(.text+0x132): undefined reference to > `__intel_ssse3_rep_memcpy' > ... > > The symbol __intel_ssse3_rep_memcpy is provided by libirc.so. Try adding > it to LDFLAGS: > > export > LDFLAGS="-L/opt/apps/intel/13/composer_xe_2013_sp1.1.106/mkl/lib/intel64 > -lirc" > > Then run cmake again. > > Johannes > > > > On Tue, Jul 1, 2014 at 12:12 PM, Sai Rajeshwar <[email protected]> wrote: > >> i made findpath(UMFPACK REQUIRED) in CMakeLists.txt to get following log >> file >> CMakeError.log >> <https://docs.google.com/file/d/0B02fGs-cS7CedE85Wm1qdXhTU0U/edit?usp=drive_web> >> >> >> with findpath(UMFPACK QUIET) the following is the log file >> >> >> CMakeError2.log >> <https://docs.google.com/file/d/0B02fGs-cS7CeUmkxNGpSQTY3MEU/edit?usp=drive_web> >> >> >> thought i will send you both >> >> *with regards..* >> >> *M. Sai Rajeswar* >> *M-tech Computer Technology* >> >> >> *IIT Delhi----------------------------------Cogito Ergo Sum--------- * >> >> >> On Tue, Jul 1, 2014 at 3:24 PM, Johannes Ring <[email protected]> wrote: >> >>> On Tue, Jul 1, 2014 at 11:40 AM, Sai Rajeshwar <[email protected]> >>> wrote: >>> >>>> 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 >>>> >>> >>> Please attach CMakeFiles/CMakeError.log from the DOLFIN build directory. >>> >>> Johannes >>> >> >> >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
