Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST
Dear Eshan, Sometimes it is necessary to manually remove CMakeCache.txt before reconfiguring a project. Can you try to do this and see if you have any further success? Regards, J-P On Monday, August 1, 2016 at 2:42:25 PM UTC+2, Ehsan wrote: > > Dear Daniel, > I checked the "detailed.log" file and noticed that DEAL_II_WITH_MPI, > DEAL_II_WITH_P4EST and DEAL_II_WITH_TRILINOS all three are off. > my cmake is: > cmake > -DCMAKE_INSTALL_PREFIX=/home/General_for_All_Users/deal_II_install_dir > -DDEAL_II_WITH_64BIT_INDICES= ON > -DDEAL_II_WITH_MPI= ON > -DDEAL_II_WITH_P4EST= ON > -DDEAL_II_WITH_TRILINOS= ON > -DP4EST_DIR=/home/General_for_All_Users/P4EST_install_dir/ > -DTRILINOS_DIR=/home/General_for_All_Users/Trilinos_install_dir/trilinos_path/ > > > .. > > I also attached the detailed.log file. > When I put -DCMAKE_INSTALL_PREFIX before options related to MPI, P4EST > and TRILINOS, it is implemented. > So something is wrong with setting MPI, P4EST or TRILINOS but I do not > know what !!! > > best regards. > Ehsan > > > On Monday, August 1, 2016 at 2:32:22 PM UTC+2, Ehsan wrote: >> >> Dear Daniel, >> >> When I run cmake in terminal and the end I receive below warning: >> >> CMake Warning: >> Manually-specified variables were not used by the project: >> >> P4EST_DIR >> TRILINOS_DIR >> >> How should I solve this problem. >> Best regards. >> Ehsan >> >> On Monday, August 1, 2016 at 2:21:31 PM UTC+2, Ehsan wrote: >>> >>> Dear Daniel, >>> >>> In the "detailed.log" the "CMAKE_INSTALL_PREFIX:" is empty but I am sure >>> that I defined it in cmake: >>> I have a generat question. >>> is it possible to compile deal ii with enabled Trilinos, P4EST, and MPI >>> options? >>> >>> Best regards. >>> Ehsan >>> >>> >>> >>> On Wednesday, July 27, 2016 at 8:52:36 PM UTC+2, Daniel Arndt wrote: Ehsan, can you show us what your "detailed.log" in the build directory looks like? This file stores the configuration that is used for building deal.II. ` -DCMAKE_INSTALL_PREFIX= /home/General_for_All_Users/ deal_II_install_dir` should tell deal.II to copy the build library into that folder when you are invoking `$make install`. Best, Daniel >>> -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST
Dear Daniel, I checked the "detailed.log" file and noticed that DEAL_II_WITH_MPI, DEAL_II_WITH_P4EST and DEAL_II_WITH_TRILINOS all three are off. my cmake is: cmake -DCMAKE_INSTALL_PREFIX=/home/General_for_All_Users/deal_II_install_dir -DDEAL_II_WITH_64BIT_INDICES= ON -DDEAL_II_WITH_MPI= ON -DDEAL_II_WITH_P4EST= ON -DDEAL_II_WITH_TRILINOS= ON -DP4EST_DIR=/home/General_for_All_Users/P4EST_install_dir/ -DTRILINOS_DIR=/home/General_for_All_Users/Trilinos_install_dir/trilinos_path/ .. I also attached the detailed.log file. When I put -DCMAKE_INSTALL_PREFIX before options related to MPI, P4EST and TRILINOS, it is implemented. So something is wrong with setting MPI, P4EST or TRILINOS but I do not know what !!! best regards. Ehsan On Monday, August 1, 2016 at 2:32:22 PM UTC+2, Ehsan wrote: > > Dear Daniel, > > When I run cmake in terminal and the end I receive below warning: > > CMake Warning: > Manually-specified variables were not used by the project: > > P4EST_DIR > TRILINOS_DIR > > How should I solve this problem. > Best regards. > Ehsan > > On Monday, August 1, 2016 at 2:21:31 PM UTC+2, Ehsan wrote: >> >> Dear Daniel, >> >> In the "detailed.log" the "CMAKE_INSTALL_PREFIX:" is empty but I am sure >> that I defined it in cmake: >> I have a generat question. >> is it possible to compile deal ii with enabled Trilinos, P4EST, and MPI >> options? >> >> Best regards. >> Ehsan >> >> >> >> On Wednesday, July 27, 2016 at 8:52:36 PM UTC+2, Daniel Arndt wrote: >>> >>> Ehsan, >>> >>> can you show us what your "detailed.log" in the build directory looks >>> like? >>> This file stores the configuration that is used for building deal.II. >>> ` -DCMAKE_INSTALL_PREFIX= /home/General_for_All_Users/ >>> deal_II_install_dir` should tell deal.II to copy the build library into >>> that folder >>> when you are invoking `$make install`. >>> >>> Best, >>> Daniel >>> >> -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. ### # # deal.II configuration: #CMAKE_BUILD_TYPE: DebugRelease #BUILD_SHARED_LIBS: ON #CMAKE_INSTALL_PREFIX: /home/General_for_All_Users/deal_II_install_dir #CMAKE_SOURCE_DIR: /home/General_for_All_Users/deal_II/dealii-8.4.1 #(version 8.4.1) #CMAKE_BINARY_DIR: /home/General_for_All_Users/deal_II/dealii-8.4.1/build #CMAKE_CXX_COMPILER: GNU 4.8.4 on platform Linux x86_64 #/usr/bin/c++ #CMAKE_C_COMPILER: /usr/bin/cc #CMAKE_Fortran_COMPILER: /usr/bin/gfortran #CMAKE_GENERATOR:Unix Makefiles # # Base configuration (prior to feature configuration): #DEAL_II_CXX_FLAGS:-pedantic -fpic -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -Woverloaded-virtual -Wno-long-long -Wno-deprecated-declarations -Wno-literal-suffix -std=c++11 #DEAL_II_CXX_FLAGS_RELEASE:-O2 -funroll-loops -funroll-all-loops -fstrict-aliasing #DEAL_II_CXX_FLAGS_DEBUG: -Og -ggdb -Wa,--compress-debug-sections #DEAL_II_LINKER_FLAGS: -Wl,--as-needed -rdynamic -fuse-ld=gold #DEAL_II_LINKER_FLAGS_RELEASE: #DEAL_II_LINKER_FLAGS_DEBUG: -ggdb #DEAL_II_DEFINITIONS: #DEAL_II_DEFINITIONS_RELEASE: #DEAL_II_DEFINITIONS_DEBUG:DEBUG #DEAL_II_USER_DEFINITIONS: #DEAL_II_USER_DEFINITIONS_REL: #DEAL_II_USER_DEFINITIONS_DEB: DEBUG #DEAL_II_INCLUDE_DIRS #DEAL_II_USER_INCLUDE_DIRS: #DEAL_II_BUNDLED_INCLUDE_DIRS: #DEAL_II_LIBRARIES:m #DEAL_II_LIBRARIES_RELEASE: #DEAL_II_LIBRARIES_DEBUG: # # Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON): # ( DEAL_II_WITH_64BIT_INDICES = ) # ( DEAL_II_WITH_ARPACK = OFF ) #DEAL_II_WITH_BOOST set up with bundled packages #BOOST_CXX_FLAGS = -Wno-unused-local-typedefs #BOOST_BUNDLED_INCLUDE_DIRS = /home/General_for_All_Users/deal_II/dealii-8.4.1/bundled/boost-1.56.0/include #BOOST_LIBRARIES = rt # ( DEAL_II_WITH_BZIP2 = OFF ) #DEAL_II_WITH_CXX11 = ON # ( DEAL_II_WITH_CXX14 = OFF ) # ( DEAL_II_WITH_HDF5 = OFF ) #DEAL_II_WITH_LAPACK set up with external dependencies #LAPACK_LINKER_FLAGS = #LAPACK_LIBRARIES = /usr/lib/liblapack.so;/usr/lib/libf77blas.so;/usr/lib/libatlas.so;gfortran;quadmath;m;c # ( DEAL_II_WITH_METIS = OFF ) # ( DEAL_II_WITH_MPI = OFF
Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST
Dear Daniel, When I run cmake in terminal and the end I receive below warning: CMake Warning: Manually-specified variables were not used by the project: P4EST_DIR TRILINOS_DIR How should I solve this problem. Best regards. Ehsan On Monday, August 1, 2016 at 2:21:31 PM UTC+2, Ehsan wrote: > > Dear Daniel, > > In the "detailed.log" the "CMAKE_INSTALL_PREFIX:" is empty but I am sure > that I defined it in cmake: > I have a generat question. > is it possible to compile deal ii with enabled Trilinos, P4EST, and MPI > options? > > Best regards. > Ehsan > > > > On Wednesday, July 27, 2016 at 8:52:36 PM UTC+2, Daniel Arndt wrote: >> >> Ehsan, >> >> can you show us what your "detailed.log" in the build directory looks >> like? >> This file stores the configuration that is used for building deal.II. >> ` -DCMAKE_INSTALL_PREFIX= /home/General_for_All_Users/ >> deal_II_install_dir` should tell deal.II to copy the build library into >> that folder >> when you are invoking `$make install`. >> >> Best, >> Daniel >> > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST
Dear Daniel, In the "detailed.log" the "CMAKE_INSTALL_PREFIX:" is empty but I am sure that I defined it in cmake: I have a generat question. is it possible to compile deal ii with enabled Trilinos, P4EST, and MPI options? Best regards. Ehsan On Wednesday, July 27, 2016 at 8:52:36 PM UTC+2, Daniel Arndt wrote: > > Ehsan, > > can you show us what your "detailed.log" in the build directory looks like? > This file stores the configuration that is used for building deal.II. > ` -DCMAKE_INSTALL_PREFIX= /home/General_for_All_Users/deal_II_install_dir` > should tell deal.II to copy the build library into that folder > when you are invoking `$make install`. > > Best, > Daniel > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.