{"action":"opened","issue":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/524","repository_url":"https://api.github.com/repos/trilinos/Trilinos","labels_url":"https://api.github.com/repos/trilinos/Trilinos/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/trilinos/Trilinos/issues/524/comments","events_url":"https://api.github.com/repos/trilinos/Trilinos/issues/524/events","html_url":"https://github.com/trilinos/Trilinos/issues/524","id":167459432,"number":524,"title":"Various problems in building trilinos","user":{"login":"leonavery","id":20425774,"avatar_url":"https://avatars.githubusercontent.com/u/20425774?v=3","gravatar_id":"","url":"https://api.github.com/users/leonavery","html_url":"https://github.com/leonavery","followers_url":"https://api.github.com/users/leonavery/followers","following_url":"https://api.github.com/users/leonavery/following{/other_user}","gists_url":"https://api.github.com/users/leonavery/gists{/gist_id}","starred_url":"https://api.github.com/users/leonavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonavery/subscriptions","organizations_url":"https://api.github.com/users/leonavery/orgs","repos_url":"https://api.github.com/users/leonavery/repos","events_url":"https://api.github.com/users/leonavery/events{/privacy}","received_events_url":"https://api.github.com/users/leonavery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-25T20:36:50Z","updated_at":"2016-07-25T20:36:50Z","closed_at":null,"body":"I'm trying to build Trilinos on an old centos 6 system, on which I have installed, I believe, all prerequisites. I've run into some unexpected behaviors that I don't understand. I configured and generated Makefiles with cmake-gui, then used \"make -k VERBOSE=1 all\" for the build, so I could see which exact commands failed. \r\n\r\nThe first occurred while building Mesquite. I got a mort of errors about undefined references to MPi functions. g++ was used in the build, and when I manually issued the command, replacing g++ with mpic++, it worked. I have MPI_USE_COMPILER_WRAPPERS=ON, and I even manually set the paths to the wrappers in MPI_{C,CXX,Fortran}_COMPILER. So why aren't the wrappers being used? (This one I was able to get around by setting Trilinos_EXTRA_LINK_FLAGS:STRING=\"-lmpi\".)\r\n\r\nThe second problem is with PyTrilinos, specifcally with the NOX-PETSc interface. During configuration, there are errors from SWIG about several header files not being found. These headers are present in the source distribution at trilinos-12.6.3-Source/packages/nox/src-petsc, but apparently swig is not told to look for headers there. The same problem occurs during compilation. Compilation of several c++ files fails, because they are unable to find the same headers that swig failed to find. g++ is passed a long list of -I flags for this compilation, but there is no -I<path>/trilinos-12.6.3-Source/packages/nox/src-petsc in the list. I don't know enough about cmake to figure out how it produces the list of include directories, but apparently this one is being left out for PyTrilinos. (I'm now trying to work around it with CMAKE_CXX_FLAGS.) \r\n\r\n"}}
{"actor":{"display_login":"leonavery"}}