Thank you Dr. Peterson Your solution worked. The main error was that I had set in my bashrc $LIBMESH_DIR as an older installation.
This caused problem and prevented the example from using the new installation. I am able to run the the DTK example. I also built the files in a separate directory. However, I am still getting the error for the fem example. I will read about the debug mode stack trace and do it to catch the bug Thank you Regards Vegnesh ________________________________ From: John Peterson [[email protected]] Sent: Thursday, June 16, 2016 9:36 AM To: Jayaraman, Vegnesh Cc: [email protected] Subject: Re: [Libmesh-users] Installation Issues On Wed, Jun 15, 2016 at 8:00 PM, Jayaraman, Vegnesh <[email protected]<mailto:[email protected]>> wrote: Hi I installed libmesh with the following configure options ./configure --prefix=/nobackup/vjayara1/codes/dtkmesh --enable-tecplot --enable-trilinos --enable-dtk --with-trilinos=/nobackup/vjayara1/codes/trilinos_install --with-dtk=/nobackup/vjayara1/codes/trilinos_install --enable-default-comm-world --with-cxx=`which mpicxx` --with-cc=`which mpicc` --with-fc=`which mpif90` --with-tbb=/nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/tbb --with-tbb-lib=/nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/tbb/lib/intel64/gcc4.4 The installation proceeded without any error. Is this *exactly* what you typed? The normal procedure is to build in a separate directory to avoid cluttering the source tree and prevent object files from different builds from getting mixed up together: mkdir build cd build ../configure --your-configure-options... See also the README.md file here: https://github.com/libMesh/libmesh<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_libMesh_libmesh&d=CwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=zPe16F3t4ATZWQ6J7DYOyIpTy5qL-TyGcPdDk2TVxhE&m=H7oQ8mihE-7foQO0L3vHiyYjK-BUsDwUvu1lc-iQaHg&s=Hp2Odqg502ASYcP7gS_5be5765OCsDEHlzFMGEHfm2Q&e=> However, when I tried to run mesh_transfer example/simple_DTK example. I am getting the message Configuring libMesh with "--enable-trilinos" is required to run this example. I have installed trilinos with DTK and when I configure libmesh, towards the end, it does tell Trilinos ---- yes DTK ------ yes I am not sure what is the issue preventing me from running this example. It sounds like there is something wrong with your build, as there is an inconsistency between what you say configure reported and what ended up in the libmesh_config.h file. What is the output of grep TRILINOS build/include/libmesh_config.h In addition, when I run make check , I get the following error. Assembling the System [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger [0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html-23valgrind&d=CwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=zPe16F3t4ATZWQ6J7DYOyIpTy5qL-TyGcPdDk2TVxhE&m=H7oQ8mihE-7foQO0L3vHiyYjK-BUsDwUvu1lc-iQaHg&s=-Lh8MC51qG9TfhuhX0Ly2HcQDufKOK98JgIshK8O4yU&e=> [0]PETSC ERROR: or try http://valgrind.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__valgrind.org&d=CwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=zPe16F3t4ATZWQ6J7DYOyIpTy5qL-TyGcPdDk2TVxhE&m=H7oQ8mihE-7foQO0L3vHiyYjK-BUsDwUvu1lc-iQaHg&s=nK-hJP5gY7U0q_Fa6e4ixPb8MEQhfvZL6nnmd8FM3c0&e=> on GNU/linux and Apple Mac OS X to find memory corruption errors [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run [0]PETSC ERROR: to get more information on the crash. [0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- [0]PETSC ERROR: Signal received [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mcs.anl.gov_petsc_documentation_faq.html&d=CwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=zPe16F3t4ATZWQ6J7DYOyIpTy5qL-TyGcPdDk2TVxhE&m=H7oQ8mihE-7foQO0L3vHiyYjK-BUsDwUvu1lc-iQaHg&s=IDODLq2I96lNtJlV1tFZQX_BQWrwUWLkLRgF3PuknKc&e=> for trouble shooting. [0]PETSC ERROR: Petsc Release Version 3.7.2, unknown [0]PETSC ERROR: /nobackupp2/vjayara1/codes/libmesh/examples/fem_system/fem_system_ex1/.libs/example-opt on a icc_2015.0.090openmp_1.6.5 named pfe22 by vjayara1 Wed Jun 15 18:35:52 2016 [0]PETSC ERROR: Configure options --with-cxx=/nasa/openmpi/1.6.5/intel/bin/mpicxx --with-cc=/nasa/openmpi/1.6.5/intel/bin/mpicc --with-fc=/nasa/openmpi/1.6.5/intel/bin/mpif90 --with-shared-libraries --with-debugging=0 --with-blas-lapack-lib="-L/nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/mkl/lib/intel64 -Wl,-rpath,/nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" --download-hypre=yes --with-openmp=1 [0]PETSC ERROR: #1 User provided function() line 0 in unknown file -------------------------------------------------------------------------- This error is from fem_system_ex1, but there's no way to know what caused it without a debug mode stack trace. It could also indicate more problems with the build. -- John ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
