Skip to content
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

Teuchos: Geminga Cuda builds failing #2589

Closed
csiefer2 opened this issue Apr 19, 2018 · 13 comments
Closed

Teuchos: Geminga Cuda builds failing #2589

csiefer2 opened this issue Apr 19, 2018 · 13 comments
Labels
pkg: Teuchos Issues primarily dealing with the Teuchos Package

Comments

@csiefer2
Copy link
Member

csiefer2 commented Apr 19, 2018

packages/teuchos/core/src/Teuchos_CommandLineProcessor.cpp(213): error: identifier "OPT_LONG_LONG_INT" is undefined

https://testing.sandia.gov/cdash/viewBuildError.php?buildid=3513020

Any ideas, Teuchos team?

@jhux2

@csiefer2 csiefer2 added the pkg: Teuchos Issues primarily dealing with the Teuchos Package label Apr 19, 2018
@mhoemmen
Copy link
Contributor

@csiefer2 Does that configure set Teuchos_ENABLE_LONG_LONG_INT:BOOL=OFF? If so, @ibaned and I might be able to help. Best practice is not to set that CMake option, but we still don't want builds to break if it's OFF.

@jhux2
Copy link
Member

jhux2 commented Apr 19, 2018

@trilinos/teuchos

@bartlettroscoe
Copy link
Member

@jhux2
Copy link
Member

jhux2 commented Apr 19, 2018

Does that configure set Teuchos_ENABLE_LONG_LONG_INT:BOOL=OFF? If so, @ibaned and I might be able to help. Best practice is not to set that CMake option, but we still don't want builds to break if it's OFF.

@mhoemmen Yes, Teuchos_ENABLE_LONG_LONG_INT:BOOL=OFF.

/projects/sems/install/rhel6-x86_64/sems/utility/cmake/3.5.2/bin/cmake
-DTrilinos_TRIBITS_DIR=/data/jhu/trilinos-test/trilinos/cmake/tribits
-DCTEST_USE_LAUNCHERS:BOOL=1
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON
-DTrilinos_WARNINGS_AS_ERRORS_FLAGS:STRING=
-DTrilinos_ALLOW_NO_PACKAGES:BOOL=ON
-DTrilinos_DISABLE_ENABLED_FORWARD_DEP_PACKAGES=ON
-DTrilinos_DEPS_XML_OUTPUT_FILE:FILEPATH=
-DTrilinos_ENABLE_SECONDARY_TESTED_CODE:BOOL=ON
-DTrilinos_EXTRAREPOS_FILE:STRING=/data/jhu/trilinos-test/trilinos/cmake/ExtraRepositoriesList.cmake
-DTrilinos_IGNORE_MISSING_EXTRA_REPOSITORIES:BOOL=ON
-DTrilinos_ENABLE_KNOWN_EXTERNAL_REPOS_TYPE:STRING=Experimental
-DTrilinos_ENABLE_TESTS:BOOL=
-DTrilinos_ENABLE_Kokkos:BOOL=
-DTrilinos_ENABLE_Gtest:BOOL=OFF
-DCMAKE_BUILD_TYPE:STRING=RELEASE
-DTrilinos_ENABLE_COMPLEX:BOOL=OFF
-DCMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON
-DBUILD_SHARED_LIBS:BOOL=ON
-DTrilinos_ENABLE_CXX11:BOOL=ON
-DTrilinos_CXX11_FLAGS:STRING='-std=c++11 -expt-extended-lambda'
-DCMAKE_CXX_FLAGS:STRING='-Wall -Wno-unknown-pragmas
-Wno-unused-but-set-variable -Wno-inline -Wshadow'
-DTrilinos_ENABLE_Fortran:BOOL=OFF
-DTPL_ENABLE_CUDA:BOOL=ON
-DTPL_ENABLE_CUSPARSE:BOOL=ON
-DTPL_ENABLE_HWLOC:BOOL=OFF
-DKokkos_ENABLE_Cuda:BOOL=ON
-DKokkos_ENABLE_Cuda_UVM:BOOL=ON
-DKokkos_ENABLE_Cuda_Lambda:BOOL=ON
-DTrilinos_ENABLE_Epetra:BOOL=OFF
-DTrilinos_ENABLE_ShyLU_Node:BOOL=OFF
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-DTPL_ENABLE_MPI:BOOL=ON
-DMPI_BASE_DIR:PATH=/projects/sems/install/rhel6-x86_64/kokkos/compiler/gcc/5.3.0/openmpi/1.8.7/cuda/8.0.44
-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON
-DTeuchos_ENABLE_LONG_LONG_INT:BOOL=OFF
-DTpetra_INST_INT_INT:BOOL=ON
-DTpetra_INST_INT_LONG:BOOL=ON
-DTpetra_INST_INT_LONG_LONG:BOOL=OFF
-DTpetra_INST_COMPLEX_DOUBLE:BOOL=OFF
-DTpetra_INST_COMPLEX_FLOAT:BOOL=OFF
-DTpetra_INST_SERIAL=ON
-DKOKKOS_ARCH=SNB Kepler35
-DTrilinos_ENABLE_DEPENDENCY_UNIT_TESTS:BOOL=OFF
-DTeuchos_GLOBALLY_REDUCE_UNITTEST_RESULTS:BOOL=ON
-DTPL_ENABLE_SuperLU:BOOL=ON
-DSuperLU_INCLUDE_DIRS:PATH=/projects/sems/install/rhel6-x86_64/sems/tpl/superlu/4.3/gcc/5.3.0/base/include
-DSuperLU_LIBRARY_DIRS:PATH=/projects/sems/install/rhel6-x86_64/sems/tpl/superlu/4.3/gcc/5.3.0/base/lib
-DTPL_ENABLE_AmgX=ON
-DAmgX_LIBRARY_DIRS=/usr/local/amgx/lib
-DAmgX_INCLUDE_DIRS=/usr/local/amgx/include
-DMueLu_ENABLE_Experimental:BOOL=ON
-DMueLu_ENABLE_Kokkos_Refactor:BOOL=ON
-DXpetra_ENABLE_Experimental:BOOL=ON
-DXpetra_ENABLE_Kokkos_Refactor:BOOL=ON
-DTrilinos_ENABLE_Teuchos:BOOL=ON
-GUnix Makefiles
/data/jhu/trilinos-test/OPENMPI-1.8.7_RELEASE_AMGX_CUDA-8.0.44/Trilinos

<\details>

@ibaned
Copy link
Contributor

ibaned commented Apr 19, 2018

Yep, this has to do with turning long long off. I put up a "fix" in #2591, but I recommend that you remove any instances of Teuchos_ENABLE_LONG_LONG_INT from your configuration. If you want to prevent Tpetra from instantiating things with long long, @mhoemmen can describe how to do that, but the only reason to disable it in Teuchos was to support C++98.

@csiefer2
Copy link
Member Author

Relevant PR aging gracefully in the bowels of the autotester. Will close tomorrow if I fixed things.

@ibaned
Copy link
Contributor

ibaned commented Apr 19, 2018

@csiefer2 are you not going to remove Teuchos_ENABLE_LONG_LONG_INT=OFF from the test configuration?

@jhux2
Copy link
Member

jhux2 commented Apr 19, 2018

He did, PR #2592.

@csiefer2
Copy link
Member Author

Like I said. Aging gracefully...

@ibaned
Copy link
Contributor

ibaned commented Apr 19, 2018

Oh, my bad, I misinterpreted your earlier comment. I hope the autotester approves it soon.

@mhoemmen
Copy link
Contributor

Tpetra_INST_INT_LONG_LONG:BOOL=OFF achieves the desired effect. Tpetra will enable GO=long as well as GO=int in that case.

@csiefer2
Copy link
Member Author

Merged (thanks to @jhux2 )

@ibaned
Copy link
Contributor

ibaned commented Apr 20, 2018

I'm assuming this can be closed as both ways to fix it are in. Please comment otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: Teuchos Issues primarily dealing with the Teuchos Package
Projects
None yet
Development

No branches or pull requests

5 participants