{"action":"created","issue":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/252","repository_url":"https://api.github.com/repos/trilinos/Trilinos","labels_url":"https://api.github.com/repos/trilinos/Trilinos/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/trilinos/Trilinos/issues/252/comments","events_url":"https://api.github.com/repos/trilinos/Trilinos/issues/252/events","html_url":"https://github.com/trilinos/Trilinos/issues/252","id":144781320,"number":252,"title":"Zoltan2 serial build error","user":{"login":"jwillenbring","id":4325382,"avatar_url":"https://avatars.githubusercontent.com/u/4325382?v=3","gravatar_id":"","url":"https://api.github.com/users/jwillenbring","html_url":"https://github.com/jwillenbring","followers_url":"https://api.github.com/users/jwillenbring/followers","following_url":"https://api.github.com/users/jwillenbring/following{/other_user}","gists_url":"https://api.github.com/users/jwillenbring/gists{/gist_id}","starred_url":"https://api.github.com/users/jwillenbring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwillenbring/subscriptions","organizations_url":"https://api.github.com/users/jwillenbring/orgs","repos_url":"https://api.github.com/users/jwillenbring/repos","events_url":"https://api.github.com/users/jwillenbring/events{/privacy}","received_events_url":"https://api.github.com/users/jwillenbring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trilinos/Trilinos/labels/Zoltan2","name":"Zoltan2","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"mndevec","id":15694785,"avatar_url":"https://avatars.githubusercontent.com/u/15694785?v=3","gravatar_id":"","url":"https://api.github.com/users/mndevec","html_url":"https://github.com/mndevec","followers_url":"https://api.github.com/users/mndevec/followers","following_url":"https://api.github.com/users/mndevec/following{/other_user}","gists_url":"https://api.github.com/users/mndevec/gists{/gist_id}","starred_url":"https://api.github.com/users/mndevec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mndevec/subscriptions","organizations_url":"https://api.github.com/users/mndevec/orgs","repos_url":"https://api.github.com/users/mndevec/repos","events_url":"https://api.github.com/users/mndevec/events{/privacy}","received_events_url":"https://api.github.com/users/mndevec/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-31T03:45:38Z","updated_at":"2016-04-18T16:18:06Z","closed_at":"2016-04-18T16:00:36Z","body":"@trilinos/zoltan2 \r\n\r\nI tried to build Zoltan2 using the following cmake arguments:\r\n\r\ncmake \\\r\n-DTrilinos_ENABLE_TESTS:BOOL=ON \\\r\n-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \\\r\n-DTrilinos_ENABLE_Zoltan2=ON \\\r\n../Trilinos\r\n\r\nI got the following error:\r\n\r\n[ 92%] Building CXX object packages/zoltan2/test/unit/CMakeFiles/Zoltan2_Mapping.dir/problems/Mapping.cpp.o\r\nIn file included from /scratch1/jmwille/TrilinosTest/Trilinos/packages/zoltan2/src/problems/Zoltan2_MappingProblem.hpp:60:0,\r\n                 from /scratch1/jmwille/TrilinosTest/Trilinos/packages/zoltan2/test/unit/problems/Mapping.cpp:55:\r\n/scratch1/jmwille/TrilinosTest/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_TaskMapping.hpp: In function ‘void Zoltan2::getCoarsenedPartGraph(const Zoltan2::Environment*, const Teuchos::Comm<int>*, const Zoltan2::GraphModel<typename Adapter::base_adapter_t>*, part_t, const part_t*, Teuchos::ArrayRCP<T>&, Teuchos::ArrayRCP<T>&, Teuchos::ArrayRCP<Packet>&)’:\r\n/scratch1/jmwille/TrilinosTest/Trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_TaskMapping.hpp:298:24: error: ‘getRawMpiComm’ is not a member of ‘Teuchos’\r\nmake[2]: *** [packages/zoltan2/test/unit/CMakeFiles/Zoltan2_Mapping.dir/problems/Mapping.cpp.o] Error 1\r\nmake[1]: *** [packages/zoltan2/test/unit/CMakeFiles/Zoltan2_Mapping.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\nIt looks like Zoltan2 is making a call to Teuchos that requires MPI to be enabled, but this is a serial build. I produced this error on a RHEL6 machine, using GCC 4.7.2, and specifically the SEMS NFS module:\r\n\r\nmodule load gcc/4.7.2/base"},"comment":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/comments/211452287","html_url":"https://github.com/trilinos/Trilinos/issues/252#issuecomment-211452287","issue_url":"https://api.github.com/repos/trilinos/Trilinos/issues/252","id":211452287,"user":{"login":"jwillenbring","id":4325382,"avatar_url":"https://avatars.githubusercontent.com/u/4325382?v=3","gravatar_id":"","url":"https://api.github.com/users/jwillenbring","html_url":"https://github.com/jwillenbring","followers_url":"https://api.github.com/users/jwillenbring/followers","following_url":"https://api.github.com/users/jwillenbring/following{/other_user}","gists_url":"https://api.github.com/users/jwillenbring/gists{/gist_id}","starred_url":"https://api.github.com/users/jwillenbring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwillenbring/subscriptions","organizations_url":"https://api.github.com/users/jwillenbring/orgs","repos_url":"https://api.github.com/users/jwillenbring/repos","events_url":"https://api.github.com/users/jwillenbring/events{/privacy}","received_events_url":"https://api.github.com/users/jwillenbring/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T16:18:06Z","updated_at":"2016-04-18T16:18:06Z","body":"Sorry I forgot to report back. Your change did fix the issue."}}