{"action":"opened","issue":{"url":"https://api.github.com/repos/jaredivey/dce-python-sdn/issues/2","repository_url":"https://api.github.com/repos/jaredivey/dce-python-sdn","labels_url":"https://api.github.com/repos/jaredivey/dce-python-sdn/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jaredivey/dce-python-sdn/issues/2/comments","events_url":"https://api.github.com/repos/jaredivey/dce-python-sdn/issues/2/events","html_url":"https://github.com/jaredivey/dce-python-sdn/issues/2","id":175132986,"number":2,"title":"fatal error: mpi.h: No such file or directory","user":{"login":"dragonxtek","id":10552658,"avatar_url":"https://avatars.githubusercontent.com/u/10552658?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonxtek","html_url":"https://github.com/dragonxtek","followers_url":"https://api.github.com/users/dragonxtek/followers","following_url":"https://api.github.com/users/dragonxtek/following{/other_user}","gists_url":"https://api.github.com/users/dragonxtek/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonxtek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonxtek/subscriptions","organizations_url":"https://api.github.com/users/dragonxtek/orgs","repos_url":"https://api.github.com/users/dragonxtek/repos","events_url":"https://api.github.com/users/dragonxtek/events{/privacy}","received_events_url":"https://api.github.com/users/dragonxtek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-05T22:28:55Z","updated_at":"2016-09-05T22:28:55Z","closed_at":null,"body":"I'm trying to build ns-3-dce with mpi enabled.\r\nI installed: openmpi-bin openmpi-common openmpi-doc libopenmpi-dev mpi-default-bin mpi-default-dev libmpich-dev, but none has worked.\r\nWhen I configure ns-3-sdn, appears MPI enable (therefore ns-3-dce should recognize it)\r\nTo add mpi.h to the PATH I edited ns-3-dec/wscript adding the following sentence at line 110:\r\n\r\nconf.env.append_value('INCLUDES',['/usr/include/mpi'])\r\n\r\nAfter that, when I tryied to build again I get this error:\r\n\r\n/usr/bin/ld: myscripts/python/dce-python-sdn.cc.13.o: undefined reference to symbol '_ZN3MPI8Datatype4FreeEv'\r\n//usr/lib/libmpi_cxx.so.1: error adding symbols: DSO missing from command line\r\ncollect2: error: ld returned 1 exit status\r\n\r\nIf I build the project without mpi, I can run this example without problems:\r\n./waf --run \"dce-python-bench --benchmark=7\"\r\nreturning: pidigits_java\t241.1 2.36215 1000 2532 \r\n\r\nBy the way, when I try to run other example with sdn, as dce-python-sdn13, I get this error:\r\n\r\nassert failed. cond=\"exeFullPath.length () > 0\", msg=\"Executable 'python2-dce' not found !  Please check your DCE_PATH and DCE_ROOT environment variables.\", file=../model/dce-manager.cc, line=246\r\nterminate called without an active exception\r\n\r\nI don't know where is python2-dce or how compile it. The same occurs with dce-python-ping that returns \"Executable 'ping_gcc' not found !\" \r\n\r\nWhat I need to do, to build the project with mpi enabled? Which other examples run without mpi? How compile these apps?\r\n\r\nI'm using SDN Hub VM as you recommend."}}
{"actor":{"display_login":"dragonxtek"}}