-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShyLu broken cmake config #7338
Comments
@jwillenbring Do you know a reason why ShyLConfig.cmake is present and ShyLU_NodeConfig.cmake won't be there ? @VictorEijkhout Can you give me your configure script ? |
On , 2020May10, at 03:30, Siva Rajamanickam <notifications@github.com<mailto:notifications@github.com>> wrote:
Can you give me your configure script ?
++ cmake -VV -D CMAKE_INSTALL_PREFIX:PATH=/home1/apps/intel19/impi19_0/trilinos/12.18.1 -D CMAKE_BUILD_TYPE:STRING=RELEASE -D BUILD_SHARED_LIBS:BOOL=ON -D Trilinos_VERBOSE_CONFIGURE=ON -D CMAKE_VERBOSE_MAKEFILE=ON -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF -D Trilinos_ASSERT_MISSING_PACKAGES=OFF -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF -D Trilinos_ENABLE_TESTS:BOOL=OFF -D Trilinos_ENABLE_EXAMPLES:BOOL=ON -D Trilinos_ENABLE_Export_Makefiles:BOOL=ON -D Trilinos_ENABLE_Fortran:BOOL=ON -D 'CMAKE_C_FLAGS:STRING=-g -xCORE-AVX2 -axMIC-AVX512,CORE-AVX512 -O2 -mkl' -D 'CMAKE_CXX_FLAGS:STRING=-g -xCORE-AVX2 -axMIC-AVX512,CORE-AVX512 -O2 -mkl -DMPICH_SKIP_MPICXX' -D Trilinos_EXTRA_LINK_FLAGS= -D TPL_ENABLE_MPI:BOOL=ON -D MPI_EXEC:FILEPATH=/opt/apps/xalt/0.6/bin/ibrun -D TPL_MPI_BASE_DIR=/opt/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/include/.. -D TPL_MPI_INCLUDE_DIRS=/opt/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/include -D TPL_ENABLE_GLM=OFF -D TPL_ENABLE_Matio=OFF -D BLAS_INCLUDE_DIRS:PATH=/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include -D BLAS_LIBRARY_DIRS:PATH=/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64 -D 'BLAS_LIBRARY_NAMES:STRING=mkl_intel_lp64;mkl_sequential;mkl_core;pthread' -D LAPACK_INCLUDE_DIRS:PATH=/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include -D LAPACK_LIBRARY_DIRS:PATH=/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64 -D 'LAPACK_LIBRARY_NAMES:STRING=mkl_intel_lp64;mkl_sequential;mkl_core;pthread' -D TPL_ENABLE_HDF5:BOOL=ON -D HDF5_INCLUDE_DIRS:PATH=/opt/apps/intel19/impi19_0/phdf5/1.10.4/x86_64/include -D HDF5_LIBRARY_DIRS:PATH=/opt/apps/intel19/impi19_0/phdf5/1.10.4/x86_64/lib -D TPL_ENABLE_Netcdf:BOOL=ON -D Netcdf_INCLUDE_DIRS:PATH=/opt/apps/intel19/impi19_0/parallel-netcdf/4.6.2/x86_64/include -D Netcdf_LIBRARY_DIRS:PATH=/opt/apps/intel19/impi19_0/parallel-netcdf/4.6.2/x86_64/lib -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON -D Tpetra_INST_INT_LONG_LONG:BOOL=ON -D Tpetra_INST_INT_INT:BOOL=ON -D Tpetra_INST_DOUBLE:BOOL=ON -D Tpetra_INST_FLOAT:BOOL=OFF -D Tpetra_INST_COMPLEX_FLOAT:BOOL=OFF -D Tpetra_INST_COMPLEX_DOUBLE:BOOL=OFF -D Tpetra_INST_INT_LONG:BOOL=OFF -D Tpetra_INST_INT_UNSIGNED:BOOL=OFF -D TPL_ENABLE_Boost:BOOL=ON -D Boost_INCLUDE_DIRS:PATH=/opt/apps/intel19/python3_7/boost/1.69/include -D Boost_LIBRARY_DIRS:PATH=/opt/apps/intel19/python3_7/boost/1.69/lib -D TPL_ENABLE_BoostLib:BOOL=ON -D BoostLib_INCLUDE_DIRS:PATH=/opt/apps/intel19/python3_7/boost/1.69/include -D BoostLib_LIBRARY_DIRS:PATH=/opt/apps/intel19/python3_7/boost/1.69/lib -D TPL_ENABLE_MUMPS:BOOL= -D MUMPS_INCLUDE_DIRS=/home1/apps/intel19/impi19_0/petsc/3.11/skylake/include -D MUMPS_LIBRARY_DIRS=/home1/apps/intel19/impi19_0/petsc/3.11/skylake/lib -D 'MUMPS_LIBRARY_NAMES:STRING=dmumps;mumps_common;pord;mkl_scalapack_lp64;mkl_intel_lp64;mkl_intel_thread;mkl_core;iomp5;mkl_blacs_intelmpi_lp64;pthread;ifcore' -D VLE_TPL_MUMPS_LIBRARIES:STRING=-L/home1/apps/intel19/impi19_0/petsc/3.11/skylake/lib -ldmumps -lmumps_common -lpord -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lmkl_blacs_intelmpi_lp64 -lpthread '-\lifcore' -D 'TPL_ParMETIS_LIBRARIES=/home1/apps/intel19/impi19_0/petsc/3.12/clx/lib/libptscotchparmetis.a;/home1/apps/intel19/impi19_0/petsc/3.12/clx/lib/libparmetis.so' -D TPL_ParMETIS_INCLUDE_DIRS=/home1/apps/intel19/impi19_0/petsc/3.12/clx/include -D Trilinos_ENABLE_Amesos:BOOL=ON -D Trilinos_ENABLE_Amesos2:BOOL=ON -D Amesos2_ENABLE_KLU2:BOOL=ON -D Amesos2_ENABLE_Basker:BOOL=ON -D Trilinos_ENABLE_Anasazi:BOOL=ON -D Trilinos_ENABLE_AztecOO:Bool=ON -D Trilinos_ENABLE_Belos:BOOL=ON -D Trilinos_ENABLE_Epetra:Bool=ON -D Trilinos_ENABLE_EpetraExt:Bool=ON -D Epetra_ENABLE_TESTS:BOOL=ON -D Trilinos_ENABLE_FEI:Bool=ON -D Trilinos_ENABLE_Ifpack:Bool=ON -D Trilinos_ENABLE_Ifpack2:BOOL=ON -D Trilinos_ENABLE_Intrepid:BOOL=ON -D Trilinos_ENABLE_Intrepid2:BOOL=ON -D Intrepid_ENABLE_TESTS:BOOL=ON -D Trilinos_ENABLE_Isorropia:BOOL=ON -D Trilinos_ENABLE_ML:BOOL=ON -D ML_TAKES_SUPERLU_LESS_THAN_5=TRUE -D ML_ENABLE_SuperLU:BOOL=OFF -D Trilinos_ENABLE_MOOCHO:BOOL=ON -D Trilinos_ENABLE_MueLu:BOOL=ON -D MueLu_ENABLE_Tutorial:BOOL=OFF -D MueLu_ENABLE_EXAMPLES:BOOL=OFF -D Trilinos_ENABLE_NOX=ON -D NOX_ENABLE_TESTS:BOOL=OFF -D Trilinos_ENABLE_Pamgen:Bool=ON -D Trilinos_ENABLE_Panzer:Bool=ON -D Trilinos_ENABLE_Phalanx:BOOL=ON -D Phalanx_EXPLICIT_TEMPLATE_INSTANTIATION=ON -D Phalanx_ENABLE_EXAMPLES=OFF -D Trilinos_ENABLE_Piro:BOOL=ON -D Trilinos_ENABLE_Rythmos:BOOL=ON -D Trilinos_ENABLE_Sacado:Bool=ON -D Trilinos_ENABLE_SEACAS:BOOL=ON -D Trilinos_ENABLE_SEACASIoss:BOOL=ON -D Trilinos_ENABLE_SEACASBlot:BOOL=ON -D Trilinos_ENABLE_SEACASExodus:BOOL=ON -D Trilinos_ENABLE_SECONDARY_STABLE_CODE:BOOL=ON -D Trilinos_ENABLE_Shards:BOOL=ON -D Trilinos_ENABLE_ShyLU:BOOL=ON -D Trilinos_ENABLE_Stokhos:BOOL=ON -D Trilinos_ENABLE_Stratimikos:BOOL=ON -D Trilinos_ENABLE_Teko:BOOL=ON -D Trilinos_ENABLE_Teuchos:BOOL=ON -D Teuchos_ENABLE_LONG_LONG_INT:BOOL=ON -D Trilinos_ENABLE_Thyra:BOOL=ON -D Trilinos_ENABLE_Tpetra:BOOL=ON -D Trilinos_ENABLE_TriKota:BOOL=ON -D Trilinos_ENABLE_Zoltan:BOOL=ON -D Trilinos_ENABLE_Zoltan2:BOOL=ON -D Trilinos_ENABLE_Kokkos:BOOL=ON -D Trilinos_ENABLE_KokkosCore:BOOL=ON -D Phalanx_KOKKOS_DEVICE_TYPE:STRING=SERIAL -D Phalanx_INDEX_SIZE_TYPE:STRING=INT -D Phalanx_SHOW_DEPRECATED_WARNINGS:BOOL=OFF -D Kokkos_ENABLE_Serial:BOOL=ON -D Kokkos_ENABLE_OpenMP:BOOL=OFF -D Kokkos_ENABLE_Pthread:BOOL=OFF -D Trilinos_ENABLE_STK:BOOL=ON -D Trilinos_ENABLE_STKIO:BOOL=ON -D Trilinos_ENABLE_STKMesh:BOOL=ON -D Trilinos_ENABLE_PyTrilinos:Bool=OFF -D CMAKE_PYTHON_INCLUDE_DIR:PATH=/opt/apps/intel19/python3/3.7.0/include -D CMAKE_PYTHON_LIBRARIES:STRING=/opt/apps/intel19/python3/3.7.0/lib -D PyTrilinos_DOCSTRINGS:BOOL=OFF -D PyTrilinos_ENABLE_Tpetra:BOOL=OFF -D SWIG_EXECUTABLE:FILEPATH=/home1/apps/intel19/swig/4.0.0/bin/swig -D Trilinos_EXTRA_LD_FLAGS= /admin/build/admin/rpms/frontera/BUILD//trilinos-12.18.1
|
@VictorEijkhout : The configure is not doing anything non-stanadard, let me see if @jwillenbring has any suggestions from the @trilinos/framework side. |
This could be related to how ShyLU is set up in terms of an unusual sub-package structure. |
@jwillenbring, not sure. It is possible this is related to the fact that the current ShyLU package is a pseduo package that has not native libraries or tests. (This may be a hole in the current TriBITS testing.) In the short term, try just directly including the standard TriBITS packages In the medium and long terms, all of this |
I did a naive test
This worked even if I asked for ShyLU as a component. Short of a more significant test I am stumped as to what issue @VictorEijkhout is seeing. |
On , 2020May12, at 09:56, Paul Wolfenbarger <notifications@github.com<mailto:notifications@github.com>> wrote:
Short of a more significant test
I think you guys should adopt “build dealii with trilinos support” in your regression suite. That has brought to light quite a few of this sort of breakages in your Cmake whatever.
Victor.
|
@jwillenbring : @VictorEijkhout has a good point in terms of testing (though I don't know what special thing Deal.ii is doing here). Can you add it to the leaders meeting agenda ? |
On , 2020May12, at 11:46, Siva Rajamanickam <notifications@github.com<mailto:notifications@github.com>> wrote:
(though I don't know what special thing Deal.ii is doing here).
I’ll be happy to furnish you with my dealii build script….
V.
|
@VictorEijkhout Yes, that would be useful. |
My dealii install seems relatively straightforward:
+ cmake -VV -DCMAKE_INSTALL_PREFIX=/home1/apps/intel19/impi19_0/dealii/9.1.1 -DDEAL_II_WITH_CXX11=ON -DDEAL_II_WITH_CXX17=OFF '-DDEAL_II_CXX_FLAGS_DEBUG=-g -march=native -I/opt/intel/compilers_and_libraries_2019.5.281/linux/tbb/include -O0' '-DDEAL_II_CXX_FLAGS_RELEASE=-g -march=native -I/opt/intel/compilers_and_libraries_2019.5.281/linux/tbb/include -O2' -DDEAL_II_COMPONENT_MESH_CONVERTER=ON -DDEAL_II_WITH_MPI=ON -D 'LAPACK_LIBRARIES=/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so\;/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64_lin/libmkl_core.so' -DBOOST_DIR=/opt/apps/intel19/python2_7/boost/1.69 -DDEAL_II_WITH_GSL=ON -DGSL_INCLUDE_DIR=/opt/apps/intel19/gsl/2.5/include -DGSL_LIBRARY_DIR=/opt/apps/intel19/gsl/2.5/lib '-DGSL_LIBRARY=/opt/apps/intel19/gsl/2.5/lib/libgsl.so;/opt/apps/intel19/gsl/2.5/lib/libgslcblas.so' -DHDF5_DIR=/opt/apps/intel19/impi19_0/phdf5/1.10.4/x86_64 -DDEAL_II_WITH_METIS=ON -DMETIS_DIR=/opt/apps/intel19/metis/5.1.0 -DMUMPS_DIR= -DDEAL_II_WITH_PETSC=ON -DPETSC_DIR=/home1/apps/intel19/impi19_0/petsc/3.11/ -DPETSC_ARCH=clx -DDEAL_II_WITH_SLEPC=ON -DSLEPC_DIR=/home1/apps/intel19/impi19_0/slepc/3.11 -DDEAL_II_WITH_P4EST=ON -DP4EST_DIR= -DDEAL_II_WITH_TRILINOS=ON -DTRILINOS_DIR=/home1/apps/intel19/impi19_0/trilinos/12.18.1/ /admin/build/admin/rpms/frontera/BUILD/dealii-9.1.1/dealii-9.1.1 /admin/build/admin/rpms/frontera/BUILD/dealii-9.1.1
|
@trilinos/framework : Can we add integration tests with deal.ii ? |
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. |
This issue was closed due to inactivity for 395 days. |
My attempt to install dealii floundered on the fact that you guys leave behind broken Cmake configuration files. No worry: I'm running a sed script after the trilinos install to fix the files you generate.
But in case you feel ike fixing the problem, here's documentation for this particular case:
%%%%%%%%%%%%%%%%%%%%%
The actual error message (and why configure fails) is here:
12442 -- Include /admin/build/admin/rpms/frontera/BUILD/dealii-9.1.1/cmake/configure/configure_2_trilinos.cmake
12443 CMake Error at /home1/apps/intel19/impi19_0/trilinos/12.18.1/lib/cmake/ShyLU/ShyLUConfig.cmake:156 (INCLUDE):
12444 INCLUDE could not find load file:
12445
12446 /home1/apps/intel19/impi19_0/trilinos/12.18.1/lib/cmake/ShyLU/../ShyLU_Node/ShyLU_NodeConfig.cmake
12447 Call Stack (most recent call first):
12448 /home1/apps/intel19/impi19_0/trilinos/12.18.1/lib/cmake/Trilinos/TrilinosConfig.cmake:130 (INCLUDE)
12449 cmake/macros/macro_find_package.cmake:27 (_FIND_PACKAGE)
12450 cmake/modules/FindTRILINOS.cmake:38 (FIND_PACKAGE)
12451 cmake/macros/macro_find_package.cmake:27 (_FIND_PACKAGE)
12452 cmake/configure/configure_2_trilinos.cmake:22 (FIND_PACKAGE)
12453 /tmp/dealii-build/CMakeFiles/CMakeTmp/evaluate_expression.tmp:1 (FEATURE_TRILINOS_FIND_EXTERNAL)
12454 cmake/macros/macro_evaluate_expression.cmake:30 (INCLUDE)
12455 cmake/macros/macro_configure_feature.cmake:237 (EVALUATE_EXPRESSION)
12456 cmake/configure/configure_2_trilinos.cmake:303 (CONFIGURE_FEATURE)
12457 cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
12458 CMakeLists.txt:124 (VERBOSE_INCLUDE)
This implies that the CMake configuration that gets installed by
Trilinos is broken.
The file
/home1/apps/intel19/impi19_0/trilinos/12.18.1/lib/cmake/ShyLU/ShyLUConfig.cmake
contains an include on line 156
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/../ShyLU_Node/ShyLU_NodeConfig.cmake")
pointing to a nonexistant file
/home1/apps/intel19/impi19_0/trilinos/12.18.1/lib/cmake/ShyLU/../ShyLU_Node/ShyLU_NodeConfig.cmake
%%%%%%%%%%%%%%%%%%%%%%%
The text was updated successfully, but these errors were encountered: