{"action":"created","issue":{"url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/issues/126","repository_url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit","labels_url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/issues/126/comments","events_url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/issues/126/events","html_url":"https://github.com/ORNL-CEES/DataTransferKit/issues/126","id":186838039,"number":126,"title":"STK adapter does not automatically pull DTK_C_API","user":{"login":"aprokop","id":7297887,"avatar_url":"https://avatars.githubusercontent.com/u/7297887?v=3","gravatar_id":"","url":"https://api.github.com/users/aprokop","html_url":"https://github.com/aprokop","followers_url":"https://api.github.com/users/aprokop/followers","following_url":"https://api.github.com/users/aprokop/following{/other_user}","gists_url":"https://api.github.com/users/aprokop/gists{/gist_id}","starred_url":"https://api.github.com/users/aprokop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprokop/subscriptions","organizations_url":"https://api.github.com/users/aprokop/orgs","repos_url":"https://api.github.com/users/aprokop/repos","events_url":"https://api.github.com/users/aprokop/events{/privacy}","received_events_url":"https://api.github.com/users/aprokop/received_events","type":"User","site_admin":false},"labels":[{"id":138147773,"url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/labels/bug","name":"bug","color":"fc2929","default":true},{"id":138222819,"url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/labels/Testing","name":"Testing","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-11-02T15:43:01Z","updated_at":"2016-11-12T20:05:59Z","closed_at":null,"body":"The build fails with the following config:\r\n```bash\r\nARGS=(\r\n    -D CMAKE_BUILD_TYPE=RELEASE\r\n\r\n    -D CMAKE_INSTALL_PREFIX=$HOME/local/opt/trilinos-dtk/\r\n\r\n    -D BUILD_SHARED_LIBS=\"$SHARED\"\r\n\r\n    ### COMPILERS AND FLAGS ###\r\n    -D Trilinos_ENABLE_Fortran=OFF\r\n    -D CMAKE_CXX_FLAGS=\"-g -Wall -Wextra -Wno-unused-parameter $CXX_FLAGS_COMPILER_SPECIFIC $SYSTEM_HEADERS\"\r\n    -D Trilinos_ENABLE_SHADOW_WARNINGS=ON\r\n\r\n    ### TPLS ###\r\n    -D TPL_ENABLE_MPI=ON\r\n    -D TPL_ENABLE_BLAS=ON\r\n    -D TPL_ENABLE_LAPACK=ON\r\n\r\n    -D TPL_ENABLE_Boost=OFF\r\n    -D TPL_ENABLE_BoostLib=ON\r\n    -D TPL_ENABLE_Libmesh=OFF\r\n    -D TPL_ENABLE_MOAB=OFF\r\n\r\n    ### ETI ###\r\n    -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION=ON\r\n\r\n    ### PACKAGES CONFIGURATION ###\r\n    -D Trilinos_ENABLE_ALL_PACKAGES=OFF\r\n    -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF\r\n    -D Trilinos_ASSERT_MISSING_PACKAGES=OFF\r\n\r\n    -D Trilinos_ENABLE_TESTS=OFF\r\n    -D Trilinos_ENABLE_EXAMPLES=OFF\r\n\r\n    -D Trilinos_EXTRA_REPOSITORIES=\"DataTransferKit\"\r\n\r\n    -D Trilinos_ENABLE_Tpetra=ON\r\n        -D Tpetra_INST_INT_UNSIGNED_LONG=ON\r\n        -D Tpetra_INST_INT_LONG_LONG=OFF\r\n    -D Trilinos_ENABLE_DataTransferKit=ON\r\n        -D DataTransferKit_ENABLE_YouCompleteMe=ON\r\n        -D DataTransferKit_ENABLE_ClangFormat=ON\r\n        -D DataTransferKit_ENABLE_DBC=ON\r\n        -D DataTransferKit_ENABLE_TESTS=ON\r\n        -D DataTransferKit_ENABLE_EXAMPLES=ON\r\n    -D Trilinos_ENABLE_DataTransferKitSTKMeshAdapters=ON\r\n    -D Trilinos_ENABLE_STK=ON\r\n        -D Trilinos_ENABLE_STKTopology=ON\r\n\r\n    ### MISC ###\r\n    -D CMAKE_EXPORT_COMPILE_COMMANDS=ON\r\n    -D Trilinos_ENABLE_INSTALL_CMAKE_CONFIG_FILES=OFF\r\n    -D Trilinos_DEPS_XML_OUTPUT_FILE=\"\"\r\n\r\n    )\r\n\r\ncmake -GNinja \"${ARGS[@]}\" $EXTRA_ARGS ../../\r\n```\r\nThe failure is like this:\r\n```\r\n../../DataTransferKit/packages/Adapters/STKMesh/example/mesh_deformation.cpp:50:23: fatal error: DTK_C_API.h: No such file or directory\r\n #include \"DTK_C_API.h\"\r\n```\r\nThe problem is that DTK_C_API adapter is not being built despite being specified in the STK adapter's cmake dependencies list. This may be related to #109, but it passes the configure just fine, it fails during the build.\r\n\r\nSwitching `ASSERT_MISSING_PACKAGES=ON` does not help."},"comment":{"url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/issues/comments/260144839","html_url":"https://github.com/ORNL-CEES/DataTransferKit/issues/126#issuecomment-260144839","issue_url":"https://api.github.com/repos/ORNL-CEES/DataTransferKit/issues/126","id":260144839,"user":{"login":"aprokop","id":7297887,"avatar_url":"https://avatars.githubusercontent.com/u/7297887?v=3","gravatar_id":"","url":"https://api.github.com/users/aprokop","html_url":"https://github.com/aprokop","followers_url":"https://api.github.com/users/aprokop/followers","following_url":"https://api.github.com/users/aprokop/following{/other_user}","gists_url":"https://api.github.com/users/aprokop/gists{/gist_id}","starred_url":"https://api.github.com/users/aprokop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprokop/subscriptions","organizations_url":"https://api.github.com/users/aprokop/orgs","repos_url":"https://api.github.com/users/aprokop/repos","events_url":"https://api.github.com/users/aprokop/events{/privacy}","received_events_url":"https://api.github.com/users/aprokop/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T20:05:59Z","updated_at":"2016-11-12T20:05:59Z","body":"@bartlettroscoe It can be tried with HEAD both Trilinos and DTK. But if you need the exact SHA1 I'm using they are DTK: 21bf6bf and Trilinos: 674cff2.\r\n\r\nThe configure script is in the beginning of the issue. That configure script does not fail at the configure stage but fails during compilation as it does not properly switch the subpackage on. If you add `-D DataTransferKitSTKMeshAdapters_EXAMPLEs=ON` the configuration will fail. "}}
{"actor":{"display_login":"aprokop"}}