#2158: Without MPI installed, Cactus doesn't build -------------------------------+--------------------------------- Reporter: Steven R. Brandt | Owner: (none) Type: defect | Status: review Priority: unset | Milestone: Component: Other | Version: development version Resolution: | Keywords: -------------------------------+--------------------------------- Changes (by Steven R. Brandt):
* status: new => review
Comment:
It turns out the problem is fairly simple. The configuration of HWLOC was broken. This fixes it: {{{ =================================================================== --- arrangements/ExternalLibraries/MPI/src/build.pl (revision 87) +++ arrangements/ExternalLibraries/MPI/src/build.pl (working copy) @@ -62,7 +62,7 @@ print "MPI: Configuring...\n"; chdir(${NAME}); my $hwloc_opts = ''; -if ($ENV{HWLOC_DIR} ne '') { +if ($ENV{HWLOC_DIR} ne '' and $ENV{HWLOC_DIR} ne 'NO_BUILD') { $hwloc_opts = "--with-hwloc='$ENV{HWLOC_DIR}'"; } # Cannot have a memory manager with a static library on some systems }}}