[ET Trac] [Einstein Toolkit] #2158: Without MPI installed, Cactus doesn't build

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu May 24 11:10:03 CDT 2018


#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
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2158#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list