Bugzilla – Full Text Bug Listing |
Summary: | MPI enable configuration failed in Fedora | ||
---|---|---|---|
Product: | ns-3 | Reporter: | wxjeacen |
Component: | mpi | Assignee: | George Riley <riley> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | bswenson3, gjcarneiro, jpelkey, tomh, wxjeacen |
Priority: | P3 | Keywords: | bug |
Version: | ns-3.10 | ||
Hardware: | PC | ||
OS: | Linux |
Description
wxjeacen
2011-04-06 03:21:15 UTC
What does the command "mpic++ -showme:compile" give as output. What is its return code (echo $?) ? And what toolset you have, lam, openmpi, libmpich? Can you try others and see if any works? (In reply to comment #2) > And what toolset you have, lam, openmpi, libmpich? Can you try others and see > if any works? I have installed mpich2. And I removed mpich2, and tried openmpi, conf.env[] did not find the mpic++,even the mpic++ has been installed under folder "/usr/lib/openmpi/bin" I hard coded the path of mpi in wscript file of value conf.env['MPI'], and it worked, but, while running MPI related simulation, it reported libmpi_cxx.so can not found, even have add the library path to $LD_LIBRARY_PATH. That is the torment of it. Hi Dears, Could u please provide solution for me ... I just can not fix it.. With openmpi installed, try: MPI=/usr/lib/openmpi/bin/mpic++ ./waf configure --enable-mpi Could the reporter comment on this one again? Is this still an issue? I'm thinking about closing this one. Could the reporter comment on this one again? Is this still an issue? I'm thinking about closing this one. Could the reporter comment on this one again? Is this still an issue? I'm thinking about closing this one. (In reply to comment #5) > With openmpi installed, try: > > MPI=/usr/lib/openmpi/bin/mpic++ ./waf configure --enable-mpi I just tried this on a Fedora 17 buildslave, which has openmpi-devel installed (and mpic++ in /usr/lib/openmpi/bin/mpic++). First, MPI is not auto-detected: ./waf configure --enable-mpi ------------------------------------------------------------------------- Checking for 'mpic++' ['mpic++', '-showme'] not found from /home/buildslave/ns-3-allinone/ns-3-dev/src/mpi: The configuration failed ------------------------------------------------------------------------- Checking for 'mpic++' ['mpic++', '-compile-info', '-link-info'] not found from /home/buildslave/ns-3-allinone/ns-3-dev/src/mpi: The configuration failed ------------------------------------------------------------------------- Next, Gustavo's tip above: MPI=/usr/lib/openmpi/bin/mpic++ ./waf configure --enable-mpi fails the same way. Hello I installed Fedora 17 on a new virtual machine and grabbed a fresh copy of NS3. I then install openmpi. If I do this: export PATH=$PATH:/usr/lib64/openmpi/bin or MPI=/usr/lib64/openmpi/bin/mpic++ ./waf --enable-mpi configure I get this: MPI Support : enabled So is it a particular MPI script that isn't working or is it just a problem with installing MPI correctly? Updated MPI documentation to show how to set PATH and LD_LIBRARY_PATH for 32 and 64 bit linux distros |