1. 26 May, 2011 8 commits
  2. 24 May, 2011 10 commits
  3. 23 May, 2011 11 commits
    • Andy Wilson's avatar
      Merge topic 'replace_static_initialized_ivar' · b6190ff1
      Andy Wilson authored and Kitware Robot's avatar Kitware Robot committed
      e0c61277 Replace the vtkMPIController::Initialized static variable
      b6190ff1
    • Andy Wilson's avatar
      Replace the vtkMPIController::Initialized static variable · e0c61277
      Andy Wilson authored
      Wow, am I ever embarrassed.  I've been compiling and testing all the
      changes I've made today to vtkMPIController using a build tree
      that had VTK_USE_PARALLEL on but VTK_USE_MPI off.  So... yeah.  None
      of this code was actually being compiled.  No wonder I didn't see the
      errors.
      
      Anyway.
      
      There are two different stages in initializing MPI for use in a VTK
      application.  The first involves a call to MPI_Init().  Bad things
      are known to happen if you call that twice.  I'm guarding it by checking
      MPI_Initialized(), wrapped in the static method
      vtkMPIController::IsMPIInitialized().  The second stage is to set up
      all of the global vtkMPICommunicator variables.  *That* is guarded
      by the static variable vtkMPIController::Initialized.  That's
      what I've restored in this latest batch of fixes.
      
      An analogous process goes on at tear-down time using IsMPIFinalized()
      and checks to vtkMPIController::Initialized again.
      
      It compiles.  It passes Ctest.  I can only hope that this really does
      fix the problem.
      e0c61277
    • Andy Wilson's avatar
      Merge topic 'guard_multiple_mpi_inits' · 450432e5
      Andy Wilson authored and Kitware Robot's avatar Kitware Robot committed
      beb7aea0 Restore old API; also guard multiple MPI_Finalize calls
      450432e5
    • Andy Wilson's avatar
      Restore old API; also guard multiple MPI_Finalize calls · beb7aea0
      Andy Wilson authored
      It turns out that a few people actually used the three-argument
      Initialize() signature.  I restored it and marked it VTK_LEGACY
      to try to nudge them toward the newer, saner version.
      
      At the same time, I modified Finalize() to call MPI_Finalized()
      instead of trying to keep track of whether VTK had already been
      there.  I left the old API in place, wrapped again in VTK_LEGACY
      for the time being.
      beb7aea0
    • Marcus D. Hanwell's avatar
      Merge topic 'chartxy-tooltip-api' · 9eff4863
      Marcus D. Hanwell authored and Kitware Robot's avatar Kitware Robot committed
      e1c416c0 ENH: Change seriesIndex to vtkIdType.
      9eff4863
    • Marcus D. Hanwell's avatar
      ENH: Change seriesIndex to vtkIdType. · e1c416c0
      Marcus D. Hanwell authored
      This now matches the (recently changed) return type for locating the
      point in the plot.
      
      Change-Id: I0d80a37379e6ded62436b051016f5e56f359c6b4
      e1c416c0
    • Jeff Baumes's avatar
      Merge topic 'remove-unused-files' · f708168b
      Jeff Baumes authored and Kitware Robot's avatar Kitware Robot committed
      dc0e2c22 Removing unused source files
      f708168b
    • Jeff Baumes's avatar
      Removing unused source files · dc0e2c22
      Jeff Baumes authored
      The class has been moved to Common.
      
      Change-Id: I39336aac49535792d05f2633dedfb4c2f4bfe4a4
      dc0e2c22
    • Andy Wilson's avatar
      Merge topic 'guard_multiple_mpi_inits' · cd70ebda
      Andy Wilson authored and Kitware Robot's avatar Kitware Robot committed
      9c849584 Ask MPI whether it's been initialized rather than trying to track it ourselves
      cd70ebda
    • Andy Wilson's avatar
      Ask MPI whether it's been initialized rather than trying to track it ourselves · 9c849584
      Andy Wilson authored
      Calling MPI_Init multiple times in an application is an error.  This comes up
      a lot when trying to run Python scripts that use VTK MPI components.  A while
      back I wrote code to try to trap this by tracking (within VTK) whether we had
      already initialized MPI.  This turns out to be brittle.  I'm backing that code
      out and replacing it with a call to MPI_Initialized() -- we'll just ask MPI
      itself whether it's up and running.
      9c849584
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · b5ff19c9
      Kitware Robot authored
      b5ff19c9
  4. 22 May, 2011 1 commit
  5. 21 May, 2011 1 commit
  6. 20 May, 2011 9 commits